565 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
44
views
AVAudioEngine obtains channel audio data
When a Mac is connected to an audio interface, I can use AVAudioEngine to obtain audio data from the MIC and OTG channels of the audio interface. Part of the code is as follows:
buffer = ...
0
votes
0
answers
61
views
AVAudioEngine mic input tap not receiving buffer data in Swift 6
In Swift 6, our AVAudioEngine volume tap on the microphone input isn't receiving any buffer data.
The following code starts with Audio engine started, microphone is active. but print("buffer&...
0
votes
1
answer
90
views
AVAudioEngine: Execution breakpoint when installing a tap on the main mixer node
I'm working on an audio visualizer app that plays files from the user's music library utilizing MediaPlayer and AVAudioEngine. I'm working on getting the music library functionality working before the ...
0
votes
0
answers
69
views
The issue of aggregate device channels in voice isolation mode
I observed that the aggregate device works normally in standard microphone mode. However, in voice isolation mode, when retrieving input channels, only the first sub-device's input channel count in ...
1
vote
1
answer
84
views
The issue of switching the clock source on devices
I am using SimplyCoreAudio to switch the clock source. The code is as follows:
debugPrint("nullAudioDevice.clockSourceID \(nullAudioDevice.clockSourceID)")
if let cid = ...
1
vote
0
answers
47
views
AVAudioUnitTimePitch causing pop/crackle sound when playing AVAudioPlayerNode
I am fully aware that pausing and playing the AVAudioPlayerNode abruptly do cause some crackle sounds. Even after having a simple fade in and fade out of the volume of the main mixer node of ...
1
vote
0
answers
118
views
Attaching procedural audio to an ARKit SCNNode
I am trying to create an AR app with procedural (generated) audio attached to detected planes in the space. I am using ARKit, and was previously using AudioKit to generate audio, although I’ve ...
1
vote
0
answers
69
views
LibVLCSharp AudioCallBack with iOS AVAudioEngine(AVFoundation) sound delay or noise issue
I'm using dotnet maui iOS, vlcsharp and AVAudioEngine to play the video(with it sound using AVAudioEngine).
Due to I want to make the audio data to go through into the iOS AVAudioEngine, so I set the ...
0
votes
0
answers
38
views
iOS AVAudioEngine buffer to base64 decode fail
I was trying to record audio and get PCM stream data in iOS.
I’m using AvAudioEngine for this, and everything is well set up I think.
When receive PCM data, I convert it to base64 String, and send it ...
1
vote
0
answers
54
views
About using kAudioUnitSubType_MatrixMixer with AVAudioEngine
var mixerUnitDescription = AudioComponentDescription()
mixerUnitDescription.componentType = kAudioUnitType_Mixer;
mixerUnitDescription.componentSubType = ...
1
vote
0
answers
51
views
Regarding the auAudioUnit.channelMap issue on macOS with AVAudioEngine
I have a device with 4 input channels and 4 output channels. I want to capture audio from input channels 2 and 3, and route it to output channels 2 and 3 for use. It works fine when I set the routing ...
0
votes
1
answer
57
views
Audio Recording With Timeout Swift
I'm using AVAudioEngine to record audio in my iOS app. I want to stop the recording automatically if there is no audio input for a specified duration (e.g., 5 seconds). How can I achieve this?
Here is ...
0
votes
0
answers
58
views
Swift AVFoundation AudioEngine Crashes when using Airpods on Emulator
so currently i'm building some sort of Siri that sent data through a ws connection. But unfortunately, everytime i switched between not using airpods and using airpods, the simmulator crashes
Thread 1:...
2
votes
1
answer
481
views
How to make microphone suppress the audio that sounds from speakers at the moment on iPhone?
I was implemented ChatGPT Real-time API, that allows to chat with bot in real time with a voice among other methods. But I've faced a problem that ChatGPT always starts talking with itself when using ...
0
votes
1
answer
71
views
What is AVAudioEngine's max microphone tap speed?
In an iOS app, using swift, I'm doing this in order to get waveform data from the microphone:
let BUFSZ = 2400
AVAudioEngine.inputNode.installTap(onBus: 0, bufferSize: BUFSZ, format: AVAudioEngine....