Skip to content

Takes lots of time to calculate BPM #8

@AkshayChordiya

Description

@AkshayChordiya

Hi,

Thanks for this library, it helped alot in music analysis. But the problem is it takes a lot of time to calculate Temp aka BPM of song.

I don't know but it takes very much time, can this be improved by reducing the waitForAnalysis timeout ?
Here is my code below to calculate Tempo from Echonest

EchoNestAPI en = new EchoNestAPI(Constant.BPM.ECHO_NEST_API);
Track track = en.uploadTrack(new File(args[0]));
track.waitForAnalysis(10000);
if (track.getStatus() == Track.AnalysisStatus.COMPLETE) 
     System.out.println("Tempo = " + track.getTempo());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions