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

How to implement AudioUnit descended from MusicDeviceBase with 1 output and 2 inputs? (it generates silence in Digital Performer)

I have a really weird issue here. I implemented an AU, using MusicDeviceBase. If the AU has 1 input bus and 1 output bus, it works everywhere. If it has 2 inputs (main and sidechain input), it works too, but not in Digital Performer - it seems…
Vojtěch Melda Meluzín
  • 1,117
  • 3
  • 11
  • 22
0
votes
2 answers

Programming language for OSX components

I am going to develop an AudioUnit software synth component for use in Logic Pro, GarageBand, etc. In Apple's tutorial, they use C++. Is this mandatory, or could I use Objective C as well?
Richard G. Nielsen
  • 1,221
  • 10
  • 13
0
votes
4 answers

OSX AudioUnit SMP

I'd like to know if someone has experience in writing a HAL AudioUnit rendering callback taking benefits of multi-core processors and/or symmetric multiprocessing? My scenario is the following: A single audio component of sub-type…
user3078414
  • 1,942
  • 2
  • 16
  • 24
0
votes
1 answer

Apple CoreAudio on iOS: synthesis to Reverb2 AudioUnit to RemoteIO

I've successfully been synthesizing 16-bit linear PCM and outputing it to the RemoteIO AudioUnit. Now I'm trying to add a Reverb2 Audio Unit prior to outputing to RemoteIO. I'm creating an AudioGraph and setting the callback to the Reverb Unit, but…
windup
  • 455
  • 1
  • 5
  • 17
0
votes
1 answer

Using AudioUnits to play and eq songs from music library

I'm building an app that involves playing songs from the user's music library while applying an equalization (EQ) effect. I've only used AudioUnits to generate sound before, so I'm having a bit of trouble. My current plan is to use AVAssetReader to…
Rogare
  • 3,234
  • 3
  • 27
  • 50
0
votes
1 answer

How to boost frequency range of MPMediaItem? (Like parametric EQ, e.g., boost 500 Hz by 12 dB)

I'm looking to build a really simple EQ that plays a filtered version of a song in the user's library. It would essentially be a parametric EQ: I'd specify the bandwidth, cut/boost (in dB), and centre frequency, and then be returned some object…
Rogare
  • 3,234
  • 3
  • 27
  • 50
0
votes
0 answers

How can I modify this AudioUnit code so that it has stereo output?

I can't seem to find what I'm looking for in the documentation. This code works great, but I want stereo output. - (void)createToneUnit { // Configure the search parameters to find the default playback output unit // (called the…
VaporwareWolf
  • 10,143
  • 10
  • 54
  • 80
0
votes
1 answer

AULab doesn't list AUSampler as an Audio Unit Instrument

I am trying to use Core Audio's AUSampler in my iOS application. Apple's Technical Note TN2283 and WWDC 2011 Session #411 mention using AULab to create an aupreset file with my desired audio samples, which I can then load in my iOS app. Sadly, when…
iccir
  • 5,078
  • 2
  • 22
  • 34
0
votes
1 answer

How to make OSX open the same bundle twice?

I have 2 bundles with the exact same contents, just copied them to a different folders and renamed appropriately (these are audio plugins to be specific). A host opens one bundle, that's correct, but then when it should open the second one, it…
Vojtěch Melda Meluzín
  • 1,117
  • 3
  • 11
  • 22
0
votes
2 answers

splitting recently mixed sound file into two sounds in iOS

I am mixing two different sounds which was recorded earlier and creating single sound file(.mp4) using AVMutableComposition and AVAudioMix.. first sound is of guitar, and second is of drum. now i want split those two sounds from .mp4 file and have…
0
votes
2 answers

how to set maximum volume? ios, audiounit

My application looks like this: An iOS tone generator (an introduction to AudioUnits) also generates some signal. I want to set the max volume when app has been started. How to do it? thx
phnmnn
  • 12,813
  • 11
  • 47
  • 64
0
votes
1 answer

Audio Unit Bandpass Filter iOS

I'm developing a Bandpass Filter for iOS and the filter needs two parameters (center frequency and bandwidth). The problem basically is that bandwidth is in Cents (range 100-1200) instead of Hz. I've tried to find a way to convert from Cents to Hz…
user1708257
  • 265
  • 1
  • 4
  • 6
0
votes
1 answer

Low-memory warning not dispatched on iOS 7 and AudioUnit

I made an example project that first create an Audio Unit render callback, then it allocates memory every 1/20 second and deallocate it as soon as the view controller receive a low-memory warning. The notification is dispatched just once, the second…
0
votes
2 answers

OSX: FFT Analysis AudioUnit

i am interested in FFT analysis for mac osx. I have found an tutorial for iOS (http://demetrimiller.com/2011/01/25/pitch-detection-in-ios-4-x/) and tried to "port" it to OSX. I have created a new Xcode-Project, integrated the code and removed the…
He Fo
  • 3
  • 3
0
votes
1 answer

AUAudioFilePlayer silences whole graph after playing

In order to play sound fragments from a file, I have setup a Audio Graph with three units, a AUAudioFilePlayer unit, a mixer unit, and an output unit, according to the code in this SO question. That works fine, and plays my sound fragments…
fishinear
  • 6,101
  • 3
  • 36
  • 84