Questions tagged [audiounit]
Audio Units are plug-ins for Apple's CoreAudio framework which generate or process audio streams.
audiounit
757
questions
0
votes
0
answers
37
views
Audio mute after changing speed by AUGraph
I use AUGraph to change music speed and get music by rendercallback
_mixNode = [self addNode:kAudioUnitType_Mixer subType:kAudioUnitSubType_MultiChannelMixer];
_effectNode = [self addNode:...
1
vote
0
answers
24
views
How to play from engine.inputNode rather than from a file in an Audio Unit Extension App
I'm working with the default AudioUnitExtension project created by XCode 15.3 by going File > New > Project > Audio Unit Extension App (and selecting "Effect" as the Audio Unit Type)...
2
votes
1
answer
54
views
Playing audio stream using audio unit, crackling sound occurs
In iOS application,
Playing audio stream from BLE, using TPCircularBuffer and Audio Unit.
Sound plays well, but when buffer is empty and there are no bytes to play, it is causing crackling sound for ...
0
votes
0
answers
24
views
AUGraph kAudioUnitProperty_SetRenderCallback callback not invoke probabilistically
my auGraph struct is below. It use for record and play.
RenderCallback -> C16i_32fConvert -> timePitch -> C32f_16iConvert -> ioUnit -> RecordCallback
EveryTime I startRecord And Play, ...
-1
votes
1
answer
38
views
Cannot connect AVAudioUnitSampler to AVAudioEngine while the engine is running
The documentation for AVAudioEngine says
You can connect, disconnect, and remove audio nodes during runtime with minor limitations. Removing an audio node that has differing channel counts, or that’s ...
1
vote
2
answers
68
views
AudioUnitRender produces empty audio buffers
I'm trying to mix audio from a couple of audio sources using Audio Units. The structure is quite simple, I have two inputs, a mixer audio unit and a generic output. The problem is that the buffers ...
0
votes
0
answers
24
views
I need EXS24 File format description for my utility
In my recording studio I need serious customising and cataloging my .exs sample programs...
I want to write (C/C++/Swift... no matter) my own utility that would rename the names of samples (sample ...
0
votes
0
answers
12
views
Can't set parameters in apple provided Audio Units from my application
I have a music player that is able to save and restore AU parameters using the kAudioUnitProperty_ClassInfo property. For non apple AUs, this works fine. But for any of the Apple units, the class info ...
0
votes
0
answers
23
views
Running an AUv3 extension in standalone mode does not initialize the AudioUnit class
I've been developing an AUv3 plugin and running it inside a host as an extension has been fine, but I'm trying to make it run in standalone mode and struggling. My project structure is based on the ...
0
votes
1
answer
114
views
Where is the audio unit extension app template?
Apple's documentation shows:
Yet, I open XCode (13.3.1)
There is no template for this...........
0
votes
0
answers
58
views
How to merge two Audio Units into AudioBufferList for AURenderCallback
Please see code below. All I want to, is to merge bufflist1 and bufflist2, then inset to ioData. But I don't know how.
OSStatus PlayCallback(void *inRefCon,
...
0
votes
1
answer
140
views
In iOS, are we able to intercept/transform microphone audio before it is passed to other apps?
I wish to create an app that will preprocess microphone input before sending it on to the rest of the system.
Something like this:
[Mic Audio Unit] -> (...)
[Mic Audio Unit] -> [My app ...
1
vote
0
answers
42
views
How to check if any other App is using VoiceProcessingIO AU (macOS)
If a VOIP app is using VoiceProcessingIO AU, then other app (not use VoiceProcessingIO) will be suppressed to deliver it's sound.
Is there any kAudioProperty to get, for developer to check if current ...
3
votes
1
answer
646
views
AudioUnitRender error kAudioUnitErr_CannotDoInCurrentContext on iPhone 14 only
We have a communications application that has been out for over 8 years now on the IOS platform, and recently we have run into an issue on the new iPhone 14.
We are using the audio session category ...
0
votes
0
answers
151
views
file unit callback shows stereo channels in buffer, but the file loaded was 6 channel
We are trying to play an 5.1 (6 channels) AAC audio file using AUGraph. We also tried using AVAudioEngine. We have connected to 5.1 surround sound output device (Sony Speakers). The file is played as ...