Comments (2)
Yes, stereo2mono() needs to be called after file reading to ensure that the signal is converted to mono. Feature extraction on stereo signals is not supported. However, if the information from two different channels actually have a conceptual meaning for your problem, you could try extract features on the two channels separately.
from pyaudioanalysis.
I've had a similar problem. Looks as if stFeatureExtraction does not support stereo audio. I called
audioBasicIO.stereo2mono(x)
beforehand, although using numpy this:
x = np.mean(x, axis=1)
maybe faster (I actually have no idea if this is true...).
from pyaudioanalysis.
Related Issues (20)
- Signal from read_audio_generic causes ValueError in feature_extraction
- error in audioTrainTest.extract_features_and_train if class folder contain only 1 sample
- Plot the wav image Value Error on silence_removal
- AttributeError: module 'pyAudioAnalysis.audioTrainTest' has no attribute 'featureAndTrain'
- Vocale
- Segmentation Based on speaker
- typo in wiki
- Add headers to CSV output with feature names?
- No requirements for pip pyAudioAnalysis?
- How to save pyaudioanalysis svm model in onnx format
- cannot reshape array of size 28800 into shape (480,10) HOT 1
- mportError: cannot import name 'audioFeatureExtraction' from 'pyAudioAnalysis' HOT 3
- invalid syntax for print method in analyzeMovieSound
- Add Pypi long description HOT 1
- Is it possible to set shortTermWindow to be shorter? HOT 1
- Questions about Copilot + Open Source Software Hierarchy
- Generate ShortTermFeatures for an audio signal of 0.1 seconds of a mono, 16KHz and PCM wave file HOT 3
- open wav file for analyse HOT 2
- open wav file for analyse HOT 2
- Security Concern: Usage of `pickle` for Model Loading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyaudioanalysis.