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

How do you record audio directly from iOS

My app involves creating and recording sounds you make within the app. I have tried multiple ways of recording like AVAudioRecord. So far these only offer a way to record through the microphone but I want to record the actual sounds made within the…
ipalibowhyte
  • 1,553
  • 2
  • 22
  • 34
1
vote
1 answer

What actions are permitted in an Audio Output Unit's input callback

I am using an Audio Output Unit to capture mic data. I get notified that there is data to read via a callback I have set using the kAudioOutputUnit_SetInputCallback property, and in the callback I read the data by calling…
Tom
  • 1,204
  • 2
  • 10
  • 25
1
vote
1 answer

Core audio - audio unit - compressor / limiter

I would like to implement a simple audio compressor / limiter in an iOS app. I am using core audio and audio units to do this and I've tried the Peak Limiter audio unit. What would you recommend for the best result? I want to use a compressor /…
Lehel Medves
  • 527
  • 1
  • 5
  • 15
1
vote
1 answer

Where is the callback function in Apple's PlaySequence project?

I want to bounce a midi file offline, and as the PlaySequence example does exactly this, I am trying to understand it. I keep reading everywhere that you need a callback function to do anything in CoreAudio, yet I cannot see any in this project. I…
popisar
  • 379
  • 2
  • 3
  • 15
1
vote
1 answer

Multichannel Mixer + Voice-Processing IO Unit

I have an AUGraph setup and working, it consists of a multichannel mixer (with a single monophonic input) feeding a RemoteIO (kAudioUnitSubType_RemoteIO) unit to output to the speaker. I implemented the single input mixer in order to be able to pan…
Electro-Bunny
  • 1,380
  • 2
  • 12
  • 33
1
vote
1 answer

How do you get the name and manufacturer of an AudioUnit as a string

I am currently writing some code to prototype an app which will host AudioUnit instruments. I am using AudioToolbox for this as it appears to be the most complete API available (AVFoundation looks good but seems limited in terms of MusicSequences…
Andrew
  • 251
  • 1
  • 8
1
vote
1 answer

What order do you add AudioUnit nodes in?

With audio units you have to add the nodes to a graph like so... AUGraphAddNode(processingGraph, &mixerUnitDescription, &mixerNode) AUGraphAddNode(processingGraph, &outputUnitDescription, &outputNode) Does the order of which node you call this on…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
1
vote
1 answer

iOS equalizer by kAudioUnitSubType_NBandEQ

I want to implement my equalizer on iOS device, and it seems to be achievable by kAudioUnitSubType_NBandEQ. However, after I set the gain of each band, I heard nothing changed on the sound. I use the sample code of…
1
vote
1 answer

difference between maximumFramesPerSlice , inNumberFrames and buffer duration

I am confused on these three concepts I am working on audio project on ios eventhough I am newbee on objective c and c. I am trying to get realtime fft of the audio data . During the process I have come to the point where I am very confused on these…
smoothumut
  • 3,423
  • 1
  • 25
  • 35
1
vote
0 answers

Able to play Stereo Type Audio on simulator but not on device using sample RemoteIO/AudioUnit app

In this sample app, I was able to load in a file of stereo data and play it using the simulator. But it doesn't work on the device. I tried using a sound editor and convert the stereo clip to mono and changing the descriptor settings and it will…
Peter Fong
  • 11
  • 1
  • 2
1
vote
1 answer

'Framework not found AudioUnit' when trying to build Audiobus iOS Project

I am experimenting with Cycling 74's Gen and attempting to build the Audiobus iOS Project in Xcode 5.1.1. The project needs the Audiobus SDK 1 which I was able to access checking out an earlier version since the current version is 2.1.3. It also…
Dave Chambers
  • 2,483
  • 2
  • 32
  • 55
1
vote
0 answers

Getting or setting the audio format that AUGraphAddRenderNotify receives

Is it possible to set the audio format for an AUGraphAddRenderNotify callback? If not, is it possible just to see what the format is at init time? I have a very simple AUGraph which plays audio from a kAudioUnitSubType_AudioFilePlayer to a…
Dan Halliday
  • 725
  • 6
  • 22
1
vote
2 answers

How can I mute microphone input volume using AudioUnits?

I'm using AudioUnits to record and play sound . It's part of a soft phone. This is my initialisation: AudioStreamBasicDescription audioFormat; audioFormat.mSampleRate = 8000; audioFormat.mFormatID = kAudioFormatULaw; …
Alexandru Pupsa
  • 1,798
  • 4
  • 21
  • 40
1
vote
1 answer

AVAudioUnit (render) callback

I'm trying to do some audio processing with the new AVAudioUnits / AVAudioNodes. As the AVAudioUnits expose their underlying (classic CA) AudioUnit, I assumed I could simply attach a render callback as always, but the callback never gets…
max
  • 1,509
  • 1
  • 19
  • 24
1
vote
1 answer

Can't add render callback to output unit

I'm writing an app that should mix several sounds from disk and save resulting file to disk. I'm trying to use Audio Units. I used Apple's MixerHost as a base for my app. It has Multichannel mixer connected to Remote I/O. When I'm trying to add…
Seify
  • 312
  • 2
  • 10