How are you applying effects like PitchBend to the tracks? #317
-
I'm just curious what package or approach you're using to apply your effects. I tried to reverse engineer a bit but figured it'd be easier to just ask. :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @corysimmons, The pitch is changed by changing the playback speed of the sample. The synthesizer code is implemented in the wavelet package. This code changes the playback speed of the sample according to the pitch bend value. The samples are PCM data, that is, an array of amplitudes. If you advance the index of the array one at a time, the pitch is the same as the PCM data, but if you advance the index two at a time, for example, the pitch is an octave higher. This means that the pitch bend value is converted to the size of the index advancement. |
Beta Was this translation helpful? Give feedback.
Hi @corysimmons, The pitch is changed by changing the playback speed of the sample. The synthesizer code is implemented in the wavelet package. This code changes the playback speed of the sample according to the pitch bend value. The samples are PCM data, that is, an array of amplitudes. If you advance the index of the array one at a time, the pitch is the same as the PCM data, but if you advance the index two at a time, for example, the pitch is an octave higher. This means that the pitch bend value is converted to the size of the index advancement.