avaudioengine Questions

2

Solved

I'm working on an iOS app with Swift and Xcode 6. What I would like to do is play an audio file using an AVAudioEngine, and until this point everything OK. But how can I play it without stopping, I...
Puente asked 14/2, 2015 at 18:35

0

I am using AVAudioSession and AVAudioInputNode to record voice in iOS. To initialise it I was using the following settings, which was working fine: [AVFormatIDKey: kAudioFormatLinearPCM, AVLinear...

0

Each time I stop/pause the audio engine (using AVAudioEngines stop() or pause()), a red mic icon appears on the status bar for a second. This starts to be annoying after a while, something red app...
Embank asked 2/10, 2019 at 2:17

7

Solved

I am trying to use the new AVAudioEngine in iOS 8. It looks like the completionHandler of player.scheduleFile() is called before the sound file has finished playing. I am using a sound file with...
Topcoat asked 3/4, 2015 at 6:26

2

Solved

I'm attempting to connect an AVAudioUnitEffect to an instance of AVAudioEngine like so: required init(inputFormat: AVAudioFormat, outputFormat: AVAudioFormat, andAVAudioEngine avAudioEngine:AVAudi...
Skewbald asked 6/8, 2019 at 15:27

0

For the past few weeks, I've ben trying to hobble together a solution from a number of different examples which will allow me to: Capture the audio from the microphone Down-sample it to 8khz Enco...
Caritacaritas asked 21/8, 2019 at 4:34

1

Solved

I am making a basic music app for iOS, where pressing notes causes the corresponding sound to play. I am trying to get multiple sounds stored in buffers to play simultaneously with minimal latency....
Unappealable asked 4/8, 2019 at 1:25

0

I have the following test code for getting realtime microphone input on macOS: import AVFoundation // for AVAudioEngine class Mic { public let audioEngine = AVAudioEngine() func startRecording...
Redouble asked 22/7, 2019 at 13:32

0

I have started getting a crash that did not previously happen with initialization of recording with the error: [avae] AVAEInternal.h:70:_AVAE_Check: required condition is false: [AVAudioIONodeImpl...
Teresaterese asked 15/5, 2019 at 16:37

1

I use AVPlayer to play audio(streaming or local file). For this audio I want to apply some effects - boost volume, skip silence, reduce noise, change speed(in 0.1 intervals). I did same thing in a...
Karrah asked 10/1, 2019 at 7:58

1

Solved

I'm working on a mac application that mix audio from a VideoCard and an external audio card. How can I change volume on each channel (not each source) independently using AVAudioEngine. Let's say...

1

I want to use this code for VoIP service. i'm using web-socket and sending with it: let data = self.toNSData(PCMBuffer: buffer) and playback:let audioBuffer = self.toPCMBuffer(data: data) in anoth...
Stamm asked 13/3, 2018 at 8:18

1

Solved

I'm creating this simple audio recorder and editor interface for an iOS app: The audio is recorded into a float array that is used to create the waveform. After recording I copy the float data i...
Hoarse asked 5/11, 2018 at 21:8

2

Question 1 My first question concerns playback synchronization when using an AVAudioPlayerNode and an AVAudioSequencer for MIDI. Basically I'm trying to play something over MIDI, but they need to b...
Guido asked 20/10, 2018 at 5:35

1

I'm trying to change the input device used to listen to incoming audio. I've tried a number of solutions, but most end up with the following error when preparing and starting the audio-engine: AVA...
Asteria asked 15/10, 2018 at 14:12

1

Solved

I want to record audio file and save it by applying some effects. Record is okay and also playing this audio with effect is okay too. The problem is when I try to save such audio offline it produce...
Sagittal asked 5/9, 2018 at 11:33

4

I'm trying to play sounds with different effects. In a previous viewController I record a sound, then in the next screen, it can be played with the effects. First time it works ok but the second ti...
Cambric asked 7/8, 2015 at 11:10

1

I am a beginner in working with sound processing and AVAudioEngine in iOS, and I'm developing an application that captures the audio samples as a buffer and analyzes it. Furthermore, the sample rat...
Is asked 7/8, 2018 at 12:19

4

Hej. I want to implement a realtime audio application with the new AVAudioEngine in Swift. Has someone experience with the new framework? How does real time applications work? My first idea was to...
Faultless asked 24/6, 2014 at 9:30

2

Solved

I have almost no knowledge in signal-processing and currently I'm trying to implement a function in Swift that triggers an event when there is an increase in the sound pressure level (e.g. when a h...
Hawkbill asked 13/10, 2016 at 22:0

1

Solved

I am handling audio playback using AVAudioEngine and AVAudioPlayerNode in my app, and I want to implement remote controls. Background audio is configured and working. Control center controls work,...

2

I have the following code to (re)start AVAudioEngine wired up to AVAudioEngineConfigurationChangeNotification: do { try self.engine.start() } catch { DDLogError("could not start sound engine")...
Edbert asked 14/12, 2015 at 13:16

1

Solved

I'll start with a simple "playground" view controller class I've made that demonstrates my problem: class AudioEnginePlaygroundViewController: UIViewController { private var audioEngine: AVAudioE...
Stephine asked 20/12, 2017 at 10:13

3

Solved

I am creating a metronome as part of a larger app and I have a few very short wav files to use as the individual sounds. I would like to use AVAudioEngine because NSTimer has significant latency pr...
Jeaninejeanlouis asked 18/9, 2015 at 0:21

2

Solved

I am playing a song using AVAudioPlayerNode and I am trying to control its time using a UISlider but I can't figure it out how to seek the time using AVAUdioEngine.
Mullet asked 29/4, 2015 at 20:47

© 2022 - 2024 — McMap. All rights reserved.