36,104 questions
1
vote
0
answers
15
views
Streaming screen record from WebRTC app - route audio to internal
TL;DR
How to route remote participants voice in WebRTC call so they can be treated as internal sounds by Streamlabs or similar streaming apps?
Long story
My game is using Google WebRTC library for the ...
-3
votes
0
answers
26
views
Linux: How to enable the sound card? [closed]
I've used SoundCard Switch GNOME extension to disable sound card, but now I can't enable it (using the same tool).
_onToggle(menuItem, state) {
if (state) {
let cmd = ["pkexec&...
-3
votes
0
answers
26
views
Adjust the audio balance dynamically in FFmpeg for a specific time range [closed]
I'm working on a video editing task using FFmpeg and want to adjust the audio balance dynamically for a specific time range within a video.
For example, I want to change the volume of the left audio ...
2
votes
0
answers
38
views
How can I play multiple mp3 files without any gap in Rust?
I have some MP3 files downloaded from SoundCloud and I want to play them in sequence but whenever I've tried to do it in Rodio for example, it always had a really small gap between the audios.
use ...
0
votes
0
answers
23
views
How to Change Audio Speed Without Affecting Pitch and Vice Versa in Java?
I am working on an audio processing application in Java, and I need to implement the following functionality:
Change the playback speed without affecting the pitch of the audio.
Change the pitch ...
0
votes
0
answers
17
views
I cannot transfer learning YAMNET for multi-label problem
I'm using this tutorial to apply transfer learning to my dataset which has 32 classes of audio.
https://www.tensorflow.org/tutorials/audio/transfer_learning_audio?hl=en
But this does not seem to work ...
0
votes
0
answers
36
views
How to calculate the dBFS level using python sounddevice
I'm trying to get a decibel reading from an audio stream using the sounddevice library.
More specifically, I want to display the current level in a DAW like fashion.
According to this, most DAWs ...
1
vote
0
answers
28
views
How to calculate magnitude for a filter to specific dB level?
I'm using fir2 function (and then filter with basic settings filter(fir2,1,audio) ) to filter audio files to specific values in each spectrum band. I have two sets of dB values:
the original spectrum ...
-2
votes
0
answers
33
views
I use agora ui kit in my flutter the video does not show immediately and sometime does not show [closed]
When i use agora ui kit the video call stuck and sometimes it does not show up until i back and open it again
This like there is a delay in video or something wrong
I used agora sdk package and do the ...
0
votes
0
answers
26
views
Playing Audio With AudioKit 5 - Unable to start playback
I'm trying to get AudioKit 5 working. The docs are kind of a massive monolith, no easy central getting started guide that I can find. There are a bazillion samples, but getting started should be easy.
...
0
votes
1
answer
11
views
Why sound disappears in Tone.js with function sampler.triggerAttackRelease()
I copy paste the code on Tone.js main page:https://tonejs.github.io/
called Tone.Sampler, and just added the time and velocity to function sampler.triggerAttackRelease(). But after a few clicks, there ...
-1
votes
0
answers
14
views
Is there any simple way to stream audio from phone microphone through the web browser? [closed]
I am looking for the way to stream audio from phone microphone through web browser, and the stream need to be unlisted or private cannot be search by others. The stream audio sound need to turn off ...
0
votes
0
answers
59
views
Trying to create a Youtube to MP3 downloader via norkunas/youtube-dl-php; but I'm getting an empty array when it should be an audio file. See code:
I'm basically following their docs: https://github.com/norkunas/youtube-dl-php
and I have yt-dlp installed as well.
$url is a valid Youtube URL.
$format is .mp3.
Here's my code:
public function ...
-1
votes
0
answers
29
views
Playing MP3 file on Adafruit vs1053 breakout board produces no sound
I am using an Arduino Uno 3 wired to an Adafruit VS1053 CODEC breakout board with an SD Card attached. On the SD Card is the file "track001.mp3" which is roughly 3 seconds long. I am trying ...
0
votes
0
answers
18
views
Configuring SAI Peripheral of STM32L4 to I2S -- Not Reading into the DR
I am trying to read in and output audio using the STM32L4. I input audio using the PCM1808 in 24-Bit, MSB-First, I2S mode and use an iCE40 UP5K FPGA as the clock generator. Ultimately, I will pass in ...
0
votes
0
answers
32
views
How to play sounds directly into the Microphone in Python?
I have a program, similar to Soundpad. Currently, it plays sound through Virtual Audio Cable (VAC).
However, the users must manually install VAC and set the sound source to "Audio Cable Out" ...
0
votes
1
answer
18
views
Pulseaudio need user session login
I have a Python script that utilizes PulseAudio to control audio volumes, as well as handle mute and unmute commands. This script is set to run at system startup and is designed to function in ...
2
votes
1
answer
21
views
Arc: how to enable audio player for my own website?
I'm trying to enable the Arc browser audio player on a webpage of mine.
I cannot find any documentation from Arc targeted to developers though, so I tried by using what works for Google Chrome, but it ...
1
vote
1
answer
15
views
Flutter have abnormal audio channels when playing videos on the iOS
I'm not very familiar with Flutter development, but there's an issue with an open-source application I'm using. I'd like to ask friends with iOS cross-platform development experience, is there a ...
0
votes
1
answer
38
views
Google Translate, Gender Voice Parameter
I am trying to extract sound from Google Translate. Using this Javascript answer here , how do I parameterize to use a man or woman voice in the sound recording? I could not find the API Specs.
https:/...
2
votes
1
answer
38
views
python set and get windows 11 volume
I have this script:
from pycaw.pycaw import AudioUtilities, IAudioEndpointVolume
from ctypes import cast, POINTER
from comtypes import CLSCTX_ALL, CoInitialize, CoUninitialize
CLSCTX_ALL = 7
import ...
0
votes
0
answers
20
views
DAC and DMA Not Outputting on PA4 on STM32L432KC
(my code is below)
I am trying to output an analog wave out of PA4 on the STM32L4 MCU, using DMA and a DAC. Ultimately, I will pass in audio data into the MCU through I2S and use DMA and the DAC to ...
0
votes
0
answers
21
views
Generating WAV files with a MaryTTS generated audio
I try to record a WAV file with a MaryTTS generated audio.
The code I am using is:
package org.marytts;
import marytts.LocalMaryInterface;
import java.security.CodeSource;
import java.net.URL;
import ...
-2
votes
1
answer
34
views
How do i implement audio in my code in HTML
Heres my code :
<audio loop autoplay> <source src="song.mp3" type = "audio/mpeg"> </audio>
my "song" folder is saved in the same directory as the code ...
0
votes
2
answers
62
views
Mel Spectrogram in R
I am new to acoustic data analysis and am working with R. I installed seewave, av, phonTools, tuneR, and torchaudio. I can plot spectra using functions such as spectro and spectrogram. I was able to ...
-1
votes
1
answer
19
views
No audio nor video in i3wm manjaro
I couldn’t make my bluetooth headphones work as in pavucontrol, the only output devices I had are speakers and headphones (unplugged). I tried installing things to solve it, but I made it worse:
$ ...
2
votes
0
answers
53
views
How to identify an specific Beep frequency on audio files (.Wav, .Mp3)?
I have a problem where I have a dataset of audio's files, and I need to cut every single of it in 2 pieces: one piece after and one before a determined "beep" sound.
I examined some audios ...
-1
votes
0
answers
42
views
SFML::Music plays abnormally at the beginning of the program
I use SFML static version and use its Music module. However, when used in a Window program, there is some playing abnormality. When the program starts at the beginning, the music has a quite tiny ...
0
votes
0
answers
18
views
audio adm javascript and ear usage
I developed a javascript function to save the audio objects of my application in ADM format but when defining dynamic objects ear does not render the movement of the object width ear-render -s 0+5+0.
...
0
votes
1
answer
32
views
Replace silence in audio using ffmpeg.wasm
I have a use case where I have to shorten silences which are longer than 2 seconds and shrink them to 1 second in ffmpeg wasm
I can remove silences which are longer than 2 seconds but couldn't shrink ...
1
vote
0
answers
47
views
Audio and Video out of Sync with WebRTC Rust Server and Browser Client
When building a WebRTC backend using WebRTC-rs, i have the issue, that audio and video are not in sync.
The audio is encoded as Opus and the Video as H264. If i understood the library/webrtc correctly,...
2
votes
0
answers
31
views
WebRTC audio output not working after handling CallKit in foreground app state
I'm facing an issue where, when the app is in the foreground and I handle an incoming CallKit call CXAnswerCallAction, the app switches to a custom ViewController that opens a WebView embedding WebRTC....
0
votes
0
answers
31
views
SPIDEV on raspberry pi for TI DAC8568 producing distorted signals
I’m working on a Raspberry Pi project where I’ve transitioned from using an I2C-based HiFi DAC HAT (PCM5122) to an SPI-based DAC (Boost 8568). My goal is to output analog signals from processed EEG ...
0
votes
0
answers
25
views
Create a Stream using MP3s
I have some code that generates a script using the OpenAI API and then converts the script to an MP3 using a text to audio API. My code runs every five minutes and ensures there is never ending queue ...
0
votes
0
answers
51
views
What is the right way to play audio with ALSA LIB?
I am working on an embedded audio device, it is using kernel-5.10, and ALSA-LIB to play audio.
When I am trying to call snd_pcm_writei() to play audio, I got a little confused on what is the right way ...
0
votes
0
answers
15
views
connecting a fine-tuned chatgpt model with vtt and tts via terminal in linux (raspberry pi)
Basically, I'm trying to build a way to interact with a finetuned chatgpt model via a headset. I've managed to make it work with tinylama, though for to me unknown reasons that doesn't work anymore ...
0
votes
0
answers
36
views
Can I playback audio without needing to ask for microphone permissions in browser?
I am working on a sample app available here
https://github.com/jrgleason/spring-ai-example
The problem I am running into is when the page loads it asks for microphone permissions (see https://...
0
votes
0
answers
38
views
problem with outputting decoded audio with ffmpeg c++
i am decoding a .mp4 file and want to play decoded raw audio with waveform-audio. it had some problems even tried double buffering but didnt work. it was glitchy and noisy.
i tried gathering all the ...
0
votes
0
answers
28
views
Issue with Javascript Audio Output | On Android Mobile Devices Considered as Call Volume
async function startListening() {
stream = await navigator.mediaDevices.getUserMedia({
audio: {
channelCount: 1,
...
1
vote
2
answers
36
views
javascript MediaRecorder does not record on stop
I want to record some audio using javascript. I found some explanations, but it doesn't work for me. As far as I understood my code below, stop should trigger addEventListener('dataavailable' .... But ...
2
votes
0
answers
26
views
Record Audio using ALSA in mp4 format
I am working on to record audio using ALSA library. I am able to record the audio using the same library in .wav file, but what I need is to record an .mp4 file. For that I initialize the FFmpeg ...
0
votes
0
answers
11
views
How do I play an MP3 file from Polaris NB IoT board to MP3Click with VS1053 decoding chip using Python?
I have a Polaris NB IoT board on which I have an SD card that contains an MP3 file. I am trying to play said file on an MP3Click using SPI communication. I am using Python to code my board. I am able ...
-1
votes
0
answers
13
views
Is Android AcousticEchoCanceler only needed on audio input stream?
I have Android VoIP app using Android AAudio API. So there is two audio streams: player stream with AAUDIO_DIRECTION_OUTPUT and recorder stream with AAUDIO_DIRECTION_INPUT.
Now I want add ...
-1
votes
1
answer
36
views
Unity audio sound doesn't play
I placed a health pickup item in the scene. When the player collides with the item, a pickup sound effect is supposed to play. The issue I'm facing is that if I check "Play on Awake," I can ...
0
votes
3
answers
92
views
How do I play audio one after another without delay?
I'm attempting to make a game, and in it I have music (like most games). However, changing the track or even looping the same one tends to come with a very slight delay. I want to remove that using ...
-1
votes
1
answer
39
views
How to Stream Audio from Google Cloud Storage in Chunks and Convert Each Chunk to WAV for Whisper Transcription
I'm working on a project where I need to transcribe audio stored in a Google Cloud Storage bucket using OpenAI's Whisper model. The audio is stored in WebM format with Opus encoding, and due to the ...
1
vote
1
answer
30
views
How to avoid audio distortion while combining 2 channels into 1
I've got a Mac .net application, and all it needs to do is record audio and then write it into a WAV file.
I'm using a C# wrapper for PortAudio to record the audio. I've managed to record and write a ...
2
votes
0
answers
60
views
How can get a list of installed codecs and supported sound/media file types using powershell?
Since I have no idea how to do this, I have no code of my own. I asked Copilot, which provided the following as a "solution", but that doesn't work. It just gives me
Get-CimInstance: Invalid ...
2
votes
0
answers
58
views
Send MediaRecorder audio chunks with Websockets
I'm trying to send audio chunks recorded with MediaRecorder to the server and then to another client using Websockets and play it there.
The first chunk gets played normally but then I get
Error ...
-1
votes
0
answers
36
views
How to loop audio without a delay or a gap?
I don't want to use Web Audio api because of its weird speaker set up on mobile apps. Is there any other way to loop audio without a delay or a gap inbetween?
let audio = document.querySelector('...