Questions tagged [audiokit]

AudioKit is an audio synthesis, processing, and analysis platform for macOS, iOS, and tvOS.

Use this tag to get answers on AudioKit. Please post code that you have tried. Make sure it is actually a question concerning AudioKit. Questions for toolchain, language or software design should also contain more tags to get a wider audience.

Getting help

There are two methods for getting support for AudioKit, listed in order of what you should try first:

  1. Post your problem to StackOverflow with this audiokit tag.

  2. If you are pretty sure the problem is not in your implementation, but in AudioKit itself, you can open a Github Issue.

Links to documentation, samples and code

947 questions
6
votes
1 answer

Proper way to disconnect nodes in AudioKit

The app I'm developing requires dynamically adding/removing/rearranging components in the sound chain. So far, I have mostly been using the .disconnectOutput() method on most components, then reconnecting everything. This works most of the time,…
c_booth
  • 2,185
  • 1
  • 13
  • 22
6
votes
0 answers

AudioKit - How to use frequency filters with microphone?

I'm using the AudioKit library with Swift for developing a simple iOS application that should be able to listen to frequencies of the range 3.000Hz - maybe 6000Hz. So I'd like to just track the input frequency of the microphone within this range and…
user9225354
6
votes
2 answers

Why doesn't AudioKit's AKMicrophoneTracker work on a physical iOS device?

When I use AudioKit's AKMicrophoneTracker on a physical device, the the frequency and amplitude are always both 0. But in the playground and in the iOS simulator, it works perfectly. Here's a rough example: class AppDelegate: UIResponder,…
John Ellmore
  • 2,209
  • 1
  • 10
  • 22
6
votes
1 answer

Referenced AudioKit framework is not recognized by XCode

When I create a new XCode project that references (as opposed to CocoaPods, etc) one of the AudioKit frameworks, XCode does not autocomplete AudioKit declarations and explicitly declaring an AudioKit object (such as AKMIDISampler) results in a build…
Eric George
  • 236
  • 2
  • 9
6
votes
1 answer

AudioKit compiles for device, not for Simulator

I am having a problem where AudioKit 4.0 (today's build), won't compile on the simulator. It compiles just fine for a device. The errors I'm getting are: 'AKMicrophone' is unavailable: cannot find Swift declaration for this…
ICL1901
  • 7,632
  • 14
  • 90
  • 138
6
votes
1 answer

Positional Audio in SceneKit / ARKit with AudioKit

I have been exploring positional audio in Scene Kit / ARKit and would like to see if it’s possible to use AudioKit in this context to benefit from its higher level tools for analysis, sound generation, effects, etc. For some background, a SCNView…
cgmaier
  • 91
  • 3
6
votes
2 answers

AudioKit FFT conversion to dB?

First time posting, thanks for the great community! I am using AudioKit and trying to add frequency weighting filters to the microphone input and so I am trying to understand the values that are coming out of the AudioKit AKFFTTap. Currently I am…
Dan Jensen
  • 61
  • 4
6
votes
2 answers

AudioKit - Drawing full waveform of file

I've been going through documentation looking for an answer for this. I see that AudioKit can draw waveforms for in realtime as you record or playback, but I was wondering if you could load in a file and it draw the waveform in full so I can see…
kernelpanic
  • 530
  • 2
  • 8
  • 26
6
votes
1 answer

audiokit: playing two oscillators simultaneously

Hello I'm working with AudioKit -- it is a stellar framework and I'm very happy so far just learning it. I'm working through a HelloWorld example and there is code for a UI button that engages an oscillator at a frequency... My question is: if I…
sova
  • 5,468
  • 10
  • 40
  • 48
5
votes
0 answers

XCode 14 SwiftUI dyld symbol not found

I get this error when I run my code on an iOS 14 device using XCode 14. dyld: Symbol not found: _$s7SwiftUI15GraphicsContextV4fill_4with5styleyAA4PathV_AC7ShadingVAA9FillStyleVtF Referenced from: ****** Expected in:…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
5
votes
4 answers

AudioKit 4.11.2 Playgrounds: "No such module AudioKitPlaygrounds"

It has been a year since updating so I downloaded AudioKit 4.11.2 yesterday. I built all of the frameworks, including the AudioKit and AudioKitUI xcframeworks. Then I began playing with the Playgrounds. Right away Xcode tells me the build failed…
WholeCheese
  • 437
  • 3
  • 14
5
votes
1 answer

AudioKit - How to use AKAmplitudeTracker threshold callback?

AudioKit include a great tool to track signal amplitude: AKAmplitudeTracker This tracker can be init with a thresholdCallback, I suppose that the callback should trigger when the threshold is reach. I'm playing with the MicrophoneAnalysis example…
Thomas Besnehard
  • 2,106
  • 3
  • 25
  • 47
5
votes
1 answer

AKMIDICallbackInstrument implementation issue

Updating to the latest version of AudioKit left me changing several AKCallbackInstrument instances over to the new AKMIDICallbackInstrument class which now incorporates the former as legacy behavior. When doing so however, I ran into this weird…
caxix
  • 1,085
  • 1
  • 13
  • 25
5
votes
1 answer

Sending MIDI notes through a virtual port within iOS using AudioKit

So I feel like an idiot for having to post on here for what is likely a simple fix. I am writing an iOS application that will be sending MIDI to another app. For my first proof of concept I am trying to send a note to GarageBand on my iPhone. I am…
Culp
  • 53
  • 5
5
votes
1 answer

Trying to understand the output of AKFFTTap in AudioKit

Using AudioKit, I'm trying to build an app that analyses the input of the microphone and separate the incoming sound into pieces of 3 frequency ranges (low, mid, high) and their amplitude. This is the code I have: class ViewController:…
Swissdude
  • 3,486
  • 3
  • 35
  • 68
1 2
3
63 64