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

iOs Play Audio for VOIP App

This is my first post to stackoverflow. At present I am developing an voip app for ios. I want to do something like this. //in a thread while(callIsOnGoing){ data = getDataFromNetwork() playData() sleep(10ms) } But problem is that audio in…
0
votes
1 answer

Audio Unit background conflict

I have an audio analysis app using Audio Units that works perfectly when the app is run in isolation. However, if there are other audio apps running in the background AudioUnitRender returns a -50 error. Does anyone know a way to resolve this, so…
Spinoxa
  • 657
  • 2
  • 7
  • 23
0
votes
0 answers

How to debug AURemoteIO::IOThread exception?

I'm working with audio units and at some point in my program, if I add an exception breakpoint, I can catch a CoreAudio exception from the IOThread. This is what I see: Now, there is really not enough information in that for me to be able to…
Meda
  • 2,776
  • 4
  • 20
  • 31
0
votes
1 answer

OpenAL and Audio Unit clashing

I have an audio unit with a callback from the mix input. This works correctly and records fine. The moment I open another view that uses ObjectAL (OpenAL), going back to the ViewController that records from the mic input causes the following error…
some_id
  • 29,466
  • 62
  • 182
  • 304
0
votes
1 answer

How to know that an AUSampler is playing?

Any way to know if an AUSampler contained in an AUGraph is producing any sound ? Thanks !
Aladin
  • 115
  • 2
  • 10
0
votes
1 answer

iOS - Accessing generated signal from Audio Unit render callback

I have an iOS/Objective-C program that uses a single audio unit to play a generated signal when a button is pressed. I'd like to add functionality such that: a) When the button is first pressed, a signal is generated in some kind of numeric…
Rogare
  • 3,234
  • 3
  • 27
  • 50
0
votes
1 answer

Core Audio: kAudioOutputUnitProperty_SetInputCallback on a non-remoteIO unit

I'm new to Core Audio so I might not see something obvious… My aim is to process previously recorded audio signals. However, those signals should be filtered first. I don't need to play any audio. I only need to record and process it. My graph looks…
lbrndnr
  • 3,361
  • 2
  • 24
  • 34
0
votes
1 answer

How to build to a protected folder in xcode on 10.7

im trying to build an audio unit synth and I've got it to compile but and it works so far but I want to debug it properly by setting my daw as a debug exexuble. The problem is that the daw only loads plugings that are in the component folder and…
0
votes
1 answer

Exclusive access to AudioUnit in iOS

I was thinking is it possible to get exclusive access to AudioUnit record (end possibly playback) device, to assure that any other proccess will not gain access to it while my is working (eventually even in background)? Any advice would be…
Tomasz Łoś
  • 79
  • 2
  • 10
0
votes
1 answer

Detect speaker/headset using AudioUnit on Mac OS X

Using AudioUnit and kAudioUnitSubType_HALOutput how do I detect if the output is Speaker or Headset?
junglecat
  • 643
  • 1
  • 10
  • 19
0
votes
1 answer

How to write Output of AUGraph to an External AudioFile of WAV or AIF formats?

In my iOS app i am playing a MIDI file using Music Player & Music Sequence. And i'm getting AUGraph here by calling "MusicSequenceGetAUGraph" method of the Music Sequence. Now i want to save the same Output of this AUGraph to an External File. How…
Raaja
  • 11
  • 5
0
votes
1 answer

iOS: EXC_BAD_ACCESS when trying to get audioframe value

I am having a little trouble getting Michael's code to work. Below you will se my implementation, i am trying to get it running on iOS 6.1 but I am getting an EXC_BAD_ACCESS at: AudioBuffer buffer = bufferList.mBuffers[i]; I am running the code…
Roskvist
  • 1,030
  • 3
  • 14
  • 24
0
votes
1 answer

Audio Unit to capture sound from mic, add reverb ,then send to speaker

Sorry to bother again. I used the audio graph processing method to play the mic-in and add effect to the sound to the speaker. When I use the AUGraph_1 : RIO_input->Converter-> AUiPodE->RIO_output, it works fine and I can hear the sound play…
0
votes
1 answer

Call AudioUnitRender outside of the render call back method

Like the sample project MixerHost,I want to write the mixed output stream to a file instead of to the speakers.So I used kAudioUnitSubType_GenericOutput and call: CheckError(AudioUnitInitialize(mixerUnit), "AudioUnitInitialize…
0
votes
1 answer

Audio units dynamic registration

We have developed a custom audio unit and audio unit hosting application. We are trying to register the custom audio unit dynamically from the application. Below code snippet is used to register audio unit dynmaically. (this code snippet is…
SPrabhu
  • 303
  • 1
  • 4
  • 9