Questions tagged [pyaudioanalysis]

A Python library for machine learning based audio feature extraction, classification, segmentation and applications

29 questions
26
votes
8 answers

Open source code for voice detection and discrimination

I have 15 audio tapes, one of which I believe contains an old recording of my grandmother and myself talking. A quick attempt to find the right place didn't turn it up. I don't want to listen to 20 hours of tape to find it. The location may not…
Croad Langshan
  • 2,646
  • 3
  • 24
  • 37
7
votes
2 answers

matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible

I'm executing bellow command in Mac (High Sierra) as a part of getting started with pyAudioAnalysis. pip install numpy matplotlib scipy sklearn hmmlearn simplejson eyed3 pydub I'm getting following error during the installation process.…
channae
  • 951
  • 1
  • 12
  • 28
6
votes
1 answer

pyAudioAnalysis Library error: cannot reshape array of size 4400 into shape (220,10)

I'm trying to extract some features of a wav file, I have this: https://s3-us-west-2.amazonaws.com/music-emotions/ambient/13+Clock+in+the+Morning+-+Waiters+the++Free+Music+Archive+(No+Copyright+Music).wav I'm using the feature extraction tools of…
Pablo Estrada
  • 3,182
  • 4
  • 30
  • 74
4
votes
0 answers

BPM detection from pyAudioAnalysis is producing the wrong number of beats for any signal

Any help would be much appreciated. I am trying to extract the BPM from any .wav file that is loaded onto the python script by using the pyAudioAnalysis library. For some reason it is not outputting the correct BPM? I tried to change the window size…
AhmedB
  • 41
  • 1
  • 3
3
votes
1 answer

How to get 24-bit samples from USB audio device using Python?

I am trying to get a stream of 24-bit audio samples from some USB audio device using Python. I already searched for some solutions and found this thread that is using PyAudio stream with a format of pyaudio.paInt24, unfortunately I still got 16-bit…
3
votes
2 answers

ImportError: libportaudio.so.2: cannot open shared object file: No such file or directory in raspberry-pi4

My code: import speech_recognition as sr r = sr.Recognizer() with sr.Microphone() as source: print("talk") audio_text = r.listen(source) print("time over") try: text = r.recognize_google(audio_text) …
2
votes
1 answer

error in working with speech_recognition in section of pyaudio

Traceback (most recent call last): File "C:\Users\Anu Nema\AppData\Local\Programs\Python\Python38-32\lib\site-packages\speech_recognition\__init__.py", line 109, in get_pyaudio import pyaudio ModuleNotFoundError: No module named…
1
vote
3 answers

python - audio classification of equal length samples / 'vocoder' thingy

Anybody able to supply links, advice, or other forms of help to the following? Objective - use python to classify 10-second audio samples so that I afterwards can speak into a microphone and have python pick out and play snippets (faded together)…
johannesgj
  • 11
  • 3
1
vote
0 answers

Why am I getting "index 0 is out of bounds for axis 0 with size 0 when using pyAudioAnalysis library?

This question is about Speaker diarization. I'm trying to make a script that separates a mp4 file into different segments depending on different speakers. (The input mp4 file contains the dialogue of 4 different speakers) The code is as…
1
vote
2 answers

How do I find amplitude of wav file in python?

I am working with wav files analysis using the librosa library in python. I used librosa.load() to load the audio file. Apparently this function loads the wav file into a numpy array with normalised amplitude values in the range -1 to 1. But I need…
Archit Sahu
  • 13
  • 1
  • 4
1
vote
1 answer

Looking for a audio Analysis library for information extraction

Hey guys I'm a beginner in Audio Analysis and trying to find a library which gives me insights like amplitude, classification of sound, what should detect background noise. I have tried out Paura/pyAudioAnalysis (pAura: Python AUdio Recording and…
1
vote
1 answer

Can't open file 'audioAnalysis.py': [Errno 2] No such file or directory

I'm trying to store MFCC feartures of an audio file to a csv file. I'm following the wiki on github for Feature Extraction using pyAudioAnalysis. The suggested command is: python3 audioAnalysis.py featureExtractionFile -i test.wav -mw 1.0 -ms 1.0…
DevLoverUmar
  • 11,809
  • 11
  • 68
  • 98
1
vote
0 answers

How to read 1GB audio file in python 2 or python 3?

I want to read a big audio file in Python. And segment it into many wave files and save them. I download a library call pyAudioAnalysis, and write code as follow: from pyAudioAnalysis import audioBasicIO as aIO from pyAudioAnalysis import…
Pelican
  • 43
  • 7
1
vote
3 answers

Pip not installing package properly

So I am trying to get hmmlearn working in Jupyter, and I have come across an error while installing Hmmlearn using pip. I have tried this solution, but it didn't work. It seems to me that pip does install the _hmmc file, but it does so incorrect.…
0
votes
1 answer

pyAudioAnalysis cannot import normalize_features

I am done with installing pyAudioAnalysis, and I am importing now: from pyAudioAnalysis.MidTermFeatures import mid_feature_extraction as mT from pyAudioAnalysis.audioBasicIO import read_audio_file, stereo_to_mono from…
resssslll
  • 65
  • 1
  • 7
1
2