Description
Tap into The Echo Nest's Musical Brain for the best music search, information, recommendations and remix tools on the web.
Pyechonest is an open source Python library for the Echo Nest API. With Pyechonest you have Python access to the entire set of API methods including:
pyechonest alternatives and similar packages
Based on the "Audio" category.
Alternatively, view pyechonest alternatives based on common mentions on social networks and blogs.
-
SpeechRecognition
Speech recognition module for Python, supporting several engines and APIs, online and offline. -
pyAudioAnalysis
Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications -
Essentia
C++ library for audio and music analysis, description and synthesis, including Python bindings -
Watson Developer Cloud Python SDK
:snake: Client library to use the IBM Watson services in Python and available in pip as watson-developer-cloud -
aeneas
aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment) -
audioFlux
A library for audio and music analysis, feature extraction. -
speechpy
:speech_balloon: SpeechPy - A Library for Speech Processing and Recognition: http://speechpy.readthedocs.io/en/latest/ -
audiolazy
Expressive Digital Signal Processing (DSP) package for Python -
tinytag
Read audio and music meta data and duration of MP3, OGG, OPUS, MP4, M4A, FLAC, WMA, Wave and AIFF files with python 2 or 3 -
audioread
cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding for Python -
TimeSide
scalable audio processing framework and server written in Python -
Prosodylab-Aligner
Python interface for forced audio alignment using HTK and SoX -
speech-to-text-websockets-python
Python client that interacts with the IBM Watson Speech To Text service through its WebSockets interface -
praatIO
A python library for working with praat, textgrids, time aligned audio transcripts, and audio files. It is primarily used for extracting features from and making manipulations on audio files given hierarchical time-aligned transcriptions (utterance > word > syllable > phone, etc). -
django-elastic-transcoder
Django + AWS Elastic Transcoder -
ProMo
Prososdy Morph: A python library for manipulating pitch and duration in an algorithmic way, for resynthesizing speech. -
pyAcoustics
A collection of python scripts for extracting and analyzing acoustics from audio files. -
eyeD3
A tool for working with audio files, specifically MP3 files containing ID3 metadata. -
pysle
Python interface to ISLEX, an English IPA pronunciation dictionary with syllable and stress marking. -
id3reader
Id3reader.py is a Python module that reads ID3 metadata tags in MP3 files.
Write Clean Python Code. Always.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of pyechonest or a related project?
README
Pyechonest
Tap into The Echo Nest's Musical Brain for the best music search, information, recommendations and remix tools on the web.
Pyechonest is an open source Python library for the Echo Nest API. With Pyechonest you have Python access to the entire set of API methods including:
- artist - search for artists by name, description, or attribute, and get back detailed information about any artist including audio, similar artists, blogs, familiarity, hotttnesss, news, reviews, urls and video.
- song - search songs by artist, title, description, or attribute (tempo, duration, etc) and get detailed information back about each song, such as hotttnesss, audio_summary, or tracks.
- track - upload a track to the Echo Nest and receive summary information about the track including key, duration, mode, tempo, time signature along with detailed track info including timbre, pitch, rhythm and loudness information.
Install
There are a few different ways you can install pyechonest:
- Use setuptools:
easy_install -U pyechonest
- Download the zipfile from the releases page and install it.
- Checkout the source:
git clone git://github.com/echonest/pyechonest.git
and install it yourself.
Getting Started
- Install Pyechonest
- Get an API key - to use the Echo Nest API you need an Echo Nest API key. You can get one for free at developer.echonest.com.
- Set the API key - you can do this one of two ways:
- set an environment variable named
ECHO_NEST_API_KEY
to your API key - Include this snippet of code at the beginning of your python scripts:
from pyechonest import config
config.ECHO_NEST_API_KEY="YOUR API KEY"
- Check out the docs and examples below.
Examples
All examples assume you have already setup your api key!
Find artists that are similar to 'Bikini Kill':
from pyechonest import artist
bk = artist.Artist('bikini kill')
print "Artists similar to: %s:" % (bk.name,)
for similar_artist in bk.similar: print "\t%s" % (similar_artist.name,)
Search for artist:
from pyechonest import artist
weezer_results = artist.search(name='weezer')
weezer = weezer_results[0]
weezer_blogs = weezer.blogs
print 'Blogs about weezer:', [blog.get('url') for blog in weezer_blogs]
Get an artist by name:
from pyechonest import artist
a = artist.Artist('lady gaga')
print a.id
Get an artist by Musicbrainz ID:
from pyechonest import artist
a = artist.Artist('musicbrainz:artist:a74b1b7f-71a5-4011-9441-d0b5e4122711')
print a.name
Get the top hottt artists:
from pyechonest import artist
for hottt_artist in artist.top_hottt():
print hottt_artist.name, hottt_artist.hotttnesss
Search for songs:
from pyechonest import song
rkp_results = song.search(artist='radiohead', title='karma police')
karma_police = rkp_results[0]
print karma_police.artist_location
print 'tempo:',karma_police.audio_summary['tempo'],'duration:',karma_police.audio_summary['duration']
Get a song's audio_url and analysis_url:
from pyechonest import song
ss_results = song.search(artist='the national', title='slow show', buckets=['id:7digital-US', 'tracks'], limit=True)
slow_show = ss_results[0]
ss_tracks = slow_show.get_tracks('7digital-US')
print ss_tracks[0].get('preview_url')
-