If you can accept a delay of 1 block for the whole thing, then you could 
examine each signal vector for the occurance of the pulse, calculate the time 
position and send a properly delayed bang to [vline~]. 

If you want it without delay, you could rewrite the whole [vline~] thing with a 
[phasor~] + [noise~] + conditional audio math. Then you could use your pulse in 
conjuction with some [samphold~] objects to reset the phase of the envelope and 
sample new random numbers.

Just some ideas.
 
 

Gesendet: Montag, 25. April 2016 um 13:13 Uhr
Von: "Wilfred de Zoete" <[email protected]>
An: [email protected]
Betreff: [PD] Sample accurate (audio) triggering of vline~

In a complex waveshaping environment I'm using arrays as wave tables. There is 
one [phasor~] that runs the patch and I use [+~] to change phase of reading out 
the arrays.

Now one of those arrays consists of only one pulse. I want to use that to 
trigger a [vline~] in sample-accurate time. But how can I use the pulse in the 
array as a trigger for [vline~]?
I would prefer not to use [snapshot~] as it's not very accurate since that 
needs to be triggered itself by a metro and it isn't precize enough.

The [phasor~] I'm using is constantly pitch changed, ranging from almost zero 
to 250 Hz max. The [vline~] has random ramp up, delay and ramp down, that's why 
I don't use an array to make an envelope.

Cheers, Wilf
_______________________________________________ [email protected] mailing 
list UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to