Questions tagged [audio]

Sound and programming audio hardware, and the various audio formats or containers. For questions specific to sounds playback, use [audio-player] or [playback], and for questions specific to sounds recording, use [audio-recording] or [voice-recording].

0
votes
0answers
5 views

How to measure smartphone audio quality?

I'm regularly testing smartphones for my blog and I'd like to measure their audio quality (file playback but also call quality). I thought of connecting the jack port from the smartphone to the line-...
0
votes
0answers
4 views

Error on iPhone simulator using ffpyplayer audio (kivy/python)

App crashes on iPhone simulator with ffpyplayer error. Kivy/Python program runs fine on Mac. Created an Xcode project with Kivy-ios toolchain. App runs fine on iPhone simulator, but when audio ...
0
votes
0answers
9 views

Android MediaPlayer: How to stop if another audio file is being loaded?

I have a problem with the Android MediaPlayer. As soon as a new sound file is clicked by user input, the old one does not stop, so all audio files overlap. I already tried common methods like ...
0
votes
0answers
10 views

Audio won't play on initial page load, only on F5 reload

I am taking a class in HTML5. The assignment says to play audio once. For this page the audio plays when I press ctrl+F5 or just F5 but not on page load or when I press the reload. I have tried ...
0
votes
0answers
17 views

Analog of str.replace in audio processing

I have a long audio file divided into segments by one (I assume it is always the same) sound, and I want to split it into these segments. I've tried using code from this question - Split speech audio ...
0
votes
1answer
19 views

Why the buffer provided by SDL2, for audio samples, is not big enough?

I use SDL2 to create sound with format: freq = 32 * 1500; format = AUDIO_F32SYS; channels = 1; samples = 1500; I expect length parameter in my callback to be 6000 (1 * sizeof(float) * 1500) but it ...
0
votes
0answers
15 views

Python Winsound not playing WAV file

im trying to let background music play when opening my application (currently a TKinter window) I want to do that using winsound (its been the first module ive found) However, when i start my app, ...
0
votes
0answers
20 views

How do I use conditional rendering to play audio from an HTML audio tag?

I am trying to make a custom audio player in React. I'm stuck at clicking a button to act as a play/pause button for my audio source. One way I thought I can do this is with conditional rendering, ...
0
votes
1answer
15 views

