2011/9/19 Jonathan Wilkes jancsika@yahoo.com
From: tim vets timvets@gmail.com To: Pierre Massat pimassat@gmail.com; James Dunn james@4thharmonic.com;
pd-list pd-list@iem.at
Sent: Monday, September 19, 2011 4:08 PM Subject: Re: [PD] stop sample playback when phasor~ reset?
When you use phasor~, you normally already know how long it will take for
the sound to be finished playing (because you set its frequency to play it back at the proper speed)
Store the information about the sound loaded (or recorded) and use that to
stop the playback after one play duration.
[del <time>] | [t b b] | | [0( [0( [ | [phasor]
What's the benefit of this over a line~ based approach?
It depends what you want to do, i guess, for doing granular synthesis and the like, I'd use phasor~ rather than line~. The benefit being that fast repetition is easier ( try [metro 0.5] ...). Tim
-Jonathan
You get <time> ms is from [soundfiler]--[/ 44.1], or the length of your
table times 44.1. (assuming your sound runs at 44.1 kHz)
Probably best to put a [hip~ 5] after that, in case the first sample of
your table is not 0.
Tim
2011/9/19 Pierre Massat pimassat@gmail.com
I generally use threshold~, though it's quite tricky too...
Pierre
2011/9/19 James Dunn james@4thharmonic.com
Hi list,
I'm controlling tabread4~ with a phasor~ but don't want my samples to
loop (most of the time). What's the best way to detect a phasor~'s reset? ( in both directions - I'm playing the samples forwards and backwards). I've looked at edge~ and samphold~ triggered by a bang~ but it seems quite tricky.
thanks
James
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->