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

AudioUnitSetProperty fails with -10868 when setting kAudioUnitProperty_StreamFormat to AAC

I want to use the to encode the output of a AUGraph as AAC (on iOS 5.1). The basic topology of the graph looks like this: inputs --> MixerUnit --> pcm2aac --> aac2pcm --> RemoteIO I want to to grab the AAC-encoded data as it's playing via a…
user1512263
  • 217
  • 1
  • 7
0
votes
1 answer

Allocate buffers in AudioBufferList with only inNumberFrames information iOS

I have a recorder callback(kAudioOutputUnit_SetInputCallback) in which I need to allocate buffers in AudioBufferList with only one informatin-inNUmberFrames that the callback returns. How do I malloc for this? How can I determine how much data is…
Namratha
  • 16,630
  • 27
  • 90
  • 125
0
votes
1 answer

Responding well to touches

I'm working on a music app, so I can't really approve any latancy. I'm using the beloved touchesBegan/Moved/Ended to process my touches. Everything is going well, and I managed to synthesize a tone(using AudioUnit) and to show up a glow under the…
user1055486
0
votes
2 answers

Configure buffer list to store non-interleaved audio data?

I've got a callback from which I am attempting to capture audio from a remote I/O unit in an audio graph. Inside of my callback I have an AudioBufferList in an AudioUnitRender function that I need to store non-interleaved data from two…
Orpheus Mercury
  • 1,617
  • 2
  • 15
  • 30
0
votes
2 answers

audio unit Ostatus is leaks?

We have an audio unit that read the buffers, and i have memory growth in the callback function. it works great but i am spending much time to solve this leak. after eliminating the problem i found that the the basic configuration code, that is…
user1280535
  • 347
  • 3
  • 13
0
votes
2 answers

memory is growing in audio buffer code

I have a code that we use many times with our apps, its a class that take the buffer samples and process it ,then send back notification to the main class. The code is c and objective-c. It works just great, but there is a memory growing which i…
user1280535
  • 347
  • 3
  • 13
0
votes
2 answers

Capture audio to file ExtAudioFileWrite

i am trying to capture raw buffer data into an audio file. Like this: dstFormat.mSampleRate = 224000; dstFormat.mFormatID = kAudioFormatMPEG4AAC; dstFormat.mChannelsPerFrame = 1; dstFormat.mBitsPerChannel = 16; dstFormat.mBytesPerPacket =…
0
votes
1 answer

how does AudioUnitRender Callback get called in iphone

I am a new bee to iPhone development I need to implement audio output level metering using audiouint.(without using avaudioplayer because i am using cocos sound engines, I want to change the pitch of playing sound). I got some code from the…
Johnykutty
  • 12,091
  • 13
  • 59
  • 100
0
votes
1 answer

AudioUnit is not working in 10.6

I'm using Osx 10.7 with Xcode 4.2.1, my AU plug-in works well in 10.7 but is not running in 10.6. When I try to change the Base SDK from 10.7 to 10.6 I get errors in the AUBase.h, ComponantBase.h and AUPluginDispatch.h Maybe I need to switch my…
kambi
  • 3,291
  • 10
  • 37
  • 58
-1
votes
1 answer

AudioComponentGetIcon unavailable on Mac Catalyst (iOS to macOS porting)

I would like to port an iOS app to macOS using Mac Catalyst. The app is an audio host for the AUv3 plugins. The problem is that I can't get the plugin icon using the AudioComponentGetIcon API since is unavailable on macOS. How can I get the plugin…
-1
votes
1 answer

Why the AudioUnit collect 940bytes per frame under the earphone with lightning plug

I am a iOS developer from China, and I developed a recording application based on AudioUnit. When I tested it on my iPhone6s using the 3.5 mm plug earphone,it worded well and it collected 1024 bytes per frame. But when I tested it on those iPhone…
Grayson
  • 41
  • 8
-1
votes
1 answer

record pcmaudiodata per 10 milisecond without playback

İ need to record pcmaudio per 10 milisecond without playback in swift. I have tried this code but i can't find how can i stop playback while recording. RecordAudio Github Repo and second question: How can i get PCM data from circular buffer for…
-1
votes
1 answer

AvAudioUnitEffect as Chorus

I cannot find any indication how to build a Chorus EFX in AVAudioEngine. I can see AvAudioUnitReverb and so on, but I cannot find any indication ho to create a Chorus.
Vasa
  • 135
  • 8
-1
votes
1 answer

My app uses Audio Unit to play mp3 files in IOS, but when the screen off, the sound stopped

My app uses AudioUnit to play mp3 files, totally used RemoteIO, NewTimePitch, AUConverter and MultiChannelMixer 4 AudioUnits. My app could play when the screen is locked, but it can NOT play while the screen is off! Even more Strangely, this issue…
-1
votes
1 answer

Record audio + AirPlay

I'm making an app that allows you to do this: speaking and while you speak it share what you said to the AppleTV using AirPlay. The problem is that to record audio I use AVAudioRecorder and I pick the recorded audio from a path, which doesn't update…
user2099335
1 2 3
50
51