[PD] Looping through an array a specific number of times

Patrice Colet colet.patrice at free.fr
Thu Oct 4 17:43:05 CEST 2012


> De: "Rick T" <ratulloch at gmail.com>
>
> I'm trying to loop a wav file a specific number of times after I load
> it into an array and play it using tabread4~.
> 

It depends on how you read the table, if you are using [line~] it's easy, you just have to count how many time it's triggered,
but for some reasons I don't know, the sound quality will be bad with long soundfiles...

If you are using [phasor~] you can count ramp reset,
here is a track to do this:

http://www.mail-archive.com/pd-list@iem.at/msg46735.html

> I was going to use moses and a spigot and I found the "loop" object
> but it doesn't have any help information it's just another
> sub-patch.
> Is their another object I should use to control the amount of loops a
> sound file plays?
> 
> Thanks
> Rick
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> 



More information about the Pd-list mailing list