Questions tagged [akoperation]

3 questions
2
votes
0 answers

AudioKit: How can I sync an AKOperationGenerator to the frequency of an other Oscillator (oscillator-sync)?

I am new to AudioKit. I want to build a Synth with two Oscillators where one is synced by the other, means every wavelength of OSC1 (every second zero-crossing) the OSC2 is restarted (phase set to 0). Is this possible with AKOperation oscillators?…
headkit
  • 3,307
  • 4
  • 53
  • 99
0
votes
1 answer

AudioKit: How to operate with AKOperation parameter values as Double?

I want to calculate pow() in the following context: let generator = AKOperationGenerator { parameters in let depth = PitchEnvVCO.freqDecayDepth.times(PitchEnvVCO.freqDecayAmount) let wdth = pow(2.0, depth/12.0) * PitchEnvVCO.frequency //…
headkit
  • 3,307
  • 4
  • 53
  • 99
-1
votes
1 answer

Perform basic arithmetic operations on AudioKit FM oscillator parameters: Interpolation & time Transition

Does AudioKit provide a method to calculate interpolated values of discrete array members? Does AudioKit provide a method to smooth transition operation between parameters of an oscillator like baseFrequency, AKOperation.periodicTrigger or…
jumbopilot
  • 13
  • 3