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

stream Remote IO Audio Unit from one iPhone to another

I have found 3-4 examples which show usage of Remote IO Audio Units. like here, here etc. They covert the analog audio data from iPhone microphone and digitize them and then play them back. Upto this point everything works fine and now I have a good…
iAmd
  • 812
  • 1
  • 12
  • 22
1
vote
1 answer

Can't connect converter Audio Unit to Reverb Effect

I am trying to reshape an AUGraph that looks like this: multichannel mixer -> remote I/O into something like this: callback -> converter1 -> bandpass -> reverb -> converter2 -> mixer(bus 0) -> remote I/O after the graph has been initialized and…
Nicolas Miari
  • 16,006
  • 8
  • 81
  • 189
1
vote
0 answers

AVAudioSession cannot set "inputGain" for microphone on bluetooth headset

With mic on bluetooth headset, it seems we cannot set "inputGain" value by the method below class: AVAudioSession method: -(BOOL)setInputGain:(float)gain error:(NSError **)outError The default value of "inputGain" for bluetooth headset is about…
vietstone
  • 8,784
  • 16
  • 52
  • 79
1
vote
1 answer

How to set bus on apple's AudioUnit 3D Mixer?

I'm trying to figure out how to query or setup which sound is connected to which bus input of the 3D Mixer. Say I have an explosion sound, is there a way to specifically set which bus that sound will be located on for future reference?
Ryan Bartley
  • 606
  • 8
  • 17
1
vote
0 answers

GarageBand, Audio Units, and Custom Icons

I've created an audio unit that I will be exclusively using in GarageBand. I'd like to link it to a custom icon I've created, so that when I select my audio unit, the custom icon will show in the instrument window and/or the track pane. I've seen…
LisaMarie
  • 11
  • 1
  • 2
1
vote
0 answers

Using ARC for the Cocoa UI of an AudioUnit prevents NSView dealloc from being called

I recently converted my AudioUnit plugin to take advantage of ARC for all the interface code (Cocoa). However, this resulted in the main NSView (the one created by the CocoaViewFactory and returned to the plugin as a property) never having -dealloc…
1
vote
1 answer

From frequecy domain to time domain

based on my previous question and pitch detector on GitHub. I manage to detect what dominant frequecy have my sample. But like Zaph said, it would be folish to cut off whole sample. My question is if I already convert sample from time to frequency…
Błażej
  • 3,617
  • 7
  • 35
  • 62
1
vote
1 answer

Duplex Audio communication using AudioUnits

I am working on a app which has following requirements: Record real time audio from iOS device (iPhone/iPad) and send to server over network Play received audio from network server on iOS device(iPhone/iPad) Above mentioned things need to be done…
1
vote
2 answers

controlling an AudioUnit with MIDI keyboard OSX

I'd like to learn if a simple CoreAudio component (of subtype kAudioUnitSubType_HALOutput, e.g.), can be parametrically controlled by a MIDI keyboard, let's say MIDI note number be translated into interpollating oscillator frequency? On the other…
user3078414
  • 1,942
  • 2
  • 16
  • 24
1
vote
1 answer

iOS smbPitchShift doesn't work

so I'm trying to integrate the famous smbPitchShift algorithm into my project, but the input buffer and output buffer are the same. The smbPitchShift algorithm doesn't alter the samples in the buffer. Here's what I'm doing in post-render…
Skiny
  • 405
  • 1
  • 4
  • 16
1
vote
0 answers

Only one module for 2 Mac plugin bundles (AU, VST) gets loaded

my audio plugins are bundles with binaries containing exports for all supported formats, say AU and VST. I copy the exact same bundle (just different extension) to /Library/Audio/Plug-Ins/Components for AU and /Library/Audio/Plug-Ins/VST for…
Vojtěch Melda Meluzín
  • 1,117
  • 3
  • 11
  • 22
1
vote
0 answers

ios binaural audio unit

i'm new in audiounit. I'm confused to generate binaural tone filter, I was create two sound with left only and right only sound and add filter kAudioUnitSubType_LowPassFilter for each sound. When playing, i'm using UISlider to change…
opikpun
  • 33
  • 3
1
vote
1 answer

AudioUnit kAudioUnitSubType_Reverb2 and kAudioUnitType_FormatConverter

I have this AUGraph configuration AudioUnitGraph 0x2505000: Member Nodes: node 1: 'aufx' 'ipeq' 'appl', instance 0x15599530 O node 2: 'aufx' 'rvb2' 'appl', instance 0x1566ffd0 O node 3: 'aufc' 'conv' 'appl', instance 0x15676900 O …
loretoparisi
  • 15,724
  • 11
  • 102
  • 146
1
vote
1 answer

AUVoiceProcessing unit kAUVoiceIOProperty_VoiceProcessingQuality deprecated

According to AudioUnitProperties.h, the kAUVoiceIOProperty_VoiceProcessingQuality is deprecated. What is the replacement? @constant kAUVoiceIOProperty_VoiceProcessingQuality @discussion Scope: Global Value Type:…
user523234
  • 14,323
  • 10
  • 62
  • 102
1
vote
0 answers

Play and Record audio Iphone, AudioUnit

I want to add to this http://www.cocoawithlove.com/2010/10/ios-tone-generator-introduction-to.html example the recordCallBack: i add: recordingCallback: static OSStatus recordingCallback(void *inRefCon, …
phnmnn
  • 12,813
  • 11
  • 47
  • 64