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

how to get 3sn of audio buffer ios

how can I get 3sn of samples of an audio that is being recorded. I have used RemoteIO audiounit and it brings 512 samples and it is 10 milisecond. I need total 3sec of samples? Can you give me an idea how to do it . here is my another post with…
smoothumut
  • 3,423
  • 1
  • 25
  • 35
0
votes
2 answers

Concatenating Audio Buffers in ObjectiveC

First of all I am new bee on c and objective c I try to fft a buffer of audio and plot the graph of it. I use audio unit callback to get audio buffer. the callback brings 512 frames but after 471 frames it brings 0. (I dont know this is normal or…
smoothumut
  • 3,423
  • 1
  • 25
  • 35
0
votes
1 answer

how to free memory used by AudioFileReadPacketData - Xcode shows memory still in use

I'm reading an audio file into RAM using the following method by passing an MPMediaItem object. However, each time this is called, the beginning of the function is supposed to free the memory used for the previous audio file and it doesn't, i.e.,…
JackyJohnson
  • 3,106
  • 3
  • 28
  • 35
0
votes
0 answers

Boost.Asio local TCP Sockets in C++ - cannot write successfully more than once?

I'm trying to make an audio plugin which can connect to a local Java server and send it data through a socket (TCP). As I heard many nice things about it, I'm using Boost's ASIO library to do the work. I'm having quite a strange bug in my code : my…
Martin
  • 1
  • 1
  • 3
0
votes
1 answer

Connecting two kAudioUnitType_Effect nodes in augraph

I am trying connect kAudioUnitSubType_AUiPodEQ & kAudioUnitSubType_NBandEQ in a graph. But AUGraphInitialize always fails with error -10868. The graphs has FilePlayerNode->iPodEqNode->bandEqNode->outPutNode. I tried…
Clement Prem
  • 3,112
  • 2
  • 23
  • 43
0
votes
1 answer

iOS multiple audio oscillators

Just started learning and testing with the iOS AudioUnit framework and made a multichannel mixer with a render callback function in bus 0. In the callback function I synthesize a sound like so: OSStatus RenderTone(void *inRefCon,…
Youri
  • 38
  • 1
  • 6
0
votes
0 answers

audio effects when playing video

Is there any way to process the playing audio in avplayer? something like writeSampleBuffer:(CMSampleBufferRef)sampleBuffer ofType:(NSString *)mediaType of AVCaptureSession just for playing
0
votes
1 answer

Is there a way to route the voice processing io audio unit to a bluetooth device?

I am doing an app which needs the voice processing io audio unit to do some echo cancellation work. It works fine, but it turned out that the audio output cannot route to bluetooth device (it is not a hands free bluetooth device but a bluetooth…
seanxiaoxiao
  • 1,282
  • 2
  • 11
  • 23
0
votes
1 answer

using AudioUnit Reverb2 - error at AUGraphInitialize

I use Apple's example code iPhoneMixerEQGraphTest https://developer.apple.com/library/ios/samplecode/iPhoneMixerEQGraphTest/Introduction/Intro.html and simply exchanged the AudioUnit iPodEQ by a Reverb2 (same error when using a Delay instead) I…
jasonTard
  • 1
  • 1
0
votes
1 answer

How do I get the inDataSize for use in setting AudioUnitSetProperty in Swift?

I roughly have the following code in Swift: var inputFileURL : NSURL var inputFile : AudioFileID inputFileURL = NSURL.fileURLWithPath("/Bird.wav") status = AudioFileOpenURL(inputFileURL, Int8(kAudioFileReadPermission), 0, &inputFile) status =…
FTNomad
  • 175
  • 8
0
votes
1 answer

Mixer AudioUnit to RemoteIO AudioUnit

I have an AudioUnit with correspondent Callback working properly, But now, I need to send it to a RemoteIO, cause i'm implementing some framework who needs an RemoteIO AudioUnit to work. THen... I need the same output i'm getting with this audiounit…
Fischer
  • 1,513
  • 4
  • 17
  • 38
0
votes
1 answer

Only play audio from array once without looping

I'm completely a beginner when it comes to audio programming and right now I'm playing around with AudioUnit. I'm following http://www.cocoawithlove.com/2010/10/ios-tone-generator-introduction-to.html and I've ported over the code to work with…
0
votes
1 answer

Guide for Building Audio Units in Xcode 5 on OSX 10.9

I started reading the apple developer documentation for audio units here, but I realized that the docs are very outdated and there appears to be no audio unit template available in xcode 5. I looked for quite some time yesterday and today for an…
0
votes
1 answer

Audio Unit Instrument adding master effects

Like in a VST instrument there is a processReplacing (Render) function where the sum of every MIDI note will be played at the same time, and you can add master effects to all the mixed notes. But in Audio Unit creating an instrument there is only…
0
votes
0 answers

Audio Unit Render Callback - change it on the fly?

I have a multichannel mixer and a remote I/O in a graph, setup to play uncompressed caf files. So far so good. Next, I am experimenting with doing weird stuff on the render callback (say, generate white noise, or play a sine wave, etc. -…
Nicolas Miari
  • 16,006
  • 8
  • 81
  • 189