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

The poor voice quality of my ios voip app

I am developing a voip app in ios platform. Now with the app we can speak to each other normally ,but the voice quality is not good enough.It takes me too much time to solve. There is a mic input demo(https://github.com/fuxx/MicInput).It records…
Raze
  • 1
  • 1
0
votes
2 answers

DIRAC2 for real time pitch shifting and autotune?

Has anyone implemented the DIRAC2 library from http://www.dspdimension.com/technology-licensing/dirac2-iphone/ for real time pitch correction on the iPhone? The library doesn't appear to support real time processing but perhaps someone has done…
John Fricker
  • 3,304
  • 21
  • 21
0
votes
1 answer

Error -10879 (kAudioUnitErr_InvalidProperty) when setting kMusicDeviceProperty_SoundBankURL in a sampler

In a command line Xcode project for Mac, using Swift, I am setting up an AudioGraph in order to play a MIDI file. At runtime, I repeatedly have an error -10879 (kAudioUnitErr_InvalidProperty) when I try to assign a SoundFont to the sampler unit. As…
popisar
  • 379
  • 2
  • 3
  • 15
0
votes
0 answers

audio unit view arc

I'm developing an Audio Unit with a custom view, setting ARC when building it in XCode. When It runs in LogicX everything is fine except after having closed the window of my view. When I try to (re)open it, it crashes in : void…
JLDB
  • 31
  • 3
0
votes
0 answers

Audible Clicks While Setting 3DMixer Parameter k3DMixerParam_OcclusionAttenuation

I am successfully using a 3D Mixer Audio Unit along with a FilePlayer AudioUnit (and a Converter Unit to handle the mono input for the mixer) in a simple AUGraph (no rendering callback, just the connected nodes). Everything works fine, even the…
auco
  • 9,329
  • 4
  • 47
  • 54
0
votes
1 answer

How to use an AU3DMixer with The Amazing Audio Engine?

I am using the (indeed!) Amazing Audio Engine to play some tracks (with an AUFilePlayer, each in a separate AEAudioChannel), which works quite nicely. Now, I would like to add the 3D Mixer Audio Unit kAudioUnitSubType_AU3DMixerEmbedded, but after…
auco
  • 9,329
  • 4
  • 47
  • 54
0
votes
1 answer

Input dropouts on plugging in headphones in iOS

I'm getting some long input audio dropouts after plugging in headphones on an iOS 8 device. That is, AudioUnitRender() succeeds as usual on the I/O audio unit, but has intermittent digital silence for a few seconds. It's a predictable pattern of…
Luke
  • 7,110
  • 6
  • 45
  • 74
0
votes
0 answers

Record microphone input with AudioUnit filter applied to the recorded file

I'm trying to make a little project just to see how to record the microphone input into a file with a AudioUnit filter (NewTimePitch). I use TheAmazingAudioEngine library in order to achieve this. I've tried to follow exactly how they implement this…
ouss
  • 54
  • 1
  • 8
0
votes
1 answer

Schedule an entire file with ScheduledAudioFileRegion

In Objective-C we filled out the ScheduledAudioFileRegion struct like so: ScheduledAudioFileRegion playRegion; playRegion.mTimeStamp.mFlags = kAudioTimeStampSampleTimeValid; playRegion.mTimeStamp.mSampleTime = 0; playRegion.mCompletionProc =…
joelperry
  • 158
  • 2
  • 5
0
votes
1 answer

Which built in AudioUnit can resample audio?

I have an application that will need to rapidly change the sample rate of audio. The pitch shift caused by doing simple linear interpolation of the samples is totally fine. Is there an audio unit that resamples in software in real time (ie: does…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
0
votes
1 answer

Audio Unit file recording with aurioTouch - AudioStreamBasicDescription configuration issue?

I've started down the path on learning Audio Unit with aurioTouch. After a few days of learning Audio Unit, I'm still feeling a bit lost and I think I'm missing something very obvious. Full source can be view at: http://pastebin.com/LXLYDEhy Also…
0
votes
1 answer

ExtAudioFileRead crash with code -40

My app plays music in background. I have audio key on in Background modes, my audio session looks like: AVAudioSession *audioSession = [AVAudioSession sharedInstance]; NSError *err = NULL; [audioSession setCategory:AVAudioSessionCategoryPlayback…
zshcbka
  • 416
  • 3
  • 14
0
votes
0 answers

AVAudioUnitComponentManager won't instantiate

When I add this line of code (to an empty new OS X 10.10 project): AVAudioUnitComponentManager *manager = [AVAudioUnitComponentManager sharedAudioUnitComponentManager]; I get this exception: Failed to set (contentViewController) user defined…
Graham
  • 151
  • 1
  • 5
0
votes
1 answer

IOS apply effects all over my audio engine sound result

is there a way in ios to put over my audio engine a kind of layer to apply DSP on all of my stuff? In fact I want to reproduce something like add a dsp hardware between a mixer and my speaker to apply an echo for example to the sound result without…
Pat
  • 1
  • 2
0
votes
1 answer

iOS - Audiounit volume balance between channel

I created an AUGraph to play music from iTunes library. I added mixer unit and effect unit to the AUGraph in the following order FilePlayerUnit->MixerUnit->EffectUnit->OutputUnit I am trying to change the volume balance between left and right…
Clement Prem
  • 3,112
  • 2
  • 23
  • 43