librosa
Python library for audio and music analysis (by librosa)
pydub
Manipulate audio with a simple and easy high level interface (by jiaaro)
Our great sponsors
librosa | pydub | |
---|---|---|
6 | 18 | |
5,184 | 6,125 | |
2.0% | - | |
7.6 | 0.3 | |
8 days ago | 6 days ago | |
Python | Python | |
ISC License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
librosa
Posts with mentions or reviews of librosa.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-20.
-
AUDIO CLASSIFICATION USING DEEP LEARNING
Hello! welcome once again to the continuation of the last blog post about audio analysis using the Librosa python library, if you missed this article don't worry here you can enjoy audio analysis techniques with Librosa.
-
DATA AUGMENTATION IN NATURAL LANGUAGE PROCESSING
Changing pitch of the audio:- in this technique python package for audio analysis like Librosa is the best tool to go with, by adding effect on the audio pitch to create new audio data.
- mingus library for music theory
-
Aubio, a C library for analyzing songs
You might try "librosa" for tempo/beat detection:
https://github.com/librosa/librosa/blob/main/librosa/beat.py
Track beats using time series input
-
Feeling Discouraged and Need Guidance
https://github.com/librosa/librosa (According to their own page, though: "librosa uses soundfile and audioread to load audio files. Note that soundfile does not currently support MP3, which will cause librosa to fall back on the audioread library". This basically means that in-buffer reading isn't supported for MP3 files. They even recommend you to install ffmpeg or GStreamer so that audioread can work for MP3, too. I'm not exactly sure what they do internally but I assume it's something like: Convert MP3 to WAV using ffmpeg, then using audioread, but this is only an assumption)
-
BOUNTY OFFERED: Help Me Solve a Linux/AlsaMixer os.system() command issue
Hey OP, I don't have a ton of experience with speech synthesis, but I believe this is usually accomplished with a library like librosa to separate background noises (which your robots voice and frequency would be a part of) from other vocals.
pydub
Posts with mentions or reviews of pydub.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-09.
-
Batch conversion FLAC to WAV
Once python is installed, you will also need to install the "pydub" package for this script to work. If you're on a Windows computer, you can do this from the command line (run the "cmd") program. If you're on mac, you can do this from the terminal. Basically, the way that you do this is using "pip" -- a "helper" program that comes with python. Once you launch the command line, just run the command python -m pip install pydub --upgrade and you should see a message showing that it successfully installed. If you're struggling with this step, just google how to "pip install python packages" and you can find a lot of beginner guides.
-
How can I modify the pitch of an audio file and save it to disk?
That is kinda what serverless functions are built for. Looks like python has some good libraries for this: https://github.com/jiaaro/pydub.
-
Playing large audio files?
The files are big, so it's not feasible to load one in all at once. They have to be streamed/chunked somehow. (sadly, pydub doesn't support this...)
- What library can be used to cut a mp3 by a certain time segment
-
How can I edit an audio file/add sound effects.
You can overlay audio files/segments onto each other using pydub.
-
Playing MP3 files without opening a window?
Pydub has audio playback functionalities, though iirc pydub itself depends on 3rd party libraries to do this. Maybe check its documentation.
-
Play a sound file
Seems to me a good fit for your use case would be Pydub: https://github.com/jiaaro/pydub
-
Removing sections of video that matches a certain frame.
If there isn't sound during the black screen you can use the pydub module's pysilence.detect_silence() method to detect the start and end of video silence. And use a video editing module such as MoviePy to remove those sections.
-
Looking for an audio/music lib
At the moment Pydub looks like the closest match, but if it requires an ffmpeg install it's going to be a problem for pyinstaller building .exes/.apps. Same for some PortAudio wrappers I've found.
-
My first impressions of Pedalboard
Oh, there are plenty of people like me with elaborate systems to do manipulation of audio as numpy arrays, but in terms of modules that people use, the top module for audio processing is probably https://github.com/jiaaro/pydub, which has its own interface and then there are a couple of wrappers for ffmpeg and libav, also not numpy.
What are some alternatives?
When comparing librosa and pydub you can also consider the following projects:
pyAudioAnalysis - Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications
kapre - kapre: Keras Audio Preprocessors
SpeechRecognition - Speech recognition module for Python, supporting several engines and APIs, online and offline.
essentia - C++ library for audio and music analysis, description and synthesis, including Python bindings
beets - music library manager and MusicBrainz tagger
audioread - cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding for Python
mutagen - Python module for handling audio metadata
django-elastic-transcoder - Django + AWS Elastic Transcoder
eyeD3