Reputation: 1523
Easy to connect a synth to a AudioKit compressor like...
compressor = AKCompressor(akMidiSampler)
Instead of this I need to connect after the initializer...
compressor = AKCompressor()
...
How can I connect this AKMidiSampler to the compressor after the initializer ?
Upvotes: 0
Views: 67
Reputation: 4955
Two ways:
akMidiSampler.connect(to: compressor)
and akMidiSampler >>> compressor
>>>
is a custom operator that calls connect(to:)
Upvotes: 1