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

audio unit playing m4a files

I've been working on this task for 12 days and i cant find any solution pleaaaaase help i'm supposed to load about 80 m4a files and play some of them with augraph which contains mixer and remoteIO units thats how i load the files OSStatus…
Moataz Hossam
  • 413
  • 7
  • 20
1
vote
1 answer

Calling AudioUnitInitialize() when no audio hardware is available

In an iOS app project I have an audio-unit (used for input/output) initialization code which (after setting various properties, callbacks etc.) ends with: OSErr err = AudioUnitInitialize (self.audioUnit); NSAssert1 (err == noErr, "Error initializing…
Itamar Katz
  • 9,544
  • 5
  • 42
  • 74
0
votes
1 answer

How to go about making audio units since Xcode 4.3?

I noticed since Xcode 4.3, the audio unit templates are gone and the audio unit headers and helper apps are a separate download from Apple's website. I have no idea what to do with the downloaded folder... I tried putting AU Lab And HALLab in…
SaldaVonSchwartz
  • 3,769
  • 2
  • 41
  • 78
0
votes
1 answer

Delay in AUGraph callback

We are developing a music player app for Lion OSX(10.7), which applies different audio effects to selected music file. We have used Audio unit and AUGraph APi's to achieve this. However after connecting all the audio unit node , when we call…
SPrabhu
  • 303
  • 1
  • 4
  • 9
0
votes
1 answer

Removing Last Buffer Played From Memory

I have an Objective-C audio app based on audio unit and my problem is when I play a sound then stop it then play another sound I hear the last buffer from the first sound. I think I should just free the ioData or something but all my tries have…
Moataz Hossam
  • 413
  • 7
  • 20
0
votes
1 answer

Automatic updates for Audio Units

We would like to implement automatic updates for our Audio Unit plugin (Synthesizer). Can anybody suggest a mechanism for accomplishing that?
kambi
  • 3,291
  • 10
  • 37
  • 58
0
votes
1 answer

Error in AudioFileWritePackets

i'm just trying to capture the mic and save data to wav file ! and here is the code: AudioFileID FileID=remoteIOplayer->mixAudioFile; if (inBusNumber == 16){ AudioUnitRender(audioUnit, ioActionFlags, inTimeStamp, 1, inNumberFrames, ioData); …
Moataz Hossam
  • 413
  • 7
  • 20
0
votes
1 answer

Where to start with sequencer

I am looking to create a 16th note sequencer that triggers an AU to play when the note is selected in the interface, I've worked out the length of the 16th note in seconds 15/tempo. How would i go about doing this.
0
votes
1 answer

Playing multiple sine waves on iPhone with AudioUnit(s)

I'm currently working on program that can output sine wave of set frequency through speaker/headphones on iPhone. Now I want to output multiple sine waves, and I don't know which approach is better. Should I just add all sine waves and play them…
xx77aBs
  • 4,678
  • 9
  • 53
  • 77
0
votes
3 answers

Audio capture in Mac OS X

I am developing an audio capture application. How to capture audio on Mac OS X using 8 kHz sampling rate with single chanel using Audio Unit API ? This is the code I have tried. Component component; ComponentDescription …
Vimal Alex
  • 11
  • 1
  • 3
0
votes
1 answer

Where is the audio unit extension app template?

Apple's docs show: Yet, I open XCode (13.3.1) There is no template for this...........
patrick
  • 9,290
  • 13
  • 61
  • 112
0
votes
0 answers

Create AUv3 audio unit supporting multiple channels

Assuming I've got AVAudioInputNode with N channels (In the current example it's 4) I want to connect it to my custom AUv3 audio unit where I could manipulate them, how could I achieve that? I've tried Hardcoding channel format in my AUv3 extension…
0
votes
0 answers

Record and add audio effects at the same time in iOS with audio unit

I'm getting error -1 oostatus from AudioUnitRender in the following context. The only major difference in my project is that I'm also using the Remote I/O unit for audio output. The audio output works fine. Here is my input callback and my…
0
votes
0 answers

How to merge two Audio Units into AudioBufferList for AURenderCallback

Please see code below. All I want to, is to merge bufflist1 and bufflist2, then inset to ioData. But I don't know how. OSStatus PlayCallback(void *inRefCon, AudioUnitRenderActionFlags *ioActionFlags, …
Alan Luo
  • 159
  • 1
  • 13
0
votes
1 answer

In iOS, are we able to intercept/transform microphone audio before it is passed to other apps?

I wish to create an app that will preprocess microphone input before sending it on to the rest of the system. Something like this: [Mic Audio Unit] -> (...) [Mic Audio Unit] -> [My app transforms audio] -> (...) Now my guess is that this is most…
P i
  • 29,020
  • 36
  • 159
  • 267