Questions tagged [augraph]

18 questions
4
votes
2 answers

Does AUGraph deprecation means no more audio render callbacks?

I have an app with an elaborated render callback that I doubt could do with AVAudioEngine. Anyway to use my AUGraph render callback ( with multiple buses ) with AVAudioEngine ? Any sample code ?
Fischer
  • 1,513
  • 4
  • 17
  • 38
3
votes
1 answer

No sound out of CoreAudio AUGraph

I am having trouble getting audio from an AUGraph using MixerUnit and OutputUnit. I have build a Graph that mixes 2 audiofiles. Here is the code where I create the graph. I don't have any errors. NSLog(@"initializeAUGraph"); mAudioFormat =…
Paul
  • 63
  • 4
2
votes
1 answer

Play stereo sound in AudioUnit using AUGraph in IOS

I want to play stereo sounds using Audiounit using AUGraph in ios but the problem that I am facing is "My sound is playing fast when i want to play in stereo mode on 48000 samplings rate".But it works fine for mono sounds(Single channel). Here is my…
2
votes
2 answers

iOS Audio Units - Connecting with Graphs?

I've jumped off the deep end, and have decided to figure out low-latency audio on iOS using Audio Units. I've read as much documentation (from Apple and forums galore) as I can find, and the overall concepts make sense, but I'm still scratching my…
E Ludema
  • 87
  • 8
2
votes
2 answers

How to add two I/O audio Unit in AUGraph on iOS?

How to add two I/O audio Unit in AUGraph in iOS ? One I/O AudioUnit take the record input, another take the playback output.
Beckon
  • 128
  • 2
  • 15
2
votes
1 answer

Is AUGraph being deprecated on iOS? If so, when?

I've heard rumblings that AUGraph is being deprecated on iOS, for example in this Twitter post: @marcoarment Your comment on @atpfm about needing to rewrite your audio engine: b/c of the looming AUGraph deprecation, or something else? Is AUGraph…
Luke
  • 7,110
  • 6
  • 45
  • 74
2
votes
1 answer

How to add kAudioUnitSubType_LowPassFilter in a AUGraph?

I am trying to add kAudioUnitSubType_LowPassFilter to an AUGraph but do not succeed in that. I implemented the following code: // create a new AUGraph [Utilities checkError:NewAUGraph(&self.info->mGraph) operation: "Couldn't create a…
Taco
  • 701
  • 7
  • 21
1
vote
0 answers

MIDI processor passthru AudioUnit doesn't receive MIDI events

I'm trying to create a simple pure MIDI Audio Unit (AUv3) that could act as a pipe between for example an AVMusicTrack (played by an AVAudioSequencer) and an AVAudioUnitSampler. I used the default audio extension template generated by XCode 13.2.1…
Pierre Mardon
  • 727
  • 8
  • 25
1
vote
1 answer

Varispeed Unit with AuGraph [iOS Swift]

We are trying to connect varispeed unit with output unit using AUGraph. This is our current code: var graph: AUGraph? var varispeedNode: AUNode = 0 var varispeedUnit: AudioUnit? var outputNode: AUNode = 0 var outputUnit:…
shayan
  • 25
  • 6
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
0 answers

Pausing and resuming AU Graph (Xcode)

I am having problem with pausing and resuming audio file using AU Graph on Xcode. The code I am using is: region.mStartFrame = sample frame. This should stop the audio at some point and after pressing the Resume button it should continue from that…
0
votes
0 answers

file unit callback shows stereo channels in buffer, but the file loaded was 6 channel

We are trying to play an 5.1 (6 channels) AAC audio file using AUGraph. We also tried using AVAudioEngine. We have connected to 5.1 surround sound output device (Sony Speakers). The file is played as stereo file. All the channels are played in Left…
0
votes
1 answer

IOS, No output when AUGraphConnectNodeInput is set

I am stuck with AUGraph for a while now and would really appreciate if my problem is resolved. What is am trying to do right now is to play data(bytes) coming from UDP. I have successfully achieved how to play data using AUGraph but i can't figure…
Muhammad Faizan
  • 353
  • 4
  • 15
0
votes
1 answer

Does AVAudioEngine support recursive routing?

Can I route Node A into Node B, and Node B back into Node A (of course using a Mixer in between) -- otherwise called "Feedback"? (For example, WebAudio supports this).
Seven Systems
  • 127
  • 3
  • 13
0
votes
1 answer

Setting audio pan programmatically on iPhone not working

In my code, I set up an audio processing graph with two audio units: an I/O unit, and a multichannel mixer unit. First the I/O unit: bool RtApiIos::setupAU(void *handle, AURenderCallbackStruct inRenderProc, AudioStreamBasicDescription…
Manelion
  • 167
  • 9
1
2