Skip to content

Tag: audio

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, yo…

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…

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 th…

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&#821…

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 wi…