Hi all,
I built a patch that uses phasor to read from a table - quite simple really.
Everything works fine when I "bang" it myself - all notes sound the same, phasor syncs to my bang. If I connect a [key] to the bang I play the patch from my keyboard and it's working: all notes sound the same, phasor syncs no matter how fast I bang it.
BUT - when connected to a [metro], each note sounds different: it seems like phasor is syncing a bit differently each time!
Got into it a little bit, and here's what I found:
There is a correlation between the frequency of the [metro] and the number of different sounds I'm getting. 500ms produces two alternating sounds. 450ms produces a series of 13(?) different sounds that loop over and over in a cycles. In fact, each [metro] value produces its own repetitive series of sounds.
Strange!
I managed to find a [metro] value that seems to produce a stable sound: 476.01 ms.
Then I found out that half that value and twice that value work as well.
Changing the sample rate to 48KHz creates a dramatic change: every [metro] value that is a multiple of 4 would stabilize the sound.
And at sample rate of 24Khz, only [metro] values that are multiples of 8 produced a steady syncing of [phasor].
OK... So can someone tell me what's going on?
And... is there a better way to achieve a reliable synced reading of waveforms in PD?
Thanks,
ith