Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 674 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 674 Bytes

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"]);