I've tried to make a sampler that works with ableton link but for some reason play back is slightly out of sync. Ableton link is sending step values to r metro_beat, and listening to ableton's metronome through the patch confirms that ableton and pure data are in sync, so it seems that it's my patch that is messing things up. The sampler records for a set number of steps then begins playback immediately, the sample and the audio from ableton remain the same distance apart, so the sampler is recording for the appropriate length of time, the problem seems to be with how the sample is started. While I think I know generally where the problem is I'm not sure what I can change to fix it, any ideas?
-
Problems with ableton link sampler
-
@paste Hard to tell but maybe you should use the [t b b] to send zero to the right inlet of the [phasor~] instead....... to reset its phase...... as it looks like it already has its frequency...... and you are just resending the same values again from [f] and [f].
David.
-
I don't understand it but sending a zero message to the right inlet of the phasor fixed it. I didn't think that section of the patch was activated until I had stopped and restarted the sample but I can't argue with the results
-
That smiley face was sideways when I posted my reply, seems like I can never orient things correctly lol
-
I will frame the photo of your patch and call it art.
-
For everyone else....
[phasor~] plays the array "sampler". It makes ramps from 0 to 1 at the speed set by its frequency.
Your patch then multiplies those values by the total number of samples in the array.
When the phase is reset by a zero to its right inlet the [phasor~] jumps to zero and starts its ramp to 1.
So as the zero arrives the array is played from the beginning...... which is what you need as you stop and restart the sample.
You had let [phasor~] continue to run...... and it was at some point on its ramp..... not at the start.
David.