Giter VIP home page Giter VIP logo

bpm-analyser's Introduction

Top Langs

Luccifer's GitHub stats

GitHub Streak

trophy

bpm-analyser's People

Contributors

drougojrom avatar luccifer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bpm-analyser's Issues

please help - fatal error

Hi,
I appreciate you doing this, I've been searching everywhere for something that looks good to me.

Unfortunately my app crashes when I try to put it to action.
I also ran your sample project to check if I was doing something wrong and it still crashes in the same line of code.
Could you help?

Thank you

file - BMPAnalyzer.swift
line 14 - completion!(Superpowered().offlineAnalyze(url))

log:
fatal error: unexpectedly found nil while unwrapping an Optional value

Can't open this file Error Swift

Hello Team,
When I try to get bpm of the song by BPM Analyzer, they return error give below. Please check me doing correct way to get bpm or not.

Code Below:

First UseCase
let dummySongURL = Bundle.main.url(forResource: "demo2", withExtension: "mp3")!
= BPMAnalyzer.init().getBpmFrom(dummySongURL) { (songBPM) in // error return: open error: Can't open this file. }

Second UseCase
let dummySongURL = "https://geekanddummy.com/wp-content/uploads/2014/02/central-locking-Ford-Mondeo-Mk-3.mp3"
= BPMAnalyzer.init().getBpmFrom(URL(string: urlss)!) { (songBPM) in // open error: Use SuperpoweredAdvancedAudioPlayer::setTempFolder first. }

Can someone please explain to me how to get this.
Any help would be greatly appreciated.
Thanks in advance.

On some songs the reported BPM rate is approximately twice as high as in online databases

Examples:

IN EXTREMO 'Lebensbeichte'
REPORTED BPM: 178
https://songbpm.com/in-extremo-lebensbeichte?q=In%20Extremo%20-%20Lebensbeichte: 89

DEPECHE MODE 'A question of lust'
REPORTED BPM: 187.5
https://songbpm.com/depeche-mode-a-question-of-lust?q=depeche%20mode%20-%20a%20question%20of%20lust: 96

the other songs however are (almost) identical:
Archive - 'You make me feel'
REPORTED BPM: 167
https://songbpm.com/archive-you-make-me-feel?q=Archive%20-%20You%20make%20me%20feel: 167

Linker error for architecture arm64

I'm trying to integrate BPMAnalyser into my project and am running into this roadblock. I'm having a hard time adding the Superpowered library correctly. I've added the Superpowered bridging header to my bridging header, and have added the libSuperpoweredAudioIOS.a to my linked frameworks, but still get the following error:
Undefined symbols for architecture arm64: "_OBJC_CLASS_$_Superpowered", referenced from: objc-class-ref in BMPAnalyzer.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Does not work on iOS 13.x anymore

When selecting a track (Not from Apple music, downloaded to the device) the application returns:

BPMAnalyser[40046:12132003] open error: Data connection lost.

Apple Music Songs Crash

Hi there!
Thanks for awesome bridge, but I found some issue:
If I pick song that purchased and downloaded from iTunes Store - everything is okay.
But if I am picking song that I have downloaded from Apple Music the library crashes: "BPMAnalyser[4409:1894057] open error: iPod library error."

My Apple Music subscription is active and songs are downloaded and stored in iPhone memory.

Not Return Correct BPM

Hello team,
I am little bit confused because BPM-Analyser are not working properly. I am trying to check below songs Bpm through BPM-Analyser and return wrong bpm please check.

Song Name:- Comfortably Numb by Pink Floyd
Song BPM:- 64 BPM

Reference Link:- https://www.google.com/search?q=Comfortably+Numb+by+Pink+Floyd+bpm&oq=Comfortably+Numb+by+Pink+Floyd+bpm&aqs=chrome..69i57j0l7.3310j0j4&sourceid=chrome&ie=UTF-8

BPM Analyser = 127 BPM

Song Name:- The End by The Beatles Song
Song BPM:- 123 BPM
Reference Link:- https://www.google.com/search?sxsrf=ALeKk02pCM3ZfW3c6TVpOJRCi4zqFCQHbA%3A1589551394007&ei=IqG-Xo0J_pDj4Q_SlY3gDQ&q=The+End+by+The+Beatles+Song+BPM&oq=The+End+by+The+Beatles+Song+BPM&gs_lcp=CgZwc3ktYWIQAzIICCEQFhAdEB46BAgAEEc6BAgjECc6AggAOgYIABAWEB5QxQVY-x9gliJoAHAAeACAAZ0BiAGhDJIBBDAuMTGYAQCgAQGqAQdnd3Mtd2l6&sclient=psy-ab&ved=0ahUKEwiNosSxhLbpAhV-yDgGHdJKA9wQ4dUDCAw&uact=5

BPM Analyser = 111 BPM

@Luccifer @drougojrom Please check this and reply me ASAP. Why BPM-Analyser return wrong or incorrect BPM.

Looking forward to hear from you.
Thanks & Regards
Sham

file can't open

Hi,
I tried the example app on Xcode 12.1 with

let url = Bundle.main.url(forResource: "TestMusic", withExtension: "m4a")

(Because media selector is not working on simulator)
But I receive file can't open error message.
I tried different files result the same.
Superpowered.mm gives the error

- (NSString *)offlineAnalyze:(NSURL *)url {
    // Open the input file.
    SuperpoweredDecoder *decoder = new SuperpoweredDecoder();
    const char *openError = decoder->open([[url absoluteString] UTF8String], false, 0, 0);
    if (openError) {
        NSLog(@"open error: %s", openError);
        delete decoder;
        NSString *st = @"";
        return st;
    };

My url is correct I did nil check but maybe something is deprecated?
Thank you in advance.

Cannot access the swift class

Hey, this is probably super simple, but how can I access the class from within my implementation?I have added the src to the project and copied over and set the bridge file to be built as well. Once I try to access BPMAnalyzer class it says there is none. I have tried building and restarting xcode to no avail.

I am also trying this on a macos app, can that be the issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.