I'm making a synth that uses LFOs to modulate the pitch of some oscillators. I'm using this to determine the output frequency of the desired pitch bend:
| [sig~ 2] /
| | /
The left inlet would be a frequency like 440Hz or something, and the right inlet determines the pitch bend in octaves. (A value of 1 in the right inlet will pitch the frequency in the left up and octave).
Is there a more efficient way to do this? I'm running into some cpu issues with the pow~ object (I'm running libpd on mobile) and I'm trying to figure out the fastest way to do pitch calculations. Thanks in advance.