[PD] stop sample playback when phasor~ reset?

Jonathan Wilkes jancsika at yahoo.com
Mon Sep 19 23:00:05 CEST 2011






>________________________________
>From: tim vets <timvets at gmail.com>
>To: Pierre Massat <pimassat at gmail.com>; James Dunn <james at 4thharmonic.com>; pd-list <pd-list at 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?

-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 at gmail.com>
>
>I generally use threshold~, though it's quite tricky too...
>>
>>Pierre
>>
>>
>>
>>2011/9/19 James Dunn <james at 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 at iem.at mailing list
>>>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>
>>
>>_______________________________________________
>>Pd-list at iem.at mailing list
>>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
>_______________________________________________
>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