akoperationgenerator

Swift AudioKit: How to build an VCO who's pitch is controlled by an AR-envelope?

旧城冷巷雨未停 提交于 2019-12-11 02:19:24
问题 I am new to AudioKit. I want to build an VCO who's pitch is controlled by a re-triggerable A(H)R-envelope (with adjustable attenuation) and I am looking for the best or most common way to do it. After some research (and wrong directions) it looks to me that I have to go with AKOperationGenerator and AKOperation. Best example to follow was the Filter Envelope example from the playgrounds. I tried: enum PitchEnvVCOSynthParameter: Int { case frequency, decayTime, gate } struct PitchEnvVCO {