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

Encoding recording from AudioUnit for sending over NSOutputStream in iOs

I am trying to stream some recording from the mic in my iPhone in real-time over NSSocket. I have callbacks for recording and playback. I am trying to read directly from the buffer using following code: SInt16 *intFromBuffer; intFromBuffer =…
Tomasz Łoś
  • 79
  • 2
  • 10
1
vote
0 answers

How to mix sounds from different audio units in iOS?

I have an application which has VoIP and at the same time it renders customs sounds. The VoIP audio unit is set as follows: au_description.componentType = kAudioUnitType_Output; au_description.componentSubType =…
OtoLeo
  • 363
  • 3
  • 19
1
vote
1 answer

MixerHostAudio Bluetooth

I'm using MixerHostAudio to listen to what I'm saying, at the same moment I'm talking. Than I can even use it with my Apple TV and it works. My question is, can I speak and at the same moment hear what I'm saying on a bluetooth device ? Seems not…
1
vote
0 answers

Audio distorted when sending one device to another via NSStream in ios sdk

Hello i am trying to record audio/video from one device and send to another with NSStream, I have created avcapturesession and generated audio/video data . The video data is sent fine to another device and displayed correct but the audio data is so…
sajwan
  • 333
  • 3
  • 14
1
vote
1 answer

Why is kAUVoiceIOProperty_VoiceProcessingQuality marked "deprecated" in iOS SDK 6?

from AudioUnitProperties.h: @constant kAUVoiceIOProperty_VoiceProcessingQuality @discussion Scope: Global Value Type: UInt32 Access: read/write DEPRECATED. Sets the quality of the…
yonix
  • 11,665
  • 7
  • 34
  • 52
1
vote
1 answer

ios audio effect on audio file

I have an audio(voice) file where I want to apply filters (pitch shift for example and others effects), and I wanted to know with ios what is the best way to do it. I just want open the file, apply effects and write to another file, no need to…
BenZ
  • 23
  • 2
1
vote
0 answers

Mac OS Audio Frameworks

There are CoreAudio.framework; CoreAudioKit.framework; AudioUnit.framework; AudioToolbox.framework. I most care about AudioUnit and AudioToolbox; It seems that AudioUnit is the most low level, AUGraph is based on AudioUnit. Because AUGraph resides…
Min Lin
  • 3,177
  • 2
  • 19
  • 32
1
vote
1 answer

AudioUnitSampleType in AudioUnit Mixer Host application

I'm going through iOS Audio Units sample application Mixer Host. What confuses me is AudioUnitSampleType seems to hold all the audio data from the files. But AudioUnitSampleType is a fixed point integer it seems. Is this some sort of array with…
Waruna
  • 1,174
  • 1
  • 9
  • 20
1
vote
2 answers

Is there a framework to play music with a custom realtime EQ on iOS?

I assume that I will need Audio Units to do this. AFAIK there is a EQ Audio Unit on iOS. Is there a framework which can play a music file and apply an EQ to it in realtime?
openfrog
  • 40,201
  • 65
  • 225
  • 373
1
vote
0 answers

How to setup an Effect Audio Unit connected with RemoteIO Audio Unit in iOS?

I am new to Audio Units and don't know how to configure them. Can someone please guide me how to connect RemoteIO (kAudioUnitType_Output) unit with the effect unit (kAudioUnitType_Effect) to play audio file with effect. Thanks in advance.
iVipS
  • 1,477
  • 1
  • 14
  • 22
1
vote
1 answer

Heavy Distortion when playing vorbis in RemoteIO Audio Unit

I am trying to play an Ogg Vorbis file in RemoteIO, I use the following code for gaining the PCM samples from the vorbis:I am trying to play an Ogg Vorbis file in RemoteIO, I use the following code for gaining the PCM samples from the…
user293895
  • 1,465
  • 3
  • 22
  • 39
1
vote
1 answer

Playing multiple files with a single file player audio unit

I'm trying to use a file player audio unit (kAudioUnitSubType_AudioFilePlayer) to play multiple files (not at the same time, of course). That's on iOS. So I've successfully opened the files and stored their details in an array of AudioFileID's that…
ThomasWeiss
  • 1,292
  • 16
  • 30
1
vote
1 answer

ios Audio Unit kAUVoiceIOProperty_DuckNonVoiceAudio error -10879

I use Novocaine framework https://github.com/alexbw/novocaine, if I pause input unit (but output is working) from mic and then play it again in result I get echo. In apple documentation I see Voice-Processing I/O Audio Unit Properties -…
frankWhite
  • 1,523
  • 15
  • 21
1
vote
1 answer

Using ExtAudioFileWrite to write at the end of a file

I'm trying to open a file and append data to it using ExtAudioFileWrite. Now, creating/initial writing(on creation)/converting works just fine, but unfortunately I can't seem to be able to open the file for writing afterwards. There is only one…
Rad'Val
  • 8,895
  • 9
  • 62
  • 92
1
vote
1 answer

Core Audio - multi-sample playback/recording

I am building an extremely low latency instrument in Core Audio for iOS. Consider, my instrument has 4 triggers and triggering each one plays a .wav file. When I play a different .wav file, the sound of the previous .wav file should not get cut off.…
Bijoy Thangaraj
  • 5,434
  • 4
  • 43
  • 70