Skip to content
Advertisement

Tag: audio

python winsound.playsound unable to find my sound file

I’ve been trying to add some music to the game I’ve been making. I’ve been trying to use winsound because it allows you to stop a sound mid-way through playing. The problem is that winsound seems unable to locate my sound file. I’ve tried using different modules such as the playsound module, which is able to play my music just

Sound feature attributeError: ‘rmse’

In using librosa.feature.rmse for sound feature extraction, I have the following: It gives me: What’s the right way to get it? Sample file: https://www2.cs.uic.edu/~i101/SoundFiles/CantinaBand3.wav Answer I am guessing you are running one of the latest librosa. If you check the changelog for the 0.7, you will notice that rmse was dropped in favour of rms. Simply run: and you should

How to mute/unmute sound using pywin32?

My searches lead me to the Pywin32 which should be able to mute/unmute the sound and detect its state (on Windows 10, using Python 3+). I found a way using an AutoHotkey script, but I’m looking for a pythonic way. More specifically, I’m not interested in playing with the Windows GUI. Pywin32 works using a Windows DLL. so far, I

Scipy.signal.spectrogram output lengths

I am trying to analyze the frequencies of a song at certain points of time held inside an array. I am using the scipy.signal.spectrogram function to generate those frequencies. the length of the song is 2:44, or 164 seconds, and the sampling rate of the scipy.wavfile read is 44100. When I use spectrogram: The length of f is really small,

Split audio files using silence detection

I’ve more than 200 MP3 files and I need to split each one of them by using silence detection. I tried Audacity and WavePad but they do not have batch processes and it’s very slow to make them one by one. The scenario is as follows: split track whereas silence 2 seconds or more then add 0.5 s at the

Create a wav file from blob audio django

On the client side, I am sending a blob audio (wav) file. On the server side, I am trying to convert the blob file to an audio wav file. I did the following: I thought that converting the blob would be similar to converting a blob image to a jpeg file, but was very incorrect in that assumption. That didn’t

How to call audio plugins from within Python?

I’ve noticed that some open source DAWs such as Ardour and Audacity are able to access audio plugins (e.g. VST, AU) that the user has installed on their system. This makes me think that “there ought to be a way” to do this in general. Specifically, I’d like to call some plugins from within my own audio-processing application, which I’m

Advertisement