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
13
votes
2 answers

Can't continue reading from AVAssetReaderOutput after going to background and back to foreground

I'm using an AVAssetReaderOutput to read samples from an AVAsset, do some processing on them, and play the result using a RemoteIO AU. The problem is that after calling AudioOutputUnitStop to pause the playback, then after going to the background…
Danra
  • 9,546
  • 5
  • 59
  • 117
12
votes
2 answers

Can anybody help me in recording iPhone output sound through Audio Unit

this is my code : i use this code to record the iPhone output audio by using Audio Unit then saving the output in output.caf but the output.caf file is empty any body have idea about what shall i do ? the output audio file is empty this is…
khaled
  • 865
  • 9
  • 24
12
votes
0 answers

Vexing crash in AVAudioEngine

I have written the following AVAudioEngine code that initializes one of my custom AUAudioUnit subclasses and wires it up to the main mixer node of the engine. class AudioEngine { let engine = AVAudioEngine() init() { let sess =…
Alex Bollbach
  • 4,370
  • 9
  • 32
  • 80
12
votes
2 answers

How to strip Objective-C symbols from OS X binary?

OK, I know there have been other posts about how you can't actually strip Objective-C symbols from an OS X binary because they're necessary for Obj-C to work at all, but my case is a bit different. I have a single binary which is a bundle. It is…
jimw
  • 121
  • 3
12
votes
2 answers

Is there a way to turn off the automatic low-frequency filtering of the audio input on iOS 6.0?

I am working on an app that analyzes incoming audio from the built in microphone on iPhone/iPad using the iOS 6.0 SDK. I have been struggling some time with very low levels of the lower frequencies (i.e. below 200 Hz) and I have (on the web) found…
Leif
  • 121
  • 1
  • 5
11
votes
1 answer

Using CoreMIDI input with AVAudioUnit

I'm trying to achieve something that seems like it should be simple: listen for MIDI messages in a Mac app, and use these to play notes from an existing AVAudioUnit instrument. Hypothesis: I need to write a bridge between the MIDIReadBlock…
flatpickles
  • 2,198
  • 2
  • 15
  • 21
11
votes
5 answers

How to call audio plugins from within Python?

I've noticed that some open source DAWs such as Ardour and Audacity are able to access audio plugins (e.g. VST, AU) that the user has installed on their system. This makes me think that "there ought to be a way" to do this in general. Specifically,…
sh37211
  • 1,411
  • 1
  • 17
  • 39
11
votes
0 answers

AudioUnit Echo Cancellation Built-in Feature for iOS

Currently I am developing an iOS app that captures the sound using iPad mic. At the same time, a sound is being played through iPad speakers. Since the objective is to process the isolated input sound, the speaker feedback should be removed…
CRoig
  • 691
  • 5
  • 24
11
votes
2 answers

Select Back Microphone on iPhone 5

Is there a way for RemoteIO unit to pick up back microphone on iPhone 5 ? I can configure AVAudioSession to choose between front microphone or bottom microphone but I can't find a way to select the back Microphone. The AVFoundation framework for…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
10
votes
1 answer

Write Audio To Disk From IO Unit

Rewriting this question to be a little more succient. My problem is that I cant successfully write an audio file to disk from a remote IO Unit. The steps I took were to Open an mp3 file and extract its audio to buffers. I set up an asbd to use with…
dubbeat
  • 7,706
  • 18
  • 70
  • 122
10
votes
1 answer

'init()' is deprecated: init() will be removed in Swift 3. Use `nil`

I was using this code. var audioUnit:AudioUnit = AudioUnit() But in Xcode 7.3 (Swift 2.2) I am getting this warning. Any idea why? And how can I get rid of that? N.B. Is I use nil then my program crashes.
user6297291
10
votes
1 answer

equal power crossfade in Audio Unit?

This is actually more of a theoretical question, but here it goes: I'm developing an effect audio unit and it needs an equal power crossfade between dry and wet signals. But I'm confused about the right way to do the mapping function from the linear…
SaldaVonSchwartz
  • 3,769
  • 2
  • 41
  • 78
9
votes
1 answer

iOS Audio Units : When is usage of AUGraph's necessary?

I'm totally new to iOS programing (I'm more an Android guy..) and have to build an application dealing with audio DSP. (I know it's not the easiest way to approach iOS dev ;) ) The app needs to be able to accept inputs both from : 1- built-in…
Acacio Martins
  • 155
  • 2
  • 10
9
votes
1 answer

CoreAudio crash - AVAudioIONodeImpl.mm:365: _GetHWFormat: required condition is false: hwFormat

I'm working with two application modules: 1) Recording module with this audioSession setup: try audioSession.setCategory(AVAudioSessionCategoryRecord) try audioSession.setMode(AVAudioSessionModeMeasurement) try…
Nadir Bertolasi
  • 527
  • 6
  • 17
9
votes
2 answers

How to play PCM data/buffer just using AVAudioPlayer or AVPlayer?

How can i play PCM data/buffer just using AVAudioPlayer or AVPlayer ? I know, i can play PCM data/buffer using AudioUnit/AudioQueue by feeding the data into play callback method. But don't want to do this. I have searched on google a lot but…
Partho Biswas
  • 2,290
  • 1
  • 24
  • 39
1
2
3
50 51