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
Hi,
On Mon, Oct 25, 2010 at 09:57:12PM -0400, Pagano, Patrick wrote:
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
I'd use two or more sampleplayers and some kind of polyphony manager. The rj library has two abstractions that make this very easy: [u_makepoly] creates instances of abstractions passes as argument and accesses them through a [poly] object, while [u_robinpoly] creates the instances and accesses them in a round-robin-fashion. The advantage of the former is that you can turn instances off again by sending "note-off" messages, while [u_robinpoly] just starts abstractions. The latter is great to make drum-samplers.
Frank Barknecht Do You RjDj.me? _ ______footils.org__
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
2010/10/26 Pagano, Patrick pat@digitalworlds.ufl.edu
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 _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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
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
2010/10/26 Pagano, Patrick <pat@digitalworlds.ufl.edumailto:pat@digitalworlds.ufl.edu>
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 _______________________________________________ Pd-list@iem.atmailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
This is not what i thought you needed. I'm afraid my patch won't be ver helpful actually...
Pierre
2010/10/26 Pagano, Patrick pat@digitalworlds.ufl.edu
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
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
2010/10/26 Pagano, Patrick <pat@digitalworlds.ufl.edumailto: pat@digitalworlds.ufl.edu>
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 _______________________________________________ Pd-list@iem.atmailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi,
On Tue, Oct 26, 2010 at 03:27:08AM -0400, Pagano, Patrick wrote:
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
[player~] basically fixes your problem just with its polyphony, so the advice from my previous mail should help with your issue the same way.
Frank Barknecht Do You RjDj.me? _ ______footils.org__