headkit
headkit

Reputation: 3327

How to change frequency of AKMorphingOscillatorBank countinuously in Audiokit?

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!

Upvotes: 0

Views: 205

Answers (1)

c_booth
c_booth

Reputation: 2225

If you just want something monophonic, then you could use AKMorphingOscillator instead of AKMorphingOscillatorBank. It will allow you to control the frequency continuously.

Upvotes: 1

Related Questions