avaudioengine Questions

1

I´m trying to convert the output of my AVAudioEngine from stereo to mono. I want to be able to send the converted mono signal to the left or right headphone or speaker using AVAudioPlayerNode's pan...
Razor asked 31/5, 2021 at 22:29

2

I've got a motu UltraLite mk4 USB audio interface attached to a Mac running MacOS 10.13.3. I'm trying to play three stereo sound files, each to its own stereo speaker. To start with less complexi...

7

I am implementing Speech Recognition in my app. When I first present the view controller with the speech recognition logic, everything works fine. However, when I try present the view controller ag...

6

Solved

i am developing an applicatoin so that people can record and change their voices thru app and share it . Basically i so many things and now its time to ask you to help . Here is my play function wh...
Auburta asked 14/8, 2016 at 22:10

2

Solved

We are working on a project which allows us to record some sounds from a microphone with a 5k Hz sample rate with some Low-Pass filter & HighPass filter. What we are using We are using AvaudioE...
Dashiell asked 16/12, 2021 at 16:19

0

I'm having a crash when I try connecting two AVAudioMixerNodes to the microphone input of AVAudioEngine. I couldn't find documentation online how to manage two or more nodes to the same input. What...
Epicycle asked 8/3, 2022 at 18:39

1

we are working on a project which records voice from an external microphone. For analysis purposes, we need to have a sample rate of about 5k Hz. We are using AvAudioEngine to record a voice. We kn...
Clarion asked 22/12, 2021 at 7:8

1

AudioKit, macOS: When I do mixer.addInput(myAudioPlayer), the program outputs this message: 2021-09-16 11:41:44.578038+0200 ShowTime[16140:1611137] throwing -10878 ... numerous times. Do you know w...
Liturgics asked 16/9, 2021 at 9:52

6

Solved

I'd like to record the some audio using AVAudioEngine and the users Microphone. I already have a working sample, but just can't figure out how to specify the format of the output that I want... My...
Lucas asked 2/11, 2015 at 18:10

3

I've got an AVAudioEngine setup with a AVAudioPlayerNode that is playing some background music. I'm trying to find a best approach to create a volume fadeout on the node over a 2 second timeframe...
Mutate asked 7/10, 2015 at 10:48

2

I'm attempting to sync recorded audio (from an AVAudioEngine inputNode) to an audio file that was playing during the recording process. The result should be like multitrack recording where each sub...
Iridic asked 6/1, 2021 at 18:0

1

I use multiple AVAudioPlayerNode in AVAudioEngine to mix audio files for playback. Once all the setup is done (engine prepared, started, audio file segments scheduled), I'm calling play() method on...
Conias asked 22/2, 2017 at 8:41

0

TL;DR - AVAudioSession will fire AVAudioSessionMediaServicesWereLostNotification when a bluetooth port is specified with AVAudioSession.setPreferredInput and that device disconnects while actively ...

1

I've configured AVAudioSinkNode attached to AVAudioEngine's inputNode like so: let sinkNode = AVAudioSinkNode() { (timestamp, frames, audioBufferList) -> OSStatus in print("SINK: \(timestamp.p...
Truthvalue asked 24/3, 2020 at 18:41

2

Solved

I'm trying to convert audio buffers to a different format, and I'm using AVAudioConverter. AVAudioConverter does the job when you have the same sample rate and you don't need to use the AVAudioConv...
Daegal asked 28/6, 2017 at 3:1

3

Where could I get the information of com.apple.coreaudio.avfaudio error codes, such as: Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'error -50' I always g...
Scotticism asked 13/7, 2017 at 7:32

0

I notice that AVAudioSession.sharedInstance().sampleRate is 48000, while AVAudioEngine().inputNode.inputFormat(forBus: 0) shows me a sample rate of 44100. When I do try AVAudioSession.sharedInstanc...
Pyrrha asked 10/6, 2020 at 5:18

1

Solved

I recently posted this question about using multiroute with iOS and I thought I solved it, however I've discovered is doesn't quite work: AVAudioEngine Multichannel mapping The issue I'm having is...
Vernation asked 6/6, 2020 at 11:25

3

Solved

I'm having an issue with downsampling audio taken from the microphone. I'm using AVAudioEngine to take samples from the microphone with the following code: assert(self.engine.inputNode != nil) le...
Dolmen asked 20/9, 2016 at 13:26

1

I've converted the objc code to swift: https://forums.developer.apple.com/thread/15416 My audio file will play on my iPhone but when I plug in an audio interface I just get silence. My audio interf...
Psychosis asked 29/5, 2020 at 4:37

1

Solved

I've hunted high and low and cannot find a solution to this problem. I am looking for a method to change the input/output devices which an AVAudioEngine will use on macOS. When simply playing back...
Miracidium asked 15/5, 2020 at 20:34

6

I just watched the WWDC Video (Session 502 AVAudioEngine in Practice) on AVAudioEngine and am very excited to make an app built on this tech. I haven't been able to figure out how I might do level...
Aetolia asked 4/6, 2015 at 10:30

2

I'm trying to find a detailed documentation for how to work with AVAudioEngine. Does anyone know where I can find it? I've found this, but it seems extremely spartan in comparison to the richly do...
Squirm asked 17/8, 2018 at 15:3

1

I'm using an AVAudioPlayerNode attached to an AVAudioEngine to play a sound. to get the current time of the player I'm doing this: extension AVAudioPlayerNode { var currentTime: TimeInterval { g...
Disavowal asked 29/5, 2019 at 7:59

2

I want to stream audio on iOS using AVAudioEngine. Currently I'm not sure how to do this. I get RTP data from the network and want to playback this audio data with AVAudioEngine. I am using the ...
Assembler asked 23/10, 2019 at 10:23

© 2022 - 2024 — McMap. All rights reserved.