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

Stop bus render callback without removing mixer bus or stop/start graph

To stop a mixer bus render callback, one can stop the graph, remove the bus and restart the graph. But I have two requirements: A. Do not want to stop/re-start the graph. B. Do not want to remove the mixer bus. I can disable / enable a…
user523234
  • 14,323
  • 10
  • 62
  • 102
1
vote
1 answer

Millisecond (and greater) precision for audio file elapsed time in iOS

I am looking for a low-latency way of finding out how many seconds have elapsed in an audio file to guaranteed millisecond precision in real-time. According to the AVAudioPlayer class reference, a call to -currentTime will return "the offset of the…
Ephemera
  • 8,672
  • 8
  • 44
  • 84
1
vote
0 answers

Airplay options are hidden after initialise AudioUnit on iOS

I'm using code from here to init Audio Unit. Problem is that I'm using Airplay (through MPVolumeView) inside my app and notice that just after initialise AudioProcessor (calling: [AudioProcessor alloc] init) all Airplay options are being hidden and…
Idan
  • 9,880
  • 10
  • 47
  • 76
1
vote
3 answers

Available formats of the Voice Processing Unit on mac os x

I'm using the vpio audio unit for capture and playout on mac os x. All things go well until I set the input/output format on the vpio unit. The format I wanted just like this: AudioStreamBasicDescription audio_format ; audio_format.mSampleRate =…
Jun Liu
  • 133
  • 1
  • 8
1
vote
0 answers

Can AUHAL adjust its I/O buffer size automatic?

I'm using the Audio Unit Framework to develop a VOIP app on mac os x. There are two audio unit in my program , one is the input-only AUHAL ,the other is the default output unit. I use the input-only AUHAL to capture audio. When the sample rate is…
Jun Liu
  • 133
  • 1
  • 8
1
vote
1 answer

How do I use an effect audio unit?

I'm trying to play 8000hz samples and pass them through an effect. I aim to boost the audio volume (sample code doesn't do it, yet). I figured I needed an effect audio unit, chained to the remote audio unit. I also read about the effect unit being…
Moshe Gottlieb
  • 3,963
  • 25
  • 41
1
vote
0 answers

AudioComponentCount not finding AUs

I'm trying to update a simple sequencer I wrote a few years ago in XCode 3. I hit a brick wall at the very outset because AudioComponentCount and AudioComponentFindNext do not find my software instruments. They just find two: Apple's DLS music…
Martin
  • 11
  • 2
1
vote
0 answers

How to convert AudioUnitSampleType to use with Dirac LE

I am getting crazy with this issue. I am using Dirac LE to perform pitch shifting but the library always adds lot of clicks to the resulting conversion. I need to do the conversion in real time inside the Callback function of an AudioUnit. All the…
1
vote
0 answers

Setting an AudioUnit's SampleRate to 16000 Hz without using an AudioSession

I would like to request a 16k Hz sample rate without using an audio session, but have thus far not been successful. Querying the hardware via AudioUnitGetProperty / SampleRate before configuring the mic / speakers reveals an mSampleRate of 0, which…
mingus
  • 33
  • 3
1
vote
0 answers

can an audio unit's inputcallback provide ima4 compressed data

I have loading an Ima4 databuffer and would like to play it. I have an inputcallback setup for linear pcm but logically this doesnt work with ima4 data. Is it possible to write an inputcallback which provides ima4 data to a converter which then…
aerlfredith
  • 1,123
  • 4
  • 12
  • 18
1
vote
1 answer

multiple effect-adjusted sounds through audio units on IOS?

If I have 5 sounds which all use a varispeed audio unit which different parameters, do I have to use an audio unit per set of parameters. Important to note with diffirent parameters I mean I cannot mix the 5 sounds together BEFORE I put them through…
aerlfredith
  • 1,123
  • 4
  • 12
  • 18
1
vote
2 answers

meaning of OSStatus -10861

I am trying to implement an audio unit and when I connect it into my AUGraph I get OSStatus result -10861. But I cannot find what this value means. Anyone know where this is documented or what it is.
aerlfredith
  • 1,123
  • 4
  • 12
  • 18
1
vote
2 answers

how to set scope and element when using audio unit

I am developing a karaoke software.and intend to mix the audio by using audiounit,but I don't know how to set the scope and element?for example: UInt32 busCount = 2; OSStatus result = AudioUnitSetProperty ( mixerUnit, …
Tan
  • 179
  • 3
  • 16
1
vote
0 answers

How to control the band equalizer

Now I have some band: self.eqFrequencies= @[ @32, @500, @1000, @2000, @4000, @8000, @16000 ]; I want to do it like: (source: apple.com) I know that kAudioUnitSubType_NBandEQ:(A generalized N-band graphic EQ with specifiable filter types…
Chun Roo
  • 11
  • 3
1
vote
1 answer

configure Mac OS X AudioUnit to provide SignedInteger samples

I am writing a Mac OS X application to capture some audio through the microphone with echo cancellation. I am creating an AudioUnit of type VoiceProcessingIO. I want to output the audio as Signed Integer Linear PCM. However, when I indicate that I…
Amber Haq Dixon
  • 614
  • 7
  • 9