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

How can I get sample from AudioBufferList

I get the AudioBufferList from a wav file(Which Sample Rate is 44100HZ and the long time is 2second). But I can't get 44100*2=88200 samples. In actually I got an AudiobufferList which contain 512 nNumberBuffers. How can I get the sample from the…
yikyCai
  • 21
  • 3
1
vote
0 answers

AudioUnit Output Stream Bluetooth

I'm trying to stream my audio (output from AudioUnit callback) to bluetooth audio device. I found this from Apple doc. So try this code, but nothing happens: int audioCategory = kAudioSessionCategory_PlayAndRecord; int audioRoute =…
xunien
  • 185
  • 1
  • 9
1
vote
0 answers

AudioUnit: How to get the mixed audio data

I used the AudioUnit to mix the two audio files,and ioUnit to record from microphone, i want to get the synched audio data with mixer and record, but in the "RenderNotify" callback i only get the record data,how can i do this? …
ference
  • 23
  • 3
1
vote
3 answers

Play audio file using Audio Units?

I've successfully recorded audio from the microphone into an audio file using Audio Units with the help of openframeworks and this website http://atastypixel.com/blog/using-remoteio-audio-unit. I want to be able to stream the file back to audio…
docchang
  • 1,115
  • 15
  • 32
1
vote
2 answers

How Do I set multiple File Player Audio Units to start at the same time?

Right now I have a loop that loops through an array of file player audio units and tells them what position in the audio file to start playing. (this works) In this same loop I have the following code to tell the units when to start playing (-1…
Beleg
  • 362
  • 2
  • 23
1
vote
1 answer

Using AUSampler with individual caf files

I'm using Audio Unit AUSampler in my app. I was wondering is there a way to create and load custom preset from individual audio files on the fly? I know I can load .caf files with prepared Instrument Chunk metadata, but my problem is the metadata…
psci
  • 903
  • 9
  • 18
1
vote
1 answer

ffmpeg with AudioUnit

What I have My aim is to parse some media file using ffmpeg and provide video and audio playback. Which I do successfully using the OpenGL for video and AudioQueue for audio. What I need to do I need to change AudioQueue to Audio Unit service,…
deimus
  • 9,565
  • 12
  • 63
  • 107
1
vote
2 answers

Audio unit recording noise

I have been struggling with this yesterday and would really appreciate the help. I have a multi channel mixer audio unit and the callback assigned to each channel fills the needed audio buffer when called. I am trying to record within the same…
some_id
  • 29,466
  • 62
  • 182
  • 304
1
vote
1 answer

AudioUnit, configure a graph to convert frame and send it to a callback?

On Mac OS X, I try to get a audio stream from a user selected sound card and do some stuff with PCM buffer coming out. At this time, I can access to the good device and use a AudioDeviceIOProc to get buffer at the hardware native stream…
ygini
  • 105
  • 1
  • 7
1
vote
1 answer

AudioUnitRender fails with GenericOutput (-10877 /Invalid Element)

I am basically trying to obtain the samples produced by an AUGraph using a GenericOutput Node and a call to AudioUnitRender. As a starting point for my program I used the MixerHost example by Apple and changed the outputNode as…
user1512263
  • 217
  • 1
  • 7
1
vote
1 answer

iOS: Multiple AUs versus everything in one render callback

I'm doing some development on the custom sampler and audio engine for my (iPhone 4+) app, particularly adding recording and send effect features. I'm stuck trying to decide whether to go down the route of having everything handled in one big…
Hari Honor
  • 8,677
  • 8
  • 51
  • 54
1
vote
1 answer

Shifting Octave In CoreAudio AudioUnits (and more)

How would one shift Octave up or down on the audio buffer level? Or is there a library function for this? Is there a library or possibly an allowed (iOS) 3rd party library for determining some attributes of an audio file? Such as BPM, Key etc. Or…
some_id
  • 29,466
  • 62
  • 182
  • 304
1
vote
1 answer

How do I apply effect to mic input?(iOS Core Audio & Audio Graph)

I would like to develop application on iOS5 that get voice and apply effect(high pass filer, delay, and so on) to it and output it from speaker. I tried RemoteIO(input) -> effect ->RemoteIO(output) but it didn't work. AudioComponentDescription …
user1468755
  • 11
  • 1
  • 3
1
vote
1 answer

Multiple executables in Xcode4 for debugging plugins?

In Xcode 3.26 I am used to having a variety of plugin hosts supporting various audio plugin formats (VST, Audiounit, VST3 etc) in the "Active Executable" menu. This is very useful for quickly debugging in different hosts. When I bring my projects…
olilarkin
  • 460
  • 6
  • 17
1
vote
3 answers

could the iPhone's headphone jack be used as an input for a device?

I am working on a Remote Controller via Headphone jack of iPhone. It requires: In Sending mode, Send signal (19kHz) and signal (10kHz) as 1 and 0 respectively In Learning mode, it receive corresponding signal from other remote controller I read a…
SkyEagle888
  • 1,009
  • 2
  • 18
  • 42