Luciano Sclovsky
Luciano Sclovsky

Reputation: 388

Migrating AudioKit from version 2 to version 4

I'm working on updating this project: https://github.com/elslooo/guitar-tuner

The author wrote on Swift 3 and uses AudioKit 2.2. I have already moved to Swift 4 and would like to migrate to AudioKit latest version 4.2. I look at the AudioKit migration guide, but there it's mentioned only that's a complete rewrite from version 2.

The major compiler errors I'm getting now are:

Could you please point me to some AudioKit documents or references where I can find the new equivalent classes?

Upvotes: 2

Views: 528

Answers (1)

Aurelius Prochazka
Aurelius Prochazka

Reputation: 4573

AudioKit 3 was a complete rewrite and there is no real upgrade path, but:

  • AKAudioAnalyzer -> AKFrequencyTracker

  • AKAudioPlot -> AKNodeOutputPlot

  • AKMananger -> AudioKit

  • AKOrchestra -> Unused

I suggest you use one of these projects for a starting point for the internals anyway:

They are at least based in AudioKit 3 and should be easier to upgrade to AK4.

We'd love to highlight your rewrite here:

Upvotes: 2

Related Questions