Questions tagged [pyaudioanalysis]

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

29 questions
0
votes
0 answers

How do i get python to match sounds for me, is it possible?

For quite the while now i've been trying to find a way to make python listen to my background pc sounds or to sounds an app makes and if it notices a sound which is simular or the same as an mp3 file i provide to the program it will give me an…
Toiletman
  • 1
  • 2
0
votes
1 answer

batch extraction of features - csv files not stored

I want to extract audio features from a large set of files using pyaudioanalysis, using the following command line (as suggested on the github project's page): python3 audioAnalysis.py featureExtractionDir -i data/ -mw 1.0 -ms 1.0 -sw 0.050 -ss…
Jehol
  • 193
  • 1
  • 7
0
votes
1 answer

Can pyAudioAnalysis be used on a live http audio stream?

I am trying to use pyAudioAnalysis to analyse an audio stream in real-time from a HTTP stream. My goal is to use the Zero Crossing Rate (ZCR) and other methods in this library to identify events in the stream. pyAudioAnalysis only supports input…
Tompo
  • 7
  • 4
0
votes
0 answers

Is there a way to amplify a sound at a specific frequency using PyAudio?

I am trying to build an application using pyaudio which can amplify sounds at certain frequencies without affecting sounds at other frequencies. For example. If I was playing a piece of audio with 2 frequencies. 250Hz and 500Hz. How do I only…
0
votes
0 answers

how to find a word spoken in a speech in python

I am working on detecting trigger words like "Hi Siri", "Ok Google" etc in Python. My approach is to record trigger and some output words in wav files. Then read them and extract features using pyAudioAnalysis. Lastly, I compare the cosine…
Asim
  • 1,430
  • 1
  • 22
  • 43
0
votes
1 answer

can't install specific older version of sklearn to solve the incompatible "SVC attribute error" in pyadio analysis lib

This code below is for audio file segmentation. from pyAudioAnalysis import audioSegmentation as aS [flagsInd, classesAll, acc, CM] = aS.mtFileClassification("diarizationExample.wav", "svmSM", "svm", True, 'dar.segments.txt') it gives me this…
ERJAN
  • 23,696
  • 23
  • 72
  • 146
0
votes
1 answer

Jupyter Notebook not recognizing Eyed3

I'm trying to use the pyAudioAnalysis library to pull features from mp3 files. The problem I'm having is that I can't get my Jupyter Notebook to find eyed3, which is essential for the library. Here's my code : from pyAudioAnalysis import…
Kyle Frye
  • 111
  • 1
  • 11
0
votes
1 answer

Numpy memory error while using audio analysis using python

I get the following error, while I test a more than 100 mb audio file. Traceback (most recent call last): File "C:\Users\opensource\Desktop\pyAudioAnalysis-master\audioFeatureExtractio n.py", line 542, in stFeatureExtraction signal =…
malarvz
  • 9
  • 1
  • 3
0
votes
0 answers

Python Audio Analysis - wavfile.read()

For my project on audio analysis, I have downloaded several .wav files while converted some of my .mp3 files to .wav files. But when these .wav files are read using wavfile.read() function. the dimension of the data returned is varies from file to…
GAURANG VYAS
  • 689
  • 5
  • 16
0
votes
2 answers

pyAudioAnalysis, Tuple index out of range

So I am trying to make a rudimentary emotion classifier using the pyAudioAnalysis library, and I have collected a small datasample to test if it works. my code is as following: from pyAudioAnalysis import audioAnalysis as aA …
0
votes
1 answer

'line contains NULL byte' error while using pyAudioAnalysis

I'm trying to run a regression on some audio data using pyAudioAnalysis, going off of the instructions here. However, when I run aT.featureAndTrainRegression(args), I get Error: line contains NULL byte as it scans through my csv file. I've done some…
-1
votes
1 answer

Creating a speech recognition program using pyaudio but having an issue

I'm trying to create a speech recognition program using pyaudio but I'm having some issues. I wrote a little bit of code to test some stuff, but for some reason my program is hanging on the following piece of code "audio = r.listen(source)" and I…
-1
votes
1 answer

Error running the pyAudioAnalysis sample program

I installed pyAudioAnalysis on python2.7 using pycharm (linux). Trying to run audioBasicIO.py gives the following error. I have installed eyeD3 but it does not work. /usr/bin/python2.7…
Lingjie Ji
  • 11
  • 3
-4
votes
1 answer

How to solve this Typeerror?

Using TensorFlow backend I am getting this Typeerror, Traceback (most recent call last): File "/home/lwin/speech-emotion/Speech_emotion_recognition_BLSTM-master1/prediction.py", line 36, in f = functions.feature_extract((y, sr),…
thaingiW
  • 1
  • 3
1
2