avaudioengine Questions

0

I'm using Xamarin.iOS for an application using AVAudioEngine. Sometimes I get this exception : AVFoundation_AVAudioPlayerNode_Play Terminating app due to uncaught exception 'com.apple.coreaudi...
Strobotron asked 17/10, 2017 at 8:8

1

Solved

Let's say I have an AVAudioFile with a duration of 10 seconds. I want to load that file into an AVAudioPCMBuffer but I only want to load the audio frames that come after a certain number of seconds...

1

Solved

I am trying to create a speech to text function and I am getting the error: Initializer for conditional binding must have Optional type, not 'AVAudioInputNode' guard let inputNode = audioEngine.i...

1

I am using the AVAudioEngine for audio streaming. But when I speak any word into the mic, it repeats multiple times, just like echo effect. I want when I speak, it sounds only one time, not multipl...
Velour asked 7/8, 2017 at 2:57

0

I have written the following AVAudioEngine code that initializes one of my custom AUAudioUnit subclasses and wires it up to the main mixer node of the engine. class AudioEngine { let engine = A...
Polygenesis asked 22/7, 2017 at 18:26

1

Solved

Attempting to put AVAudioSession into the .playAndRecord category with the AVAudioSessionModeMeasurement mode causes the .defaultToSpeaker option to be ignored, resulting in output being played qui...
Keciakeck asked 18/7, 2017 at 0:35

2

Solved

I am using a SKAudioNode() to play background music in my game. I have a play/pause function and everything is working fine until I plug in my headphones. There is no sound at all and when I call t...
Incriminate asked 26/2, 2016 at 21:31

1

I am trying to build a widget which has a speech button. When I press it , it should convert the speech uttered to text. However when I try to record the voice , AVAudioEngine fails to start. Is i...
Suboxide asked 5/6, 2017 at 9:14

1

Solved

I would like to make a 5-band audio equalizer (60Hz, 230Hz, 910Hz, 4kHz, 14kHz) using AVAudioEngine. I would like to have the user input gain per band through a vertical slider and accordingly adju...
Grunenwald asked 29/5, 2017 at 8:52

1

Solved

I want to process the bytes read from the microphone using Swift 3 on my iOS. I currently use AVAudioEngine. print(inputNode.inputFormat(forBus: bus).settings) print(inputNode.inputFormat(forBus: ...
Longish asked 25/5, 2017 at 15:24

1

I am trying to do some computation on the raw PCM samples of a mp3 files I'm playing with an AVAudioEngine graph. I have a closure every 44100 samples that provides an AVAudioPCMBuffer. It has a pr...
Suffering asked 10/3, 2017 at 16:9

1

I uploaded an archive on app store and am getting crash when I 'm trying to play an intro sound. I'm using AVAudioEngine to play the sound. When I compile and run code through Xcode everything work...
Publish asked 31/10, 2015 at 7:55

0

I'm writing my first audio app for Mac, which loads an external audio unit and uses it to play sound through an instance of AVAudioEngine, and I've been seeing this warning: WARNING: 140: This a...
Mistress asked 19/3, 2017 at 22:17

0

In order to make avaliable playback and recording at the same time we use these methods for setting AVAudioSession category: AVAudioSession *audioSession = [AVAudioSession sharedInstance]; [audioS...

1

Solved

This method handles the callback from installTap on the input node from an AVAudioEngine. I have confirmed that I'm getting mono float32/48000hz buffer data, and I'd like to convert it to mono int1...
Tape asked 8/3, 2017 at 0:29

2

I am developing an Audio effects application on OSX using Swift, and I'm interested in integrating a pitch-shift effect. I would like in real-time, to change the tone up or down an octave. Current...
Standpipe asked 30/8, 2015 at 9:4

1

I have a stereo audio file for which I try to separate the audio channels. Resulting in a bus with the left audio, and a bus with the right audio signal. On these channels I want to do some operati...
Encratia asked 10/10, 2016 at 13:45

1

Solved

I am trying to stream audio from the microphone to another iPhone via Apples Multipeer Connectivity framework. To do the audio capturing and playback I am using AVAudioEngine (much thanks to Rhythm...

2

Solved

I've been looking around Swift documentation to save an audio output from AVAudioEngine but I couldn't find any useful tip. Any suggestion? Solution I found a way around thanks to matt's answer. H...

0

I have a problem to send audio by CocoaAsyncSocket via UDP in swift. First of all I run below code to start listening 4444 UDP port. vlc --demux=rawaud --rawaud-channels=1 --rawaud-samplerate=480...
Shier asked 28/3, 2016 at 15:8

0

I'm using AVAudioEngine to record audio, and saving it as a sound file. The user can choose to import an audio file, and they can then continue to record at the end of this file if they wish to. I...
Thresher asked 8/2, 2016 at 18:20

2

I am working on an app that allows the user to create a sort of dub. There is an audio file playing, and the user can tap at certain moments to insert sound (kind of like a censor button.) I'm wond...
Eisinger asked 8/1, 2016 at 21:57

1

I've been working on an app that makes an audio pipeline through AVAudioEngine and then renders to a file. I've been using this code example's approach, adapted for my own needs. The problem is th...
Andesite asked 7/12, 2015 at 22:24

0

I'm trying to use AVAudioEngine to record sound from the microphone and sound files (which are played when the user taps a button). I have hooked up the mic inputNode to the mainMixer, as well as a...
Jostle asked 6/12, 2015 at 11:30

1

Solved

I have two classes, MicrophoneHandler, and AudioPlayer. I have managed to use AVCaptureSession to tap microphone data using the approved answer here, and and converted the CMSampleBuffer to NSData ...
Lachrymal asked 25/11, 2015 at 0:47

© 2022 - 2024 — McMap. All rights reserved.