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
2 answers

Dynamic naming of objects in AudioKit (SpriteKit)

I am trying to create an app similar to the Reactable. The user will be able to drag "modules" like an oscillator or filter from a menu into the "play area" and the module will be activated. I am thinking to initialize the modules as they intersect…
0
votes
1 answer

App crashes when trying to plot a graph

First of all, I'm using the audio manipulator framework called AudioKit. I am trying to plot the AKMicrophone() using AKNodeOutputPlot() but it's not working. It's returning the error: https://i.stack.imgur.com/a2rwY.jpg I think it's everything…
denisb411
  • 581
  • 1
  • 7
  • 25
0
votes
0 answers

how to restart an oscillator instantaneously in swift 3 using audiokit

I am trying to make a button that plays an oscillator that has ADSR and if the button is pressed while the oscillator is already playing, I want it to override the already playing oscillator and replay the oscillator from the start. This code…
c3n3
  • 25
  • 5
-1
votes
1 answer

Module 'AudioKit' has no member named 'output' How to check the version of AudioKit actually got installed

pod 'AudioKit', '4.11.2' pod 'Charts', '3.6.0' My podfile includes two pods: AudioKit and Charts. I am currently using AudioKit version 4.11.2 and got this error Module 'AudioKit' has no member named 'output' Xcode Error Image So I wonder, how can…
Yul Kang
  • 1
  • 2
-1
votes
2 answers

AKMetronome countdown, how to publish to main thread from background thread to start recorder?

I've been looking into how to implement a Metronome countdown with the AudioKit lib but ran into an issue related to threads and my implementation. My implementation uses the AudioKit AKMetronome, a method to handle the metronome.start and the…
punkbit
  • 7,347
  • 10
  • 55
  • 89
-1
votes
2 answers

Audiokit Audiobus Integration with Errors like: :-1: Undefined symbol: _OBJC_CLASS_$_ABPort

i have implemented audiobus/iaa in my app like in this tutorial: https://audiokit.io/audiobus/sender-synth/ i have received my api key from audiobus and copied it in a textfile called "Audiobus.txt". but i am still getting these errors: undefined…
-1
votes
1 answer

Perform basic arithmetic operations on AudioKit FM oscillator parameters: Interpolation & time Transition

Does AudioKit provide a method to calculate interpolated values of discrete array members? Does AudioKit provide a method to smooth transition operation between parameters of an oscillator like baseFrequency, AKOperation.periodicTrigger or…
jumbopilot
  • 13
  • 3
-1
votes
1 answer

How do I convert audio format from m4a to mp3 in iOS using Swift 4?

I am downloading audio from server in .m4a format and just want to convert it in .mp3 format.
ALOK RANJAN
  • 9
  • 1
  • 2
-1
votes
1 answer

Module compiled with Swift 5.0 cannot be imported by the Swift 5.1 compiler:

Getting this error while import AudioKit in my new project in XCODE 11 latest version. How to solve this issue?
Amalendu Kar
  • 458
  • 1
  • 6
  • 17
-1
votes
1 answer

Audiokit mic input not working on IPad Pro

Any suggestions on why the Audiokit mic input would work fine on IPad Mini 2 but not at all on 3rd gen IPad Pro? Have tried the obvious: confirmed my app allows mic in pro settings, mic is working using voice notes app on pro. Both devices are…
-1
votes
1 answer

Is there any possibility to read the frequency of the currently playing song with Swift?

I'm new to iOS programming and I don't know where to start. I found code examples how to read frequencies from the microphone with AudioKit framework. But this is not what I am looking for. Is it possible to retrieving frequency of the currently…
Madrox24
  • 31
  • 1
  • 5
-1
votes
1 answer

AudioKit record all audio to file

Is there any relatively easy way to record all audio output when using AudioKit to a file? That is, instead of audio output going to the speaker it is recorded to disk.
Ruben
  • 1,950
  • 1
  • 12
  • 13
-1
votes
1 answer

Using AKMicrophone adds red bar after microphone node was removed

In a part of my app i need to use AKMicrophone for analyzing user input. I use an AKBooster with 0 gain and everything works fine. If I go to background while the app records, iOS shows a red sign. As expected. However if I then stop AudioKit and…
EvilDuck
  • 4,386
  • 23
  • 32
-1
votes
1 answer

AKAudioPlayer looping doesn'work

I'm using AudioKit 4.01 on iOS. After using AKAudioPlayer.replace(file:), the AKAudioPlayer doesn't loop anymore correctly : it doesn't take the value "endTime" into account anymore, the file plays until the end. Is that a bug or something I missed?…
Nitenq
  • 193
  • 12
-2
votes
1 answer

Is it possible to create 5 oscillators (an array?) working simultaneously and control their frequency and amplitude independently of each other?

import SwiftUI import AudioKit class ToneGenerator { let engine = AudioEngine() let osc = PlaygroundOscillator() init(){ engine.output = osc try! engine.start() } } struct ContentView: View { let…
Peter_22
  • 41
  • 5
1 2 3
63
64