Hi I have a patch that plays through a video frame by frame with a sensor. However I want to include some audio but only as the sensors values are changing and pausing when the values are static. Is it possible to pause and play through a sample as the sensors values are changing using [change] or would I have to find another means to do this?
-
Play sample from array using \[change\]?
-
If you're reading a sample from a table, I guess you could set a 0 frequency to [phasor~] that takes care of reading through the table values..
-
[inlet (sensor value)]
|
[t f f]
\ /
x
/ \
[- ]
|
[== 0]
|
[outlet]this will output a 1 if the sensor value changes, or a 0 if it is the same
-
This might help too ...
http://puredata.hurleur.com/sujet-6323-scrubber -
I tried implementing the solution using
[inlet (sensor value)]
|
[t f f]
\ /
x
/ \
[- ]
|
[== 0]
|
[outlet]But I can't seem to get it to work. Just to be sure I'm not making any mistakes would I attach this to the phasor object of the sample I'm trying to effect?
-
something like this:
.
.
|
|
[== 0]
|
|
| [(phasor speed)..... (
| /
[*~ ]
|
[phasor~]
|
[tabread4~]