[PD] stop sample playback when phasor~ reset?

hardoff goes bananas hard.off at gmail.com
Tue Sep 20 15:06:19 CEST 2011


check this thread:

http://puredata.hurleur.com/sujet-6194-sample-played-automated-varying-speed-detect-completion

On Tue, Sep 20, 2011 at 7:38 PM, James Dunn <james at 4thharmonic.com> wrote:

> Thanks for all the replies. What I'm trying to do is make an abstraction in
> which I can load a soundfile (mono, 44100) which are all between about 2-6
> mins in length. I have been using phasor~ because I want to play the files
> forwards and backwards and change slowly between the two. I also want to be
> able to pause and seek within the file using a slider. The main issue I'm
> having is catching the end of the phasor~ - either when it's going forwards
> or backwards. I've attached my patch.
>
> thanks
>
> James
>
> Quoth Lorenzo Sutton, on 20/09/2011 10:56:
>
>  Hi James,
>>
>> On 19/09/2011 20:33, James Dunn wrote:
>>
>>> 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.
>>>
>>
>> After all the debate... I think it would help if you gave a little
>> background on what you are trying to achieve and some further info :-) For
>> example: time magnitude of the samples' playback (seconds, 100-1000 ms, 0-20
>> ms?)... What's your foreseen CPU-resources budget?
>>
>> "The best way" much depends on what your final goal is. E.g. as someone
>> suggested might get away with [(v)line~], but that has its shortcomings,
>> same goes with the other suggestions.
>>
>> Lorenzo.
>>
>>
>>> thanks
>>>
>>> James
>>>
>>> ______________________________**_________________
>>> Pd-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/**listinfo/pd-list<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 <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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110920/a5fe64c5/attachment.htm>


More information about the Pd-list mailing list