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

Splitting up Audio Unit streams on the iPhone

I'm developing a means of bringing several sensor signals, modulated together into one signal, into the iPhone through the audio input. I need to do several things: Demodulate these signals from the input signal through a trivial filter chain, and…
GarlicFries
  • 8,095
  • 5
  • 36
  • 53
0
votes
1 answer

Time diff between AudioOutputUnitStart() and render callbackm for RemoteIO

This is a pretty "minutia" question regarding timing... I'm using iOS's RemoteIO audio unit to do things. Just wonder how exactly system handles the timing: after calling AudioOutputUnitStart(), the unit should on "on", then render callbacks will be…
Kitetaka
  • 527
  • 4
  • 20
0
votes
2 answers

Memory leak in audio callback thread (iOS)

My app has an audio recording callback which is called by the RemoteIO AudioUnit framework. The AudioUnit calls the callback in a thread different from the main thread, so it does not have an autorelease pool. In this callback I do the…
Itamar Katz
  • 9,544
  • 5
  • 42
  • 74
0
votes
1 answer

AudioUnit - Control left channel and right channel output in Swift

I am trying to record and play simultaneous with swift. I need to play in left channel and right channel respectively. I am successful in record and play in one channel using AudioUnit. But after I try to use two buffers to control two channels,…
Kaya Zhou
  • 13
  • 5
0
votes
1 answer

AVAudioSession RemoteIO playAndRecord

I think AVAudioSession APIs have evolved quite a bit since iOS7 and often are confusing. My objective is to setup a RemoteIO unit, record audio from microphone and playback samples simultaneously through headphones. If no headphones are present,…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
0
votes
1 answer

Synchronous play of several players in AUGraph

I use AUGraph, which contains several (10, for example) players, mixer and output. If I turn on players with delay about 0,2sec - it's ok, they all play, but if I turn on them at the same time, only 3-4 players play. It's ok, all players play, but…
Dmitrii
  • 85
  • 1
  • 7
0
votes
0 answers

Echo Cancellation Support in iOS Using AudioQueue

I need to delete the echo noise within my audio signal. To create the communication channel I used AudioQueue for my app as reported in the AQRecorder class from the SpeakHere:…
0
votes
1 answer

AUGraph playback of aac->pcm converted audio stream sounds choppy on iPhone7plus but not iPhone6

I have built an AUGraph with an AUMixer and the audio playback sounds awful when playing out the stream through the callback on iPhone7plus. You can hear the audio and what is being said but it is very scratchy. If I build and run on my iPhone6…
theprojectabot
  • 1,163
  • 12
  • 19
0
votes
2 answers

AudioUnit recording glitches every 30 seconds

I've used this sample code to create an audio recorder. http://www.stefanpopp.de/capture-iphone-microphone/ I'm finding I get glitches about every 30 seconds. They sound a bit like buffer glitches to me, although I might be wrong. I've tried…
rhowells
  • 1
  • 1
0
votes
1 answer

Version 3 AudioUnits: minimum frameCount in internalRenderBlock

The example code for creating a version 3 AudioUnit demonstrates how the implementation needs to return a function block for rendering processing. The block will both get samples from the previous AxudioUnit in the chain via pullInputBlock and…
mondaugen
  • 425
  • 5
  • 12
0
votes
1 answer

Setting AUParameter's value from Host App

The Problem I am trying to get the new AUParameterTree and AUParameter's mechanism working in my Audio Unit V3 test project. The problem is that when I gain a reference to it from the Host App and change its value, the Audio Unit extension's…
Alex Bollbach
  • 4,370
  • 9
  • 32
  • 80
0
votes
1 answer

Setting rate on AudioUnit subtype kAudioUnitSubType_NewTimePitch

I'm trying to get/set the rate of an AudioUnit with subtype kAudioUnitSubType_NewTimePitch. The audio unit is added to an AUGraph, through an AUNode, which has the following component description: acd->componentType =…
Vince
  • 525
  • 1
  • 3
  • 19
0
votes
2 answers

Overwriting AudioBufferList.mBuffers[0].mData?

I have a RemoteIO audio unit set up with a render callback. I already have a buffer of rendered audio, and for performance reasons would like to avoid a memcpy. OSStatus FMixerPlatformAudioUnit::AudioRenderCallback(void* RefCon,…
Kadinski
  • 161
  • 14
0
votes
1 answer

Why some very old AudioToolbox APIs (AudioComponentDescription) supports only iOS 10.0+ now?

AudioUnit has been available for a long time, however I found lots of APIs only supports iOS 10.0+? e.g., AudioComponentDescription, kAudioOutputUnitProperty_EnableIO, kAudioOutputUnitProperty_SetInputCallback. Is it the mistake by Apple? Can I use…
feihu
  • 1,935
  • 16
  • 24
0
votes
0 answers

How to record all audio generated from my app (might from AVPlayer or others) in iOS? (not mic)

There are many audio generated from my app, the sources could be AVPlayer, AudioUnit, etc. I want to record all the audio(not from mic because that would record user voice) into a single file. Is there any way to get the final mixed audio data…
feihu
  • 1,935
  • 16
  • 24