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
2 answers

iOS - AudioSession Cateogry for AudioUnit Application

I am working on streaming audio player application for iOS. currently i am experimenting with AudioQueue and AudioUnit for playback. Both works fine in the normal condition. But I am facing an issue with AudioUnit version of app when it goes to…
jpsasi
  • 1,905
  • 2
  • 18
  • 29
1
vote
1 answer

Why is my Objective-C block not showing up when passed to Swift function?

I'm failing to pass an objective-c block to a swift function. I copied files from Apple example code for Audio Unit V3 to a fresh project, and something broke. There is an Objective-C function that passes an anonymous block to a Swift…
1
vote
1 answer

Polyphony with AudioRenderCallback and AudioUnitRenderFlag

I am getting my bearings in core audio / audio units, so please forgive me if this should be self evident. If i want to allow for five voices, I need 5 buses on the mixer and at least 5 buffers if i want 5 different sounds. I have figured out a…
griotspeak
  • 13,022
  • 13
  • 43
  • 54
1
vote
1 answer

How to record system sound in mac os like Wondershare Filmora Scrn?

Soundflower is usually used, but must be installed. Filmora srcn records system sound without installing drivers. How it captures the sound? MacOS, not iOS
Den
  • 41
  • 4
1
vote
1 answer

AVAudioEngine crash on connect node

I've setup my AVAudioEngine in its own method like this: AVAudioSession* session = [AVAudioSession sharedInstance]; [session setPreferredSampleRate:[session sampleRate] error:nil]; [session setCategory:AVAudioSessionCategoryPlayback…
Artelis
  • 159
  • 1
  • 11
1
vote
1 answer

IOS: Custom real time audio effect for audioEngine?

What is best way for creating custom real time audio effect for audioEngine in iOS ? I want to process audio at a low level, how to do it right? Be sure to use AudioUnitExtension? By simpler, I meant, is it possible to inherit from Audio Unit and…
arsenium
  • 571
  • 1
  • 7
  • 20
1
vote
0 answers

AU crackling while new view is displayed

On iPhone, I'm using an AudioUnit as a tone generator. Works fine. However, when I flip the view (turn the back side forward to display an info screen), during the transition the generated tone crackles, both in Simulator and on Device. This…
Joe Völker
  • 781
  • 1
  • 5
  • 19
1
vote
0 answers

OSX 14: identify mojave microphone missing permission

I wonder, I developed my own voice recording app for mac. In Mojave, user must give microphone permissions. How can I identify if the user gave me those permissions? I noticed that I can still Init and start the AudioUnit, even without…
Zvi Balas
  • 11
  • 1
1
vote
0 answers

Custom audio stream in AVCaptureSession

I am currently trying to record a video/audio stream using the new iOS 4 AVFoundation library. All is working well when using the pre set AVCaptureDeviceInput devices for the mic and camera, however I wish to use my own audio stream instead of one…
Toby
  • 77
  • 7
1
vote
1 answer

AudioUnitRender error -50 with odd length buffers

I have a RemoteIO unit configured with AVAudioSessionCategoryPlayAndRecord. I find some strange behavior in it. I open the app, and immediately close it before audioUnit initializes fully (it actually initializes in background as I quit the app too…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
1
vote
1 answer

Develop an audio unit plugin using Xcode's template

I am attempting to wrap my head around Xcode's audio unit extension template (found in the new target interface). I have loosely followed this tutorial to get the basics down but I am having trouble getting the UI functioning. When loading into…
1
vote
1 answer

Loading & Selecting audio files into Audio Units

I'm trying to build a Render Callback function that will load a variety of short sound files, and (according to my custom logic) put them in my mixer Unit's iOData audioBufferList. How do I load an aif or caf file into the program, and…
DanF
  • 589
  • 4
  • 23
1
vote
0 answers

In AVAudioEngine The AVAudioPlayerNode output doesn't seem to be the AVAudioUnitNode input

I attached an AVAudioPlayerNode to an AVAudioEngine, defined a File linked to the playerNode. I attached an AVAudioUnitNode linked to my own AUAudioUnit. First time. I connected the playerNode directly to the mainMixerNode and when i start playing…
1
vote
1 answer

Audio Unit increases render callback inNumberFrames when proximity sensor is covered

I'm using Linphone SDK for a VoIP iOS app. And I found the proximity sensor (the one that will dim your screen when you put the phone close to ear) affects the incoming voice badly. I found The inBusNumber for input render callback will increase to…
steven
  • 1,237
  • 2
  • 11
  • 13
1
vote
1 answer

How to get audio from device audio input using audio unit osx

I have spent quite a time trying to figure out of how I can get the voice from the user microphone using audio unit so that I can use it in the audio unit recording call back but I am still stack. - (OSStatus) setupMicInput…
akaiz
  • 131
  • 11