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

Audiokit Midi multiple virtual ports

in my project I need to have an array virtualInputPort and a array of virtualOutputPort, searching in github I found that the framework disposes only one virtualInput and only one virtualOutput and that when I call createVirtualPorts or…
0
votes
2 answers

AudioKit: How to use AKPlayer playAt method in Objective-C?

I want to synchronized start multiple AKPlayer after a given short delay using Objective-C in an iOS app. I found the following swift code doing that, in the source code of AudioKit, file AKTiming.swift: let bufferDuration =…
0
votes
0 answers

Can AudioKit extract EQed samples asynchronously without AVAudioEngine?

I need to extract waveform data asynchronously from a file after having applied some equalization. Using the AVAudioEngine I encounter in random silences at the beginning of the samples (it's more of a delay of the real data but unfortunately such…
Nuthinking
  • 1,211
  • 2
  • 13
  • 32
0
votes
0 answers

While using Playground - build succes, but no launch and sound

When I open playgrounds and press Build (or run), the message "Build Success" appears, but no launch of the code. Before I set up Xcode Project with AudioKit framework, and built oscillator project successfully with launching on Iphone simulator and…
distapcher
  • 91
  • 3
0
votes
1 answer

Sending a program change with a program number (patch number)

I have two Roland midi devices that behave the same when I try to send a bank and program change. It always sets it to the first patch of the bank. It won't change the patch I choose in the bank. Pro Logic can, however, switch to different…
0
votes
1 answer

AudioKit AKTimePitch does not work for the recoded file example.m4a

I am building up a APP on iOS by AudioKit(version 4.5.3), and I find out the AKTimePitch class does not work for me, here is my code(objective-c xcode 10): (IBAction)startButton:(id)sender { NSURL *url = [[NSBundle mainBundle]…
Tao
  • 51
  • 4
0
votes
1 answer

AudioKit AKWaveTable initialization error

I am having a weird problem initializing AudioKit AKWaveTable node. I am trying to change the sample rate of a sound on the fly and I thought AKWaveTable would be the best option to do this. According to the documentation, this initialization…
0
votes
1 answer

How to get and save the mixed of multiple audios in to single audio in swift

I have multiple audios files(more than 3). By using the AVAudioEngine and AVAudioMixerNode I am playing the all audio tracks into a single track. I want to save the mixed audio in the document directory. Give suggestions to mix the multiple audios…
Ajay
  • 185
  • 3
  • 18
0
votes
0 answers

AudioKit xcode10

var delay: AKVariableDelay! var delayMixer: AKDryWetMixer! var reverb: AKCostelloReverb! var reverbMixer: AKDryWetMixer! var booster: AKBooster! var tracker : AKAmplitudeTracker! 'AKVariableDelay' is unavailable: cannot find Swift declaration for …
0
votes
1 answer

Calling random AKPlayers in AKSequencer with repeated random results

This is a multiple audiofile playback project I am currently working on, where multiple AKPlayers are played in a random order, through AKSequencer. First, I have an array of filenames: Let filenames = [“1.mp3”, “2.mp3, “3.mp3”, … “10.mp3”] This…
Gavin
  • 251
  • 1
  • 6
0
votes
1 answer

Is AudioKit support coming for iOS 12 anytime?

Since currently AudioKit only supports iOS 11, I would like to know if there's any update coming anytime sooner? I'm currently working on an app which is iOS 12 compatible. Now I'm moving to programming audio using AudioKit, but it's not working so…
0
votes
1 answer

swift iOS - Not able to create array from tracker.frequency audiokit output

I am using AudioKit Microphone Analysis in my app to detect sound frequencies. Everything is working fine, however, I want to capture first few (may be 20 to 30) frequencies and store it in an array. I can print the frequencies using…
dejawooh
  • 33
  • 6
0
votes
1 answer

AudioKit on macOS: get/set system device volume

I've used AudioKit.inputDevice, Audiotkit.outputDevice, and friends to get get all input and output devices on my Mac, and to get/set default input and output device. I wish to read the current volume of these devices, and to be able to set it…
Alexander
  • 59,041
  • 12
  • 98
  • 151
0
votes
1 answer

AudioKit.output setter crashes with SIGABRT

I'm new to AudioKit and I was looking at the playground tutorials to get started. I downloaded the playgrounds yesterday from the website and compiled the playgrounds project and ran the "Hello World" tutorial but it errored at AudioKit.output =…
Ori Mazuz
  • 11
  • 3
0
votes
0 answers

audiokit portamento function lag

I made a simple portamento function: func portamento(oldNote:Double, newNote:Double){ if oldNote < newNote { while oldNote < newNote { oldNote += 1 } } else { while oldNote > newNote { oldNote -= 1 …
Jonny123
  • 59
  • 5