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

How to connect together RemoteIO, Mixer and Filter in AudioGraph?

I have a question about the node connection in AudioGraph. My idea is to receive from input the voice, turn it up volume with a mixer and filter with a low-pass filter. Reading the book "Learning Core Audio" I was able to connect and to operate the…
Fantastico
  • 31
  • 7
1
vote
2 answers

Mixing down two files together using Extended Audio File Services

I am doing some custom audio post-processing using audio units. I have two files that I am merging together (links below), but am coming up with some weird noise in the output. What am I doing wrong? I have verified that before this step, the 2…
coneybeare
  • 33,113
  • 21
  • 131
  • 183
1
vote
1 answer

ExtAudioFileSeek and ExtAudioFileWrite together on the same file

I have a situation where I can save a post-processing pass through the audio by taking some manipulated buffer from the end of the track and writing them to the beginning of my output file. I originally thought I could do this by resetting the write…
coneybeare
  • 33,113
  • 21
  • 131
  • 183
1
vote
1 answer

OS X AudioUnit: kAudio_ParamError when setting misc properties on a Generator

I'm building a simple AudioUnit app which should use an AUGraph to connect a generator (which generates, say, a sine wave) to a format converter (because that seems like what I need) to an output device. Code snippets: { …
iAdjunct
  • 2,739
  • 1
  • 18
  • 27
1
vote
1 answer

AUGraphGetNodeInteractions returns no interactions on iphone 5c

I use AUNodeInteraction interaction; UInt32 ioNumInteractions; AUGraphGetNodeInteractions(graph, node, &ioNumInteractions, &interaction)); On all devices (iphone…
Dmitrii
  • 85
  • 1
  • 7
1
vote
2 answers

RemoteIO configuration at runtime

I have a RemoteIO unit setup that gets input from microphone and plays it. The playback can be enabled or disabled anytime with a tap of a button. My question is does the call to enable or disable playback requires audio unit to stop, uninitialize…
Deepak Sharma
  • 5,577
  • 7
  • 55
  • 131
1
vote
1 answer

How to play infinitely overlapping sounds?

I have a button that triggers a sound on an iphone. I am using AudioUnits to minimize the latency. Right now, if the user taps the button twice, the sound do not overlap and the first triggered sound is cut by the second sound. Is there an easy way…
André
  • 671
  • 1
  • 7
  • 21
1
vote
0 answers

remove pop/click when stopping audiounit

When i call AudioOutputUnitStop, I hear an audible pop/click. Is there a way to prevent this? One solution I had in mind was to set a flag as soon as the user pauses. This flag would cause the audio to keep running but it would fade out. Then it…
Joris Weimar
  • 4,783
  • 4
  • 33
  • 53
1
vote
0 answers

Host aumu AudioUnit

I'm having a heck of a time trying to get kAudioUnitEvent_ParameterValueChange to work with my custom C++ Audio Unit Host app and a third party 'aumu' unit. I'm loading the unit and displaying the user interfaces just fine. The audio unit is…
Malfunkn
  • 11
  • 3
1
vote
1 answer

AudioUnit Programming iOS iPhone 6s error 50 in audiounitrender after playing back audio

I have an application that had previously been working fine (using iOS 9, iPhone 6 and lower). It uses Audio Unit APIs to process audio using an AudioUnitRender callback (calculating audio frequencies). This code also worked fine on iPhone 6s until…
1
vote
1 answer

AudioUnit: access ComponentKernel properties from CocoaView

I would like to access my AudioUnit Component Kernel members from an action method defined in the cocoa view of my AudioUnit Component : - (IBAction)iaParam1Changed:(id)sender { float floatValue = [sender floatValue]; …
moala
  • 5,094
  • 9
  • 45
  • 66
1
vote
1 answer

Add a string parameter to an AudioUnit

For instance, this AudioUnit has to connect to a host through the network, and the hostname has to be configured in a Cocoa View, and has to be saved so that reloading the project restores the hostname. How would you do that (interface + parameter…
moala
  • 5,094
  • 9
  • 45
  • 66
1
vote
3 answers

Why does this Audio Unit RemoteIO initialisation work on iPhone but not in simulator?

I am using the Audio Unit services to set up an output rendering callback so I can mix together synthesized audio. The code I have seems to work perfectly on the devices I have (iPod Touch, iPhone 3G, and iPad) but fails to work on the…
1
vote
0 answers

iOS Core audio sound clicking when playback is interruped

I just started learning Core Audio and faced with an issue. I have a simple iOS sound app with one button which plays some sound when pressed. For sound playback I am using AudioUnits. Everything is OK when the button is tapped with low…
jangofett
  • 59
  • 1
  • 12
1
vote
2 answers

Core Audio AudioFIleReadPackets... looking for raw audio

I'm trying to get raw audio data from a file (i'm used to seeing floating point values between -1 and 1). I'm trying to pull this data out of the buffers in real time so that I can provide some type of metering for the app. I'm basically reading the…
Corey
  • 41
  • 3