Questions tagged [audiounit]

Audio Units are plug-ins for Apple's CoreAudio framework which generate or process audio streams.

Audio Units (commonly referred to as simply "AU") are plug-ins for Apple's CoreAudio system which are capable of generating or processing audio streams. Although Audio Units were originally created to compete with Steinberg's VST SDK, they have evolved in quite different directions.

Currently Mac OSX and iOS are the only platforms which support the Audio Unit SDK. Both OSX and iOS ship with a number of default Audio Units for basic audio stream operations, though it is possible to write custom Audio Units on both platforms.

Resources:

Related tags:

752 questions
1
vote
2 answers

Starting an AVAssetReader stopping callbacks to a Remote I/O AudioUnit

I am using an AVAssetReader to read the audio out of the iPod Library. (see here) I then take the read buffer and play it through an AudioUnit. I am trying to refractor the code to stream in the Audio as I play it out. However if an…
TurqMage
  • 3,321
  • 2
  • 31
  • 52
1
vote
3 answers

iPhone: How to play a sound on top of the iPod sound?

I'm trying to play a sound on top of the iPod music but when I enter my app the iPod sound is silenced automatically. I tried: UInt32 sessionCategory = kAudioSessionCategory_AmbientSound; AudioSessionSetProperty…
Rad'Val
  • 8,895
  • 9
  • 62
  • 92
1
vote
1 answer

RemoteIO callback after AUMixer

What is the correct way to implement a callback on the RemoteIO after the aumixer has done it's thang. If i use ; result = AUGraphSetNodeInputCallback(mGraph, outputNode,1, &remoteIOCallback); It doesn't call my function If I use .. result =…
daveAce
  • 21
  • 4
1
vote
2 answers

Can an audio unit (v3) replace inter-app audio to send audio to a host app?

My music performance app plays audio with AVAudioEngine, and uses inter-app audio to publish the engine's output to other apps. This allows users to feed the audio into a mixer app running on the same device. Since IAA is deprecated on iOS and not…
arlomedia
  • 8,534
  • 5
  • 60
  • 108
1
vote
2 answers

AudioUnits causing universal skipping after returning from Springboard

I have a problem in my applications where I am using AudioUnits. All of the applications Audio (including audio not played through AudioUnits) will start skipping after exiting to Springboard and returning to the applications. I broke out the…
TurqMage
  • 3,321
  • 2
  • 31
  • 52
1
vote
1 answer

How does one allocate memory in an Audio Unit extension (realtime process) for audiofile playback?

I am working on creating an audio unit v3. I have made decent progress up to this point, I made a host app that loads all my 3rd party plugins. I created an auv3 plugin that processes audio and can be loaded by other hosts. I now want to make an au…
Matty H
  • 325
  • 4
  • 11
1
vote
1 answer

Disable sound through speaker while recording audio using AUAudioUnit

I try to record audio using AUAudioUnit. I successfully get audio buffers but I also hear recorded sound through the speaker while recording. The question is how to get just buffers not passing sound to the speaker? func startRecording() { …
Bambuh
  • 21
  • 1
  • 4
1
vote
2 answers

how to properly fill a stereo AudioBuffer

so i'm using Apple's MixerHost sample code to do a basic audiograph setup for stereo synthesis. I have some trouble figuring out how i have to fill the buffer slice. Specifically, i get audio out only in the left channel, the right channel is…
Jakob
  • 872
  • 10
  • 26
1
vote
1 answer

Varispeed Unit with AuGraph [iOS Swift]

We are trying to connect varispeed unit with output unit using AUGraph. This is our current code: var graph: AUGraph? var varispeedNode: AUNode = 0 var varispeedUnit: AudioUnit? var outputNode: AUNode = 0 var outputUnit:…
shayan
  • 25
  • 6
1
vote
0 answers

Does multiple AUs run in parallell in Core Audio?

I am starting to get into Core Audio and yesterday I was thinking about performance on a high level. Let's say I have one oscillator and one filter - is there then any performance difference in doing these as two units and connect them in the…
Kenny Lövrin
  • 781
  • 5
  • 15
1
vote
1 answer

AUv3 AudioUnit Extension, IPCAUClient: bundle display name is nil

In my AUv3 AudioUnit Extension I get this error message on the debug console output: IPCAUClient.cpp:129:ConnectToRegistrationServer: IPCAUClient: bundle display name is nil But there is a name in the info.plist file ... does anyone has the same…
Hecot
  • 89
  • 1
  • 11
1
vote
2 answers

IOS AudioUnit playback crackle issue (swift)

I am trying to play bytes coming from the UDP from an android device in IOS. I am using TPCircularBuffer to play the bytes. My code is below: let success = initCircularBuffer(&circularBuffer, 1024) if success { print("Circular…
Muhammad Faizan
  • 353
  • 4
  • 15
1
vote
1 answer

AudioUnit callback and synchronization: how to ensure thread safety with GCD

I am building an audio app based on the AudioUnit callback facility and a graph of audio processing nodes. I know that the callback is executed in a separate (high priority?) thread and therefore all interaction with my processing nodes, such as…
1
vote
1 answer

core audio callback, inTimeStamp at the beginning or end of recording

In core audio, when the recordingCallback is called: static OSStatus recordingCallback(void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp *inTimeStamp, …
123hal321
  • 2,080
  • 4
  • 24
  • 25
1
vote
0 answers

How can we remove Noise from audio that comes out of Remote IO?

I am using Remote IO to capture voice real time and playback through headphone. When I test it the device(iPhone or iPad), I always hear a continuous noise in the background . How can we remove these noise from the audio? Can we use Voice…
RK-
  • 12,099
  • 23
  • 89
  • 155