Re: [PD] getting a messsage at end of [phasor~]
Hi everybody, first of all thanks for your kind responses. Patrick, your info was great, [phasorshot~]does precisely what I was looking for!!! People were asking what I actually want to do with that: At the moment I am building a jack of all trades device, thus my dream sampler that can do whatever I want it to do :-) Using this sampler I want the option between looped and non-looped soundfile playback, but I couldnĀ“t do that with [vline~] as I also want to be able to change pitch during the ramp. [phasorshot~] gives me precisely that option. Fantastic! Oh brave new world that has such people in it! If people are interested I can post the ready sampler later on. Will still take a couple of days to finish it. Marko have a look at [phasorshot~] (externals / tof - include in pd-extended with [import tof]). it does exactly what you want. from the help file: phasorshot~ is exactly like a phasor except that you can disabling it's looping, therefore making it a one shot lookup signal. Of course line~ does something similar, but with phasorshot~ you can change the speed DURING the ramp. pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] getting a messsage at end of [phasor~]
Hi, [phasor~] ramps continuosly from 0 to 1. I would like to get a [0 message each time [phasor~] reaches its end, thus each time [phasor~] reaches 1. Seems easy but I got somehow stuck. Would be very easy if I would have to deal only with ordinary numbers, but in this case I have an audio signal... Any ideas? Any help would be highly appreciated. Marko ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] getting a messsage at end of [phasor~]
Hi Marko, There's almost certainly no direct way to do this in Pd vanilla, although someone may have written an extern to do this. My approach would be to use a metro to generate the messages, and vline~ to generate the phasor from them. Of course this doesn't work if you have to sync to a phasor from somewhere else, only if you're generating it from scratch. cheers Miller On Fri, Dec 05, 2008 at 03:45:51PM +0100, Marko Timlin wrote: Hi, [phasor~] ramps continuosly from 0 to 1. I would like to get a [0 message each time [phasor~] reaches its end, thus each time [phasor~] reaches 1. Seems easy but I got somehow stuck. Would be very easy if I would have to deal only with ordinary numbers, but in this case I have an audio signal... Any ideas? Any help would be highly appreciated. Marko ___ 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
Re: [PD] getting a messsage at end of [phasor~]
Marko Timlin wrote: Hi, [phasor~] ramps continuosly from 0 to 1. I would like to get a [0 message each time [phasor~] reaches its end, thus each time [phasor~] reaches 1. Seems easy but I got somehow stuck. Would be very easy if I would have to deal only with ordinary numbers, but in this case I have an audio signal... Any ideas? If your message 0 is used only for controlling signals, you might be able to work entirely with signals only, using eg [samphold~]. Claude ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] getting a messsage at end of [phasor~]
yes, what exactly do you want to do with the [0 ( message? if you can stay in the signal domain it would be best. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] getting a messsage at end of [phasor~]
How about you compare the current value with the previous value? ex. [fexpr~ $x[0] $x[-1] ] The result is zero everywhere, except when the phasor~ resets itself. Then, you can use [threshold~ 0.5] to trigger a bang. Chuck On Fri, Dec 5, 2008 at 8:45 AM, Marko Timlin [EMAIL PROTECTED] wrote: Hi, [phasor~] ramps continuosly from 0 to 1. I would like to get a [0 message each time [phasor~] reaches its end, thus each time [phasor~] reaches 1. Seems easy but I got somehow stuck. Would be very easy if I would have to deal only with ordinary numbers, but in this case I have an audio signal... Any ideas? Any help would be highly appreciated. Marko ___ 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
Re: [PD] getting a messsage at end of [phasor~]
Or with [rzero~ 1], you have a pd-vanilla way to calculate the current sample minus the previous sample, and use trigger~ as before. On Fri, Dec 5, 2008 at 11:50 AM, Charles Henry [EMAIL PROTECTED] wrote: How about you compare the current value with the previous value? ex. [fexpr~ $x[0] $x[-1] ] The result is zero everywhere, except when the phasor~ resets itself. Then, you can use [threshold~ 0.5] to trigger a bang. Chuck ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] getting a messsage at end of [phasor~]
Hallo, Charles Henry hat gesagt: // Charles Henry wrote: How about you compare the current value with the previous value? ex. [fexpr~ $x[0] $x[-1] ] The result is zero everywhere, except when the phasor~ resets itself. Then, you can use [threshold~ 0.5] to trigger a bang. [threshold~] will trigger a block too late. Actually everything (in Pd-vanilla) will trigger a block late because message and dsp calculation are handled in turn. If I understood everything right, that is. Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] getting a messsage at end of [phasor~]
have a look at [phasorshot~] (externals / tof - include in pd-extended with [import tof]). it does exactly what you want. from the help file: phasorshot~ is exactly like a phasor except that you can disabling it's looping, therefore making it a one shot lookup signal. Of course line~ does something similar, but with phasorshot~ you can change the speed DURING the ramp. pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list