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
0
votes
1 answer

Pan audio tracks in an AVMutableVideoComposition

I've created an app that allows mixing of several videos and their respective audio tracks. I can edit the volume levels just fine using an AVAudioMix, but what I would really like to be able to do is to adjust the pan of each audio track. I know…
Luke Smith
  • 1,218
  • 12
  • 17
0
votes
0 answers

Audio Units sound check feature effect

I am using Audio Units to create a music(voice) App. The app is going to have speakers(like in a interview) and a background music. What I need is balancing the volume of the speakers, to make it feel like everybody is talking with the same tone. …
Arben Pnishi
  • 591
  • 5
  • 11
0
votes
1 answer

How to get the volume of an AudioUnit

I am using AudioUnit to play input from the microphone to the earphones. It's working great. Now I need to increase the volume of weak sounds and decrease strong ones. I found a way to increase the sound: static OSStatus performRender (void …
roiberg
  • 13,629
  • 12
  • 60
  • 91
0
votes
1 answer

How do you shift phase of audio unit output 180 degrees

I am trying to take audio from the mic in and apply a 180 phase shift to that input stream and output it. Here is the code I'm using to init the session and capture the audio (sample rate is set to 44.1 KHz) OSStatus status = noErr; status =…
patrickjquinn
  • 288
  • 1
  • 15
0
votes
1 answer

kAudioUnitType_MusicEffect subtype research

I'm trying to find all subtypes of this kAudioUnitType_MusicEffect in CoreAudio. all other types are well documented but this it seems not at all. Someone can illustrate all subTypes of kAudioUnitType_MusicEffect ?
Vasa
  • 135
  • 8
0
votes
0 answers

Selecting external mic in AudioUnit in mac

I am trying to set the external mic for MAC using the AudioUnit. I have googled and found that it is possible to set the default input device on mac using…
Dinesh
  • 929
  • 7
  • 25
0
votes
1 answer

Audio Unit - Messing up recording

Sorry for a long introduction of the problem. In my app I am using recording audio and set category to record AVAudioSession *session = [AVAudioSession sharedInstance]; [session setCategory:AVAudioSessionCategoryRecord error:&err]; When an ad…
Amit
  • 69
  • 1
  • 1
  • 7
0
votes
0 answers

Apple Audio Mixer not producing volume

I am using audio mixer created by Apple with it I am starting the Audio Unit recorder to record. Playing audio files using mixer and recording using Audio Unit will be a simultaneous actions, I am initializing the Audio Session using…
0
votes
2 answers

Accurate timer using AudioUnit

I'm trying to make an accurate timer to analyze an input. I'd like to be able to measure 1% deviation in signals of ~200ms. My understanding is that using an AudioUnit will be able to get <1ms. I tried implementing the code from Stefan Popp's…
Greg
  • 11
  • 4
0
votes
2 answers

Recommended AUGraph Order when Chaining EQ's

I'm working on a synthesizer that incorporates an EQ section, and would like to know if anyone has a recommendation about the order that the Audiounits are chained together. Currently my graph looks something like this: AUSampler -> Lowpass Unit ->…
Youngin
  • 261
  • 4
  • 14
0
votes
2 answers

AUSampler: referencing external (downloaded) audio files

I have an app that uses .aupreset files along with .wav samples to define instruments that are loaded into an AUSampler audio unit. The .aupreset files reference the .wav files with absolute paths. As described in Technical Note 2283, if the audio…
Jayson
  • 1,689
  • 14
  • 26
0
votes
1 answer

How do you dynamically add new instruments to AUGraph

I am currently making a music app where you can add new instruments as tracks to the music sequnce. Here's what I have for when a new track has been added: MusicPlayerStop(_musicPlayer); status = MusicSequenceNewTrack(sequence,…
ipalibowhyte
  • 1,553
  • 2
  • 22
  • 34
0
votes
1 answer

Unable to AUGraphStart a simple Voice-Processing I/O with 2 render callbacks

I currently have an audio graph set up with just one Voice-Processing I/O. There are render callbacks for both the input and output bus and their appropriate AudioStreamBasicDescription applied to both the inward facing sides of the bus. So my audio…
cvu
  • 482
  • 2
  • 6
  • 20
0
votes
1 answer

audio unit fails to run in Logic; .exp _Entry undefined in linker

Background I am trying to get Apple's example TremoloUnit to run in Logic 9. From various forums and this SO answer, the problem with Apple's examples seems to be that Logic 9 (and many other AU hosts) use old Carbon resources. According to this…
Matthew Adams
  • 9,426
  • 3
  • 27
  • 43
0
votes
1 answer

AudioUnitSetProperty Swift errors

I am trying to set the bands in my equalizer by using AudioUnitSetProperty but cant figure out the syntax in Swift. My code looks like this: var eqFrequencies: NSArray = [ 32, 250, 500, 1000, 2000, 16000 ] var noBands =…
Paul Lehn
  • 3,202
  • 1
  • 24
  • 29