Skip to content Skip to sidebar Skip to footer
Showing posts with the label Audio

Save Audio File Kivy, Python

What I am trying to do is, save each recorded file with a different filename(Myaudio1,2,3). Current… Read more Save Audio File Kivy, Python

Analyzing Audio Level In Real Time Using Python

Im trying to get my Raspberry do stuff, based on the audio level of a played song (sound output). T… Read more Analyzing Audio Level In Real Time Using Python

Compare The Similarity Of 2 Sounds Using Python Librosa

I have about 30 sound clips that are each a preset from a synthesizer. I want to compare these soun… Read more Compare The Similarity Of 2 Sounds Using Python Librosa

Pygame - Play Sounds Simultaneously

I am making a Game using Pygame and what I'm trying to do is to have a main sound for every lev… Read more Pygame - Play Sounds Simultaneously

How To Convert Wav File To Float Amplitude

so I asked everything in the title: I have a wav file (written by PyAudio from an input audio) and … Read more How To Convert Wav File To Float Amplitude

Combine Audio Files In Python

How can I combined multiple audio files (wav) to one file in Python? I found this: import wave inf… Read more Combine Audio Files In Python

Generating Smooth Audio From Python On A Low-powered Computer

I am trying to write a simple audio function generator in Python, to be run on a Raspberry Pi (mode… Read more Generating Smooth Audio From Python On A Low-powered Computer

Winsound Not Found In Python

I have this error. Can anyone advise? Python 2.7.10 (default, Jun 1 2015, 18:05:38) [GCC 4.9.2] o… Read more Winsound Not Found In Python

Preloading Sound In Kivy

I have a kivy-based game that is supposed to play some sound FX. Sound objects are loaded like this… Read more Preloading Sound In Kivy

Playing Remote Audio Files In Python?

I'm looking for a solution to easily play remote .mp3 files. I have looked at 'pyglet' … Read more Playing Remote Audio Files In Python?

Attributeerror: 'module' Object Has No Attribute 'spectrogram'

Currently, I'm writing a python script, which should do the following: read an audio file resp… Read more Attributeerror: 'module' Object Has No Attribute 'spectrogram'

Playing Music In Pygame Causes An Assertion Failure Message

I'm having trouble playing music in Pygame. I type: pygame.mixer.music.load('Maid with the … Read more Playing Music In Pygame Causes An Assertion Failure Message

Getting Max Amplitude For An Audio File Per Second

I know there are some similar questions here, but most of them are concerning generating waveform i… Read more Getting Max Amplitude For An Audio File Per Second

Python: How To Decode A Mp3 Chunk Into Pcm Samples?

I'm trying to catch chunks of an mp3 webstream and decoding them into PCM samples for signal pr… Read more Python: How To Decode A Mp3 Chunk Into Pcm Samples?

Google Streaming Speech Recognition On An Audio Stream Python

I have searched through all the available docs of Google but I could not find an example of streami… Read more Google Streaming Speech Recognition On An Audio Stream Python

Spectrogram Of A Wave File

I am trying to obtain spectrogram of a wav file in python. But it gives the error: 'module… Read more Spectrogram Of A Wave File

Python Silence Specific Part Of Audio File

I have an audio file audio.wav and I have an array of time frames looking like this one: X = [(12.3… Read more Python Silence Specific Part Of Audio File

How Would I Be Able To Pan A Sound In Pygame?

Basically, what I want to accomplish here, is a way to pan the sound while the game is running. I&#… Read more How Would I Be Able To Pan A Sound In Pygame?

Why Can't I Play The MIDI Files I Have Downloaded Programmatically, But I Can Play Them When I Download Them Manually?

I want to download the MIDI files from this website for a project. I have written the following cod… Read more Why Can't I Play The MIDI Files I Have Downloaded Programmatically, But I Can Play Them When I Download Them Manually?

Python: Reconstruct Audio File From STFT

As a simple experiment, I want to compute the stft of an audio file: sample_rate, samples = wav.rea… Read more Python: Reconstruct Audio File From STFT