问题
I am new to Audiokit. I want to build a tuneable monophonic wavetable-oscillator with morphable table output that could be synced to an others oscillators frequency.
I startet with AKMorphingOscillatorBank but could not find out how to change its frequency countinuously, not stepweise.
At the moment I start a note with
vco1.play(noteNumber: MIDINoteNumber(Int(noteNumber) + offset1), velocity: velocity, frequency: vco1Freq)
but changing the frequency while a note is played is not possible that way.
I want to have sequence of notes playing a base frequency tone and a knob that changes the base frequency of the oscillator continuously when rotated - like triggering an eurorack VCO module und turning the frequency knob... thnx!
回答1:
If you just want something monophonic, then you could use AKMorphingOscillator instead of AKMorphingOscillatorBank. It will allow you to control the frequency continuously.
来源:https://stackoverflow.com/questions/49085008/how-to-change-frequency-of-akmorphingoscillatorbank-countinuously-in-audiokit