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

AVAudioUnit (OS X) render block only called for certain sample rates

I'm having trouble getting AVAudioEngine (OS X) to play nice with all sample rates. Here's my code for building the connections: - (void)makeAudioConnections { auto hardwareFormat = [self.audioEngine.outputNode outputFormatForBus:0]; auto…
Taylor
  • 5,871
  • 2
  • 30
  • 64
1
vote
0 answers

How to reset/clear AudioUnit/AudioSession settings/properties in iOS?

I am writing a VoIP app that uses AudioUnit for it's audio related tasks. Here, a lot of properties of AudioUnit and AudioSession are being set from a lot of places using the following two method AudioComponentInstance audioUnit; AudioComponent…
Partho Biswas
  • 2,290
  • 1
  • 24
  • 39
1
vote
1 answer

AUGraphAddNode -10862

I want to implement a Audio Unit pattern,I/O Pass Through.My code below OSStatus result = noErr; result = NewAUGraph(&audioGraph); if (noErr != result) {[self printErrorMessage: @"NewAUGraph" withStatus: result]; return;} // 2.add…
alpine
  • 927
  • 6
  • 17
1
vote
1 answer

Audio Unit V3 Extensions: Swift vs. Objective-C

I want to create an Audio Unit Extension for iOS using the new AU Extentions v3 framework. The documentation and sample code provided by Apple is sparse and only available in Swift format. Does this mean it's only possible to create AU Extensions…
Bram Bos
  • 135
  • 7
1
vote
1 answer

iOS AudioUnit v3 not visible on iPad2 simulator

I'd like to create an AudioUnit v3 as an extension for iOS 9.0 So, I watched the video from WWDC 2015 from there: https://developer.apple.com/videos/play/wwdc2015/508/ downloaded the sample code from here:…
mqqla
  • 39
  • 2
1
vote
0 answers

AUGraphConnectNodeInput returns OSStatus -10861

I have a Audio Unit graph which looks like that: mixer0 -> lowpass -> mixer1 -> output The connection is done using commands like this: error = AUGraphConnectNodeInput(audioUnitGraph, lowpass,0, …
Awsed
  • 9,094
  • 5
  • 26
  • 25
1
vote
0 answers

OSX CoreAudio play through, no Graph API, no CAPublicUtility

This question is not about AU plugins, but about integrating audio units as building blocks of standalone application programs. After much trying I can't figure out what would be the simplest "graphless" connection of two AudioUnits, which would…
user3078414
  • 1,942
  • 2
  • 16
  • 24
1
vote
0 answers

Click/pop in repeatedly low pitch audio sample playing with iOS Audio Unit

I'm developing a music instrument in iOS with two audio samples (high and low pitches) that are played with view touches. The first sample is very short (a half second) and the other is a little bigger (two seconds). When I play repeatedly and fast…
msampaio
  • 3,394
  • 6
  • 33
  • 53
1
vote
0 answers

Playing audio using kAudioUnitSubType_AudioFilePlayer

I successfully implemented an audio file player using the remote I/O audio unit and a render callback where I use ExtAudioFileRead to render audio frames. At this moment I was just wondering what the difference would be of using…
Gerard
  • 349
  • 2
  • 16
1
vote
2 answers

How to change a recorded voice to a man's voice in Core Audio (Audio Unit/ Remote IO) for iPhone

I am new to Core Audio and really lost, I am trying to record an audio and then apply voice modulation to that recording and play it back. I have looked at the example Speak Here which uses Audio Queue for audio recording. I am stuck at the part of…
1
vote
0 answers

AudioUnits v3 OS X: How AU PlugIn may detect that AU Host did close window.

In OS X SDK 10.11 AUViewController.viewWillDisappear() not called when AU Host closes the PlugIn window. It called one time before PlugIn unloading. How then AudioUnit may know that AU Host did close PlugIn window and AudioUnit view may suspend…
Vlad
  • 6,402
  • 1
  • 60
  • 74
1
vote
1 answer

Reading chunks of audio with ringbuffer

I would like to analyze chunks of audio data of one second. For this purpose I implemented an audio unit that fills a ringbuffer (TPCircularBuffer by Michael Tyson). In another file I try to read chunks of one second using a NStimer. Unfortunately,…
Gerard
  • 349
  • 2
  • 16
1
vote
0 answers

kAppleSoftwareAudioCodecManufacturer analogue for os x

So i trying save my audio using this method. But I need it on os x. In this method men use: UInt32 codecManufacturer = kAppleSoftwareAudioCodecManufacturer; status = ExtAudioFileSetProperty( audioFile,…
Ray
  • 51
  • 5
1
vote
2 answers

How do I use the AudioUnit to play the audio stream from server?

- (void)openPlayThreadWithRtmpURL:(NSString *)rtmpURL { spx_int16_t *input_buffer; do { if (self.rtmpDelegate) { [self.rtmpDelegate evenCallbackWithEvent:2000]; } //init speex decoder and config; speex_bits_init(&dbits); …
Shen.Xs
  • 13
  • 4
1
vote
0 answers

Stereo recording on iPhone with bluetooth microphones

I'm developing a hearing aid app, and hope to record in stereo so that I could do some noise reduction or sound localization. I've searched a lot and learnt that iphone 6 has 3 built-in mic, and I COULD NOT record from more than one simultaneously.…
Sie Kensou
  • 65
  • 6