Why does my “Audio-Button” don`t play a sound (onClick)

I am struggeling on finding out why my button dont play a sound when I click on it. The console.log() test works fine, but the -part dont. I also tried some npm-packets to solve the problem, but it ...
0
votes
0answers
18 views

Use system sounds of Android in unity

First of all thanks for reading my question. The question is: how can I play system default Android sounds in my Unity game? For example when I click a button I want to hear the same sound when I ...
0
votes
0answers
13 views

Play audio from non-imported src

I want to play an audio with reactjs and the src comes from a database and change the src dynamicaly. So fare I can play an audio that I import but if I don’t import it I get the error: HTTP "Content-...
0
votes
0answers
15 views

No audio on iphone but have on the ios simulator

I'm using Consruct 2 to make a html5 game and uses react native webview to run the game on iOS. The game's audio works perfectly on the iOS simulator but it's not working when running on an iphone. It ...
0
votes
0answers
10 views

SpeechRecognitionEngine via not default audio device. How to implement?

1. Summarize the problem Hello. I am exploring class features: SpeechRecognitionEngine. I usually use the “SetInputToDefaultAudioDevice()” method to get the sound from the default microphone. But I ...
0
votes
1answer
42 views

Web audio playing only once [duplicate]

I am a student and am a beginner of Web APIs. I wrote this code for a practice of generating simple tones using JavaScript: <html> <body> Frequency = <input type="number" id="...
2
votes
1answer
27 views

recording steaming audio with huge periods of silence

I'm using darkice (http://darkice.org) on a Linux box to capture an audio feed from a fire department radio system. It works great and I can forward the stream to an Icecast2 (https://icecast.org) ...
0
votes
1answer
18 views

I want to play an audio of a ringing bell in alert while user is waiting

I'm completing a task using switch statements. (the task was to show menus in alert when we are calling mobile network companies like press 1 for call package and press 2 for internet packages, so I ...
1
vote
0answers
20 views

How can I reference USB Audio Control Units across different audio control interfaces? (ADC 1.0)

I am working on a USB headset device that uses the 1.0 Audio Device Class definition. Due to some limitations in the USB stack we are using, we have to implement microphone audio and ear audio in ...
0
votes
0answers
16 views

how to convert 2 mono files into stereo with FFmpeg source code?

Merging 2 mono AAC files into 1 stereo file I tried using af_amerge.c/af_join.c files to do so, but couldn't get an example to how to start using those filters. The example provided not good enough ...
0
votes
0answers
11 views

i need to filter this audio file using matlab

i want to make frequencies higher than 3500 zero and amplify the remaining onces but from what i tried my output is still high pitched frequencies what changes should be done to my code? https://...
1
vote
1answer
28 views

I2S support on imx7d development board

Does the current version of Android Things OS support i2s audio with the imx7d development board? I couldn’t find it in the PIO list.
1
vote
0answers
17 views

How to get rid of “media playing” notification shown by Chrome on Android?

My HTML5 game has some background music that uses Howler.js in "html5" mode, which apparently triggers Chrome for Android's media playback notifications. This means a notification appears while the ...
0
votes
0answers
31 views

Actual duration of video and aufio files

At the moment I am working on an application that enables to record video files. In parallel with a video file, an audio file is recorded. Eventually, there are two files: .mp4 and .wav. My purpose ...
0
votes
1answer
23 views

FLUTTER: I want to record the stream of microphone and play it immediately

I want to do and application who take the stream of microphone and who play it directly in Flutter, who can help me, i've find nothing on internet. Thanks!
0
votes
0answers
15 views

How to manipulate audio file to hear only single side?

I have some issue. I use Java sound API https://web.mit.edu/java_v1.5.0_22/distrib/share/docs/guide/sound/programmer_guide/contents.html Then I have two same duration audio files. Question: How to ...
0
votes
0answers
20 views

Play back audio streamed over http

I am working on a small instant messenger project that implements a custom encryption algorithm I've developed. However, networking isn't my strong area. Basically, here I'm trying to provide a ...
0
votes
1answer
16 views

How does mobizen record internal audio on samsung

I understand Android doesn't allow internal audio to be recorded. but on LG and Samsung it seems possible as Mobizen app can do. from developing side, what's the method used to capture internal sound? ...
0
votes
0answers
18 views

How to use custom audio processing with MFCC to train tensorflow classifier

So I need to do audio processing as part of my uni semester, but I wish to create basic speech detection and go a bit of a step further. Looking at other guides and info on particularly GMM in ...
0
votes
0answers
16 views

Audio bookmarklets without Base64

So I have recently been fascinated by bookmarks that play audio, and I was originally using base64 ... which was a horrible idea. I'm now trying to create a bookmarklet without the use of... well... ...
0
votes
0answers
25 views

Dismiss lock screen player after playback is finished in iOS

I am using AVFoundation framework and more specifically AVPlayer along with AVPlayerItem to play an audio content. I am also setting AVAudioSession.sharedInstance().setCategory(...
0
votes
0answers
13 views

How to fix “Errors during import of audio clip…” error in Unity3d

I'm trying to import an MP3 file in Unity. But it won't work. It would show up as an unidentified file. It was originally a wave file, but it wouldn't import, so I converted to MP3. Still not ...
-2
votes
0answers
10 views

convert “video/3gp”(audio file) to “audio/mpeg”(mp3 audio file) in php [duplicate]

i want to convert "video/3gp"(audio file) to "audio/mpeg"(mp3 audio file) in PHP. the "video/3gp" is a audio file (recorded with android app) in audio format, but i want convert this file encoding ...
0
votes
1answer
16 views

FFMPEG - Merge Video-A with audio of of Video-B in a single command? [duplicate]

I would like to use the video of video A, and put the audio of video B on top. How would I do this with ffmpeg in the command line? I have found tutorials to do this with extracting the audio first to ...
0
votes
0answers
5 views

Obtaining device descriptor for use with Aaudio

I'm trying to record audio on an android phone from a device connected by USB, but can't figure out how to specify this device as the source. I've already established that AudioManager doesn't ...
0
votes
0answers
16 views

Play sound without interrupting other playing sounds (VBA)

I have a code that can play a sound in a PowerPoint presentation, but If I make it play 2 sounds one after another, the first one will stop and the second one will play. So the first sound was ...
0
votes
1answer
13 views

Is it possible to detect music controls

I have a side project playing with some music controls on my iPhone. I know that i can detect volume up/down keys or track changes for Apple music app. Does anyone know if this is also possible to do ...
1
vote
1answer
21 views

How can we use microphone in google colab?

OSError Traceback (most recent call last) <ipython-input-21-4159a88154c9> in <module>() 7 response = google_images_download.googleimagesdownload() 8 r = sr.Recognizer() ----&...
0
votes
0answers
16 views

Inconsistent results of wave objects in R

I'm trying to test out how well R can handle audio analyses using tuneR, but I've been having some trouble. When I try to get R to play back an mp3 I've stored on my computer using this code ...
0
votes
0answers
20 views

Building a Media Player in React Native expo and Getting duration of song

I am implementing a Media player in React Native expo. I have designed my player, play song, next and previous songs functionality but I am having an issue getting the duration of the song, in order ...
1
vote
1answer
24 views

MemoryError in Python3 when cropping audio files

I'm trying to use a pydub module to trim bits of intro/outro audio from the chapters of some audiobooks. All the files are in the range 9-19MB. It manages to do a few files then returns MemoryError. I ...
0
votes
1answer
20 views

Importing wav file in to Notebook

I have a problem in importing a wavefile into the Jupyter Notebook. I want to take the audio file from my desktop and perform fft on it. Does anyone know how to do this?
-1
votes
0answers
23 views

How can I turn off the MediaPlayer off my whole application?

Hello I have a Switch Button on the MainActivity which state is saved in Shared Preferences. I want an if else statement in the GameActivity for check the state, when the Switch button is true nothing ...
1
vote
1answer
36 views

How to record web/browser audio output (not microphone audio)

Has anyone successfully been able to access the audio stream that is being outputted from the browser window (not from the microphone)? We are currently building a sound studio app where the user can ...
-1
votes
1answer
26 views

Play an mp3 file in a if condition

I am writing a code in Framer x which uses Javascript and react library. I would like to make different sounds depending on the coordinate values of for instance mouse ( x, y, and z ). How can I ...
3
votes
1answer
51 views

How to grab system audio to python?

I want to process audio being played by the OS before it is played by the sound device. I am trying to detect audio from files like mp3 and wav. I do not want to read the binary data of the files ...
0
votes
0answers
17 views

how to stop playing music repeatedly in vue - wavesurfer?

i'm trying to stop playing audio, but it's just work once. in Player.vue component i'm stop playing audio: stop() { this.audio.currentTime = 0; this.audio.pause(); this....
0
votes
1answer
30 views

IDirectSound8::CreateSoundBuffer returns DSERR_BUFFERLOST

What does IDirectSound8::CreateSoundBuffer returning DSERR_BUFFERLOST mean? According to the documentation DSERR_BUFFERLOST isn't a valid return code from CreateSoundBuffer. Two of our users have ...
1
vote
1answer
62 views

Play audio files on iOS in a QML program

In the QML project below, I want to play the audio file (kimya.mp3, in the sounds folder in the project's directory) when the project is installed on iOS, by touching the green rectangle on the screen....
0
votes
0answers
16 views

Fully Open-sourced Implementation Compatible with the Spotify API to Extract High-level Audio Features from Custom Music Files?

I would like to get audio features of audio files containing music that are compatible with the Spotify API, and if not, with similar features as possible. (https://developer.spotify.com/documentation/...
0
votes
0answers
24 views

How to solve E/MediaRecorder: stop called in an invalid state: 4

I am trying to record the audio and store it. Problem is When I am recording the Audio its getting started but while stopping it I am getting the error : E/MediaRecorder: stop called in an invalid ...
0
votes
0answers
16 views

How to play different audio for different card view in android studio?

Screenshot I am inserting different short audios into different vocabulary cardview, how should I do in order to play different sounds on different imagebutton?(So far, the first card's image button ...

http://mssss.yulina-kosm.ru