Giter Club home page Giter Club logo

Comments (2)

cjcliffe avatar cjcliffe commented on July 25, 2024

@h2o- sorry didn't catch this issue til now -- the time is just the time in seconds (floating point) for the current spectrum frame.

For the microphone you'd probably want to use the time since recording started (sample_time - start_time) and for an audio track you can use the current playback time for the given sample. If you move the time backwards just remember to call reset() first, and starting at 0 is not necessary.

There's no built-in track change detection but it will follow tempo changes -- though it follows more slowly when it's recently had a solid BPM match and tempo changes abruptly.

If you know you're going to want to reset detection (such as a playlist change event) just use the bd_med.reset() function to reset state and start again.

from beatdetektor.

rickhurkens avatar rickhurkens commented on July 25, 2024

@h2o @cjcliffe
I have finished h2o'2 code from above and committed it to a new repository: https://github.com/rickhurkens/beatdetektor_from_audioIn

Thank you people for your code and examples. This has saved me a lot of work :)

from beatdetektor.

Related Issues (8)

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.