Skip to content

Essentia Music Extractor wrapped in an easy-to-use iOS framework

Notifications You must be signed in to change notification settings

ragnaringi/ESMusicExtractor

Repository files navigation

ESMusicExtractor

This is an ObjC framework wrapper for the Essentia open-source C++ library for audio analysis and audio-based music information retrieval.

Build the Xcode project or run Carthage github "ragnaringi/ESMusicExtractor" and add ESMusicExtractor.framework into your project.

Provide and audio file to analyse and parse the resulting dictionary for features:

#import <ESMusicExtractor/ESExtractor.h>

NSURL *inputURL = [[NSBundle mainBundle].resourceURL URLByAppendingPathComponent:@"Test.m4a"];
  
ESExtractor* extractor = [ESExtractor new];
NSDictionary* info = [extractor analyseTrack:inputURL];
NSLog(@"%@", info[@"rhythm"][@"beats_position"]);