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
1
vote
0 answers

AudioOutputUnitStart fail with return code 561145187

Our app AudioOutputUnitStart always return the invoke AVAudioSessionErrorCodeCannotStartRecording, we invoke this method is in the foreground is not in the background, when appear the problem, the background no app running, What is the reason and…
1
vote
1 answer

iOS, Changing Call Volume

I am trying to change the call volume programmatically and searched a lot about it. I couldn't find a resource that is implementing it. some of my search links below. Setting the system volume in Swift under IOS Swift: Setting AVAudioSession…
Muhammad Faizan
  • 353
  • 4
  • 15
1
vote
1 answer

Mac OSX 10.7 Lion Audio Unit Effect template Failing to compile

I just upgraded to Mac OSX 10.7 Lion. First of all, I hate the new spaces, I dislike not being able to access any directories deeper than my user directory, but lets get to the question. I develop Audio Unit Plugins. I have a few whose code is…
Mark
  • 408
  • 3
  • 12
1
vote
1 answer

aurioTouch not playing back

I just downloaded and tried this one on the iPad. The mic is working since I can see the graphics displayed in response to voices. But there was no playback from the speaker. Yes, I have tried both mute button on and off. Any hint as to what…
user523234
  • 14,323
  • 10
  • 62
  • 102
1
vote
0 answers

Can you insert an audio unit in a microphone and speaker stream?

I am reading about Audio Units on OSX, but it's not totally clear to me what an Audio Unit is. I would like to insert custom audio processing in any stream that is being captured from a microphone or played by any application. Is it possible to…
user1884325
  • 2,530
  • 1
  • 30
  • 49
1
vote
2 answers

Develop an Audiounit in Swift

I have an application that should also work as an AudioUnit plugin. In Xcode, I go to File > New > Target, select AudioUnit and make sure that the selected language is "Swift". In the generated code, though, I have that the actual code of the plugin…
pistacchio
  • 56,889
  • 107
  • 278
  • 420
1
vote
0 answers

Using IPC Sockets from within a plugin dynamically loaded into a sandboxed macOS process

We are using nng IPC (basically a UNIX domain socket) inside an AU audio plugin that can be dynamically loaded by a host application at runtime – an AU plugin is basically a dynamic library. We use this IPC connection to communicate between multiple…
PluginPenguin
  • 1,576
  • 11
  • 25
1
vote
0 answers

Timestamping in AUv3 MIDI plug-in for iOS

I am trying to understand how timestamping works for an AUv3 MIDI plug-in of type "aumi", where the plug-in sends MIDI events to a host. I cache the MIDIOutputEventBlockand the transportStateBlock properties into _outputEventBlock and…
1
vote
1 answer

MacOS Catalina 10.15.7 AudioUnit Microphone notification callback not invoked

I am building a command line tool using only command line tools (mainly clang) in ObjC++ using AudioUnit v2(C) API. Output to speakers works fine but the input from microphone callback is never invoked. The iTerm or Terminal hosts have access…
Yttrill
  • 4,725
  • 1
  • 20
  • 29
1
vote
2 answers

AudioUnit framework not found

I am implementing an audio based application, in that I need to play both application audio and ipod auido. When I try to run my application I am getting an error like, ld: framework not found AudioUnit collect2: ld returned 1 exit status Command…
Sekhar Bhetalam
  • 4,501
  • 6
  • 33
  • 52
1
vote
0 answers

Swift hosting AUv3 with AVAudioEngine crashes in iOS simulator

I started a new iOS application, where I am hosting a AUv3 Plugin, which I created via an AudioUnit Extension. I am basically using the template, which Apple has provided me with. My main application is hosting the AUv3. The following code works on…
HTron
  • 337
  • 3
  • 14
1
vote
3 answers

Using iOS 3d Mixer

I have a AUGraph setup fairly simply with a multichannel mixer connected to an I/O unit. The playback is accessed through a callback function and everything works nicely. I am trying to switch over to the 3D Mixer instead of the Multichannel mixer.…
TurqMage
  • 3,321
  • 2
  • 31
  • 52
1
vote
1 answer

How to create a chain of audio unit that was AEС, resampling and lowpass filter

I use an audio unit with VoiceProcessingIO type to receive voice without echo. In RenderCallback I get sound samples and then set all buffer values to zero so that there is no playback. Now I need to change its sample rate from 48000 to 16000 after…
Kazus
  • 39
  • 6
1
vote
1 answer

AudioUnitInitialize failed with error code 1852008051

I'm trying to record with Audio Unit in iOS. I set componentSubType in AudioComponentDescription to kAudioUnitSubType_VoiceProcessingIO. Then both of AudioUnitInitialize and AudioOutputUnitStart's error code is 1852008051('ncfs'). I cannot find this…
Wot
  • 102
  • 11
1
vote
1 answer

Incorporating old-style view (Audio Unit View) into auto layout

I would like to embed a custom view created by an Audio Unit into a window that uses Auto Layout. After trying dozens of combinations, I still haven't found a way to do this which works with a large selection of Audio Units. The goal would be to…
Martin
  • 201
  • 1
  • 7