Can't get librosa load a wav file

I got an audio dataset of many wav files and tired to use librosa to edit, but I have trouble reading some certain files by using librosa.load.Could someone help me figure it out? here is my...

running librosa & numba on raspberry pi 3

I am trying to run librosa on my raspberry pi 3. After hours of searching through the internet I was finally able to install it but it still throws an error when I try to import it. First, I had...

Why Python `audioread.NoBackendError`

I want to put every audios's label and feature to list labels and batch_features, then I happen audioread.NoBackendError when the batch_size > 10. I understand it is a librosa's error. but the...

How to Create Hamming Window in Audio Signal Processing

Please help me, I'am newbie... I have an audio -- fs=16000 (.wav). I want to touch this audio with hamming window. this is my code: y = audioread('Mono.wav'); sr = 16000; %sampling rate w =...

Matlab: read multiple files

my matlab script read several wav files contained in a folder. Each read signal is saved in cell "mat" and each signal is saved in array. For example, I have 3 wav files, I read these files and...

Octave playing an audio file from a function

I would like to write a function which takes an audio file address as input, and then make some changes to that audio file and play it. I am new to Octave and by looking the documentation I came...

librosa.load: file not found error on loading a file

I am trying to use librosa to analyze .wav files. I started with creating a list which stores the names of all the .wav files it detected. data_dir = '/Users/raghav/Desktop/FSU/summer...

No Backend Error appearing when using Librosa for audio analysis

I am getting the following error while executing the mentioned code. This is the first time I am using StackOverflow so pardon my...

audioread.exceptions.NoBackendError Midi file

I am trying to load a file which is a midi file. A simple loading is giving me the following error. My librosa version is 0.6.3 and Python is 3.6.8. I have ffmpeg already in my Ubuntu. I saw a...

UnsatisfiableError: The following specifications were found to be incompatible with each other:

I am running on Ubuntu 16.04 and I have run into issues with Anaconda. Due to package inconsistencies, I can no longer install, update or remove packages. $ conda info NVIDIA: no NVIDIA devices...

"No Backend Error" while reading files in Python

I am trying to perform STFT on a bunch of sound files and I get this error. The path of the files which I am trying to perform STFT is correct but still, I get this error. import librosa import...

audioread.exceptions.NoBackendError in librosa

import librosa import librosa.display import IPython.display import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl import matplotlib.font_manager as fm audio_path =...

Read audio file in a POST request to Flask API

I am building a "guitar tuner" app with ReactJS for frontend and Python Flask as the backend. This is what the app does so far: 1. The React app (client side) records audio using react library...

No Backend error despite of downloading ffmpeg and setting path variable python

I am having a no backend error in my python code to open an audio file using librosa module. I have downloaded ffmpeg and seted environment but still I am getting no backend error. I am getting...

"No Backend Error " while working with librosa

file = open('data.csv', 'w', newline='') with file: writer = csv.writer(file) writer.writerow(header) genres = 'blues classical country disco hiphop jazz metal pop reggae...

I am getting "OSError: sndfile library not found" & "Unable to locate package libsndfile1" errors when deploying audio prediction model on Heroku

The objective is to deploy an audio prediction ML model on Heroku, which uses librosa library from python. The app.py file uses librosa library to extract features from the audio. When I try to...

I load my audio and when I want to load the filename I have some troubles

Import library import librosa import librosa.display filename = get_audio_path(AUDIO_DIR, 36096) y, sr = librosa.load(filename) print(len(y),sr) With get_audio_path(AUDIO_DIR, 36096) the...

Librosa cannot load from BytesIO

I am currently trying to create a large dataset for deep learning consisting of a lot of compressed mp3 files stored together so I dont have 100k files that I have to load individually. x =...

Librosa read MP3 audio from URL

I am trying to read Mp3 audio from URL using Librosa. I understand that Librosa first uses PySoundFile to load the audio and if that fails it then uses audioread. I have the following code so...

Can´t use librosa with python 3

I have installed librosa correctly with pip3 on ubuntu subsystem on windows, but when I try to execute a simple program like this one: import librosa data, sr =...

Can't load audio files with librosa

Unless I use one of librosa's native 'example' audio files which are in some format '.ogg', I cannot load audio. Every github issue and SO answer says I need to install ffmpeg. I found a python...

Trouble installing Librosa properly (sndfile.dll has not attribute named 'sf_wchar_open')

I am trying to install librosa on Anaconda environment, I created a completely new and installed librosa, however I keep getting this problem, even when I re-install cffi package, audioread and...

How can I process OPUS format with Librosa?

I am trying to generate spectrograms by using Librosa. When I was working with the .wav format file it was working fine. But I changed the format to OPUS audio codec and tried to run the same...

How to impliment a Single Sideband Suppressed Carrier Modulator with an audio file as input?

I have been given an audio signal which I imported into Octave using audioread. I have obtained fs and can naturally plot the time domain signal. After an FFT the frequency domain can easily be...

Check if person is in a voice channel discordpy

I made a command in my discord bot that plays an audio file when the command G!tutturu is sent. It works fine when you're in a voice channel, but when you're not instead of sending user is not in...

Error importing librosa for TensorFlow: sndfile library not found

I'm trying to use TensorFlow Lite for a voice recognition project using Jupyter notebook but when I try to do a "import librosa" (using commands found here:...

Not able to install librosa

I am not able to install librosa in Ubuntu 18.04. I have tried the following commands, all are failed. pip install librosa python3.8 -m pip install librosa sudo pip install librosa pip install -u...

tensorflow dependencies continuously gives me errors in colab during installation of deepspeech environment

when I run the following command on Google Colab !pip3 install --upgrade pip==20.0.2 wheel==0.34.2 setuptools==46.1.3 !pip3 install --upgrade --force-reinstall -e . Got an error ERROR: pip's...

Sudden Tensorflow / Keras Google Colab dependency problems `AttributeError: module 'tensorflow._api.v1.compat.v2' has no attribute '__internal__'`

I have running a machine learning model (Matterport's Mask R-CNN) in google colab for a couple of weeks. All of a sudden today I am unable to run any of my notebooks due to I think some kind of...

ERROR: CMake must be installed to build dlib

While using docker build -t /flask-docker to create an image to later upload it to heroku, I get the following errors: #8 417.3 ERROR: CMake must be installed to build dlib #8 417.3 #8 417.3 ...