[PD] counting how many times an audio file is looped

IOhannes m zmölnig zmoelnig at iem.at
Sat Oct 6 07:24:31 CEST 2012


On 10/05/2012 11:25 PM, Rick T wrote:
> 
> Is there another way I should be doing this
> 

count the bangs that [tabplay~] will output via it's 2nd inlet.

alternatively, trust Pd's timing.
if you tell [line~] to create a ramp from here to there in 1077ms, then
it will take exactly 1077ms, and you don't need to measure the value of
the ramp inbetween. (esp if you downsample the signal and thus loose
considerable time precision).

[1423(
|
[t f f]
|     +-------+
|             |
[0, 1 $1(     |
|             |
[line~]       [delay]
|             |
...           (will bang when line has reached '1')


but suggest to use [tabplay]s 2nd outlet.


fgmadsr
IOannes



More information about the Pd-list mailing list