Category "audio"

Audio resampling layer for tensorflow

It is required to resample audio signals within a custom model structure. This resampling task is not a kind of pre/post-processing operation that can be develo

Using a 2d kernel on 1d input in a convolutional network

I am trying to create a TasNet model, which is an audio separation network from the original paper. In section 2.2.1 they discuss how the encoder is going to ha

PyAudio Recording and Playing Back in Real Time

I am trying to record audio from the microphone and then play that audio through the speakers. Eventually I want to modify the audio before playing it back, but

How to get the length of the sum of audio files using sox?

I have a script such as following DIR=$1 ls $1 |sort -R |tail -$5 |while read file; do soxi -d $1$file done and it gives me an output like 00:40:35.18 00:4

How to dynamically change self variables, parameters, args... in multiprocessing?

I don't know much of Python yet, but I'm trying to create an app that controls multiple streams of sound simultaneously (It has to do with binaural beats, noise

Linking CSS doesn't work

So my CSS doesn't work for some reason. I have searched online and cannot find a problem with it but the CSS is not connecting to the HTML. Here is my code:

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