This is not what i thought you needed. I'm afraid my patch won't be ver helpful actually...
Pierre
That is a very helpful patch Pierre, thanks.
I was running into annoying clicks as samples were started again from the dancers in the mocap [clicking a virtual drum pad several times]
I ended up using Eric Lyons' player~ object from potpurri and Mixer from ggee
I am going to try this one too to see which results are better
thanks!
pp
________________________________________
From: Pierre Massat [pimassat@gmail.com]
Sent: Tuesday, October 26, 2010 3:13 AM
To: Pagano, Patrick
Cc: pd-list@iem.at
Subject: Re: [PD] sample playback question
2010/10/26 Pagano, Patrick <pat@digitalworlds.ufl.edu<mailto:pat@digitalworlds.ufl.edu>>
hi,
I m not sure what you're trying to achieve...
If you need the same sample to overlap with itself i think you'll need two phasor~ objects to read from your table. You can "reset" a phasor~, that is force it to start from 0 again, by sending 0 to it's right inlet. So if you send 0 to both they will play your sample together, and if you send 0 to one phasor only the sample will overlap. The question is : how do you want them to overlap? Is there a precise timing?
Another way to make a sample overlap is to use a single phasor~ object reading the same table from two different channels. See example in attaches patch.
Pierre
Pd-list@iem.at<mailto:Pd-list@iem.at> mailing list
Hi
what is the proper way to play a sample so that if i play a table or an array with a sound in it and i trigger it to start again it will overlap or play both soundfiles at the same time?
I assume it has to do with the tabplay~ object buti would love a hint on how to achieve this properly
pp
_______________________________________________