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
2
votes
1 answer

what's the "best" approach to creating the UI of an audio plugin that will be both audio unit and VST for OS X and Windows?

I'm working on a couple audio plugins. Right now, they are audio units. And while the "DSP" code won't change for the most part between implementations / ports, I'm not sure how to go about the GUI. For instance, I was looking at the Apple-supplied…
SaldaVonSchwartz
  • 3,769
  • 2
  • 41
  • 78
2
votes
2 answers

AudioUnit tone generator is giving me a chirp at the end of each tone generated

I'm creating a old school music emulator for the old GWBasic PLAY command. To that end I have a tone generator and a music player. Between each of the notes played I'm getting a chirp sound that mucking things up. Below are both of my…
Justin808
  • 20,859
  • 46
  • 160
  • 265
1
vote
1 answer

play and record- AudioSessionSetProperty..?

Our app uses the remoteIO (audio-unit) to get audio input from mic, and DSP over it in real time, it has a callback function that gives me the buffer, and I work on it. At the same time, we need to play sounds over avAudioPlayer. I put in my init…
user1280535
  • 347
  • 3
  • 13
1
vote
2 answers

Can we use the Core Audio SDK for developing sound effect units for iOS?

There's a so called "Core Audio SDK" which Apple says is for "Mac OS X development". Since there are similarities between Core Audio on the Mac and Core Audio on iOS maybe it's possible to use that SDK for iOS development as well?
Proud Member
  • 40,078
  • 47
  • 146
  • 231
1
vote
1 answer

How to start playing a sound while iPod's screen is turned off?

I need to play a custom sound synthesized using AudioUnit on an iPod. This sound shall be played after up to one hour of playing music from a playlist on the iPod (it is played using MPMusicPlayerController). The issue is that everything works fine…
OtoLeo
  • 363
  • 3
  • 19
1
vote
1 answer

Maximum value for AudioUnit frame?

I have simple code that uses AudioUnit to render sine wave to the output. My question is: what is the range of values that I should put in frames ? I mean, in AudioUnitRender function I am supposed to supply buffer array with some audio data ... So…
xx77aBs
  • 4,678
  • 9
  • 53
  • 77
1
vote
2 answers

How To Record Audio With background Music?

from Last Few Days i am working on an iphone application Which needs to record the users audio and save it with a background music in it , in Simple words by appending two audio files generate a third audio File, I try to do it using…
Aadil
  • 713
  • 2
  • 12
  • 30
1
vote
0 answers

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 environment exists any app using…
lPenguin
  • 11
  • 3
1
vote
0 answers

AUGraph Record and Play

When I use AUGraph to implemention record and play, I want to get audio data through RenderCallback.There is a problem in remote io unit callback with error kAudioConverterErr_InvalidInputSize(1768846202),I don't know how to solve it. Is there any…
joy-711
  • 11
  • 2
1
vote
1 answer

AudioSession Settings for RemoteIO to play nice with iPod

As I previously found here. If you start running an AVAssetReader while using a Remote I/O callback to play audio, starting the AVAssetReader will block the Remote I/O callback unless you allow iPod mixing with... UInt32 audioCategory =…
TurqMage
  • 3,321
  • 2
  • 31
  • 52
1
vote
1 answer

Error -10877 when adding AUConverter to an AUGraph

I'm working with Apple's MixerHost sample project, which sets up an audio unit processing graph consisting of a multichannel mixer audio unit connected to a remote I/O audio unit. I'm trying to put a format converter audio unit between the two so I…
arlomedia
  • 8,534
  • 5
  • 60
  • 108
1
vote
1 answer

Low playback volume when using kAudioUnitSubType_VoiceProcessingIO audio unit

I’m developing a voice communication app for the iPad with both playback and record and using AudioUnit of type kAudioUnitSubType_VoiceProcessingIO to have echo cancellation. When playing the audio before initializing the recording audio unit,…
Oren Bengigi
  • 994
  • 9
  • 17
1
vote
0 answers

AUv3 extension based on AVAudioUnitSampler not registered

I created a multi-timbral instrument application based on multiple AVAudioUnitSampler instances (one per Midi channel), wrapped in a custom AVSampler class. I want to expose it also as an AUv3. I followed some articles and samples and put the view…
cjed
  • 61
  • 2
1
vote
0 answers

iOS 15 beta RemoteIO unit outputs silent frames with stereo orientation

Has anyone tried using RemoteIO unit on iOS 15 beta 3 with stereo orientation set on AVAudioSession? It emits silent audio frames on iOS 15 betas but works perfectly well on iOS 14. It works if stereo orientation is not enabled. This can be verified…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
1
vote
1 answer

AudioToolBox AudioConverterFillComplexBuffer implementation file is not present

I am using realtime audio rendering with Audio Unit RemoteIO and I need to do sample rate conversions to ensure that my rendering is the same sample rate as hardware specification. Eg. in iPhone 12 sample rate is 48khz but in iPhone 8 its…
cs guy
  • 926
  • 2
  • 13
  • 33