Category "audio"

How to get the duration of an mp3 file

I tried many methods but did not get the exact length value of an mp3 file. With moviepy: audiofile = AudioFileClip(url) print("duration moviepy: " + str(audi

How to remove the button functions from tkinter and leave the camera and audio always working, without the button please

I have this code that opens a video and audio call that opens by clicking the buttons, as shown in the image. I wanted to remove the video and audio function fr

Forbidden (CSRF token missing or incorrect.): /

So i want to make models form to upload file mp3. I was copy the code from website, but suddenly it goes error. Here's error message on the website : Forbidden

Music Y or Music N

In python, "Music on or music off" . If user selects "Y" music will play, If user selects "N" I don't want music to play etc. Is this a "if, else type thing? Th

Restarting and pausing and resuming clip hangs the gui of music player, while pressing pause and play resumes playing from stopping point

This program is a music player that allows user to pick a .wav file, play, pause, resume, and restart a the music file from a clip object and audioinput stream.

Pipe and OpenCV to FFmpeg with audio streaming RTMP in Python

I'm trying to stream FFmpeg with audio. I will show my code below: Import module import subprocess as sp Create variables rtmpUrl = "rtmp://a.rtmp.youtube.com

Audio not playing in Angular 7

I'm doing a big Angular 7 project for myself and I want some background music in it. So I use this: <audio id="audio" *ngIf="ship.dock != true" autoplay="t

How to select a specific input device with PyAudio

When recording audio via PyAudio, how do you specify the exact input device to use? My computer has two microphones, one built-in and one via USB, and I want t

Implement sound in sweetalert popup

English is not my mother tongue, please excuse any errors on my part. Is it possible to implement an audio file in swalfire popup. I would have an notification/

AWS Chime (webrtc audio) + Oculus Quest 2 - setStreamVolume does not change real volume even if getStreamVolume shows a different value

I use Amazon's AWS Chime to establish voip audio communication . My actual setup is a bit complicated, I built chime android sdk into a module, with some change

Why the sound effect does not work in unity

Why the sound effect does not work in unity? when I try to add a sound effect, it doesn't work This is my script to move to the next scene using buttons: us

Why the sound effect does not work in unity

Why the sound effect does not work in unity? when I try to add a sound effect, it doesn't work This is my script to move to the next scene using buttons: us

json.stringify of web audio nodes return empty

Is there a way to stringify a web audio node object (such as gain,biquadfilter) to save/restore its settings? var gainNode = audioCtx.createGain(); var str = J

json.stringify of web audio nodes return empty

Is there a way to stringify a web audio node object (such as gain,biquadfilter) to save/restore its settings? var gainNode = audioCtx.createGain(); var str = J

Play Audio in Flutter from URL

I am new to flutter and I want to play audio file from URL path with play, pause and seek button and also show notification in player.

Why mediaPlayer.stop(); is not working here?

[AS] I've loaded two sounds that can play and overlap with no problem, however I can't seem to stop or pause them. In its current state, the stop button only w

ALSA - Retrieving audio buffer timestamps

I have a simple C program that plays audio using the ALSA APIs and I wish to know the precise timing of the audio buffers. I am attempting to retrieve the time

JavaScript Button Stop All Audio on Page

I'm using a embed player from mixlr.com to play audio. Now I need a button to stop the whole site's audio. Though the player have it's own play pause button. Bu

Stereo to Mono wav in Python

I am loading a wav with the scipy method wavefile.read() which gives me the samplerate and the audiodata I know that this audio data if stereo is stored as a m

Checking .wav files for similarity

I'm trying to compare .wav files for similarity. I used the google musicg library for that but I get bad scores for similar sounds. I compare two car motor soun