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
0
votes
1 answer

Has anyone attempted a master clock sync implementation with AudioKit?

The AKMIDITempoListener implements a midiClockMasterEnabled method that tells you if/when you can become the MIDI master clock, but there aren't any examples of how one might implement a MIDI master clock in AudioKit (e.g. using AKSequencer as the…
dtrenz
  • 599
  • 6
  • 14
0
votes
1 answer

What is the MIDIEndpointRef for the CallbackInstrument?

I would like to make runtime UI changes according to notes played by a sequencer. Other solutions use a Callback Instrument and add another track with encoded values to the sequencer (f.e.: AudioKit ios AKSamplerMetronome). However, the syntax…
0
votes
0 answers

AudioKit Listener/Notification when input/output has changed from OS?

When connecting to a bluetooth headset (Airpods in my case), AudioKit crashes while running. This is due to a sample rate mismatch. Is there any type of notification, I can observe that when a user changes an input device with a different sample…
Maximilian
  • 1,107
  • 11
  • 20
0
votes
0 answers

Popping noise when recording audio with AudioKit

Is anyone else experiencing a popping sound when recording audio in iOS using AudioKit? I've had my recorder working for a while now and all the sudden out of nowhere I have popping noises and I didn't touch my code. But I did upgrade AudioKit…
mnearents
  • 646
  • 1
  • 6
  • 31
0
votes
1 answer

SysEx event not received

I have a small app receiving MIDI from Bluetooth channel. It works well using Core APIs, so I tried to use AudioKit to simplify my code. Problem is : I can't see the SysEx events in the listener (although I see them in my basic code). Other midi…
Louis
  • 1
  • 4
0
votes
1 answer

Recording and playback MIDI tracks using AudioKit

I'm trying to record MIDI tracks with one sampler, but in the same time. For every new recording, it's creating new track on sequencer, callback instrument using different channel. When tracks don't intersect, everything works fine. But when I add…
Evgenii Shishko
  • 142
  • 2
  • 8
0
votes
0 answers

I am getting a runtime error running the AudioKit SamplerDeomo for iOS that says "Thread 10: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)"

I am getting a runtime error running the AudioKit SamplerDeomo for iOS that says "Thread 10: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)". The error occurs in this declaration line in the UIViewController class: let conductor =…
daniel
  • 1,446
  • 3
  • 29
  • 65
0
votes
1 answer

iOS AudioKit: How to observe currently elapsed time while recording

I'm using AudioKit for recording and playback purposes in my app. I'm wanting to reflect the current elapsed recording time from the AKNodeRecorder so the user can see how long the recording is in real time. How can I accomplish this? There are no…
DookieMan
  • 992
  • 3
  • 10
  • 26
0
votes
0 answers

EQ Db/Amplitude Tracking

I am new to AudioKit for iOS, I have tracked the maximum amplitude of 63Hz equalizer of a sound and I changed the gain value of it to 0 using AKEqualizerFilter class. It's successfully changed and I can listen it but I want to know how can we…
0
votes
0 answers

AudioKit: How do I avoid the big cpu hit I get with midi 'through' and simultaneous notes?

Implementing midi 'through' over virtual ports for a sequencer on iOS. This works sweetly for melodies midi.createVirtualPorts(98536, name: "MyMagicMIDI") midi.addListener(self) func receivedMIDINoteOn(noteNumber: MIDINoteNumber, velocity:…
Darewe
  • 43
  • 4
0
votes
1 answer

Is it possible to modify the MusicSequnce while AudioKit sequencer is playing

I wonder, is it possible to modify the MusicSequnce on the fly without stopping the AudioKit sequencer. The Apple docs for the method MusicPlayerSetSequence says that you must stop the MusicPlayer before calling this method. So I guess the answer to…
Dmitry Klochkov
  • 2,484
  • 24
  • 31
0
votes
1 answer

How do you use AKMIDIStatus in a AKMIDICallbackInstrument callback with AudioKit 4.6.1

Using AKSequencer for midi and a Control track. I'm aware AKMIDIStatus has undergone some changes in recent revisions. My exploration leads me to believe this simple 'note on' 'note off' callback should work: func playThroughCallback(_…
Darewe
  • 43
  • 4
0
votes
1 answer

AudioKit connect External Bluetooth mic on IOS

Unable to connect external bluetooth mic as an input on AudioKit. I have "HeyMic" on checking available input devices it doesn't show up but on checking available output devices it shows up. Any idea on how we can solve this?
Abraham
  • 41
  • 5
0
votes
1 answer

Implementing TPCircularBuffer in C++ Class

I am trying to implement a circular buffer in my class. If I initiate it in the init method, it works, but I wanna declare the buffer variable under private, so I can access it from anywhere inside the class: #import…
HTron
  • 337
  • 3
  • 14
0
votes
1 answer

Removing audio channels from audio file swift

I need to remove specific audio channels from the audio file and I need to save it as a mono file. I found that it can be achieved using AVAudioEngine or AudioKit but I didn't find any helpful example. What do I need if the audio file is 5.1…
KMSOFT
  • 87
  • 1
  • 9