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

Was aurioTouch example supposed to play back sound from the mic?

I ran aurioTouch examole on the iPad. But I could not hear any echo sound playing back from the mic. The graphics part is working fine.
user523234
  • 14,323
  • 10
  • 62
  • 102
0
votes
1 answer

Distorted microphone audio when the loudspeaker is enabled (Xamarin.iOS)

I am maintaining a Push-to-talk VoIP app. When a PTT call is running the app create an audio session m_AudioSession = AVAudioSession.SharedInstance(); NSError error; if (!m_AudioSession.SetCategory(AVAudioSession.CategoryPlayAndRecord,…
Domenico
  • 3
  • 2
0
votes
1 answer

Audio Unit (AUv3) in macOS only works in selected track in DAW

When I build an Audio Unit extension (instrument/aumu) using the template in XCode (New project → App, then New target → Audio Unit Extension) and then build and run it with either Logic Pro X or Garage Band, the plugin only functions when the track…
arghhh
  • 13
  • 1
  • 3
0
votes
1 answer

Audio Unit File Reader with AudioFileID and Encrypted File

I am reading in and playing audio files in MacOS using Audio Unit Generator AudioFilePlayer AudioComponentDescription fileplayercd = {0}; fileplayercd.componentType = kAudioUnitType_Generator; fileplayercd.componentSubType =…
Steve
  • 3,957
  • 2
  • 26
  • 50
0
votes
1 answer

Mono / Xamarin.iOS SIGTRAP gc.safepoint_poll crash

I have a Xamarin.iOS application in production that uses a lot of MIDI with soundfonts. I'm using appcenter.ms to capture crashes and log events. One crash keeps happening sporadically (and pretty rarely) to my users that I'm not able to recreate…
Sean
  • 868
  • 9
  • 22
0
votes
1 answer

How to get the NSView object from Audio Unit

I'm probably doing something really dumb here but this has got me stuck. I'm trying to display the view for an audio unit (if it has one). My understanding is that the AU factory class should return an NSView (I'm not worried about the option for…
Obmit
  • 21
  • 1
0
votes
2 answers

what will affect audio-unit render callback cycle(period)?

I use audio unit (subtype: VPIO),to play the audio . The audio sent by the network have jitter question: 1 .The audio unit start time is not fixed,sometimes 250MS,sometimes 400MS (in different iPhone iPad ) 2 . the play-callback period not even…
DLKUN
  • 3
  • 2
0
votes
1 answer

Detecting AUv3 invalidations in a host app (iOS)

I'm working on a AUv3 host app, and I want the users to be notified when a loaded audio unit crashes (gets invalidated) for some reason. I looked at Apple's documentations about AUAudioUnit, but couldn't find any information about how to detect an…
0
votes
1 answer

How to automatize audio unit bypass?

To automatize my audio units, I send events to the render thread where they are delayed to their exact timing in samples using AudioUnitScheduleParameters. Now I would like to automatize the bypass of any audio unit of type effect the same way.…
dspr
  • 2,383
  • 2
  • 15
  • 19
0
votes
1 answer

What does CannotDoInCurrentContext mean when reading from an AudioUnit

I'm reading from a AudioUnit using a AudioUnitRender() call in a loop on a dedicated thread. Most of the time it returns CannotDoInCurrentContext, but it also randomly works (every 10 calls or so) giving me audio data. My Audio Units are arranged as…
trampster
  • 8,598
  • 4
  • 37
  • 52
0
votes
1 answer

Playing audio while record will get a low volume

I use audiounit to record the voice and use audioqueue to play the audio data. When I set: [session setCategory:AVAudioSessionCategoryPlayAndRecord error:&error]; The volume of played audio will be very low. But when I set: [session…
Between
  • 15
  • 4
0
votes
0 answers

RemoteIO Unit remove background noise

Is there a way to remove background noise from audio samples coming from microphone(RemoteIO Unit) like Apple does it in AirPods during phone call? Which AudioUnit is most effective to achieve this?
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
0
votes
1 answer

Haptic feedback with RIO unit

If I have AVAudioSession configured with .playAndRecord category and a remote IO unit running, what's the besy way to enable haptic feedback on button presses?
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
0
votes
1 answer

Disabling AudioUnit AGC fails

I'm trying to disable AGC and bypass voice filter for the AudioUnit but it fails to set these two properties: private func setupAudioUnit() { var componentDesc:AudioComponentDescription = AudioComponentDescription( …
Maysam
  • 7,246
  • 13
  • 68
  • 106
0
votes
1 answer

CoreAudio: How to detect there's no device behind RemoteIO without starting it?

I'm trying to use kAudioUnitSubType_RemoteIO unit on Catalyst on a Mac where there's no microphone. The problem is, the whole initialization of bus 1 (that's input) goes fine, including setting the format, even enabling the bus, but then it fails at…
mojuba
  • 11,842
  • 9
  • 51
  • 72