Giter VIP home page Giter VIP logo

accelonome's Introduction

Accelonome

A feature packed metronome app which accelerates the tempo at specified intervals.

is:

  • lightweight
  • mobile first
  • disabled-friendly (has a vibration option)

has support for:

  • different time signatures
  • custom accented beats
  • different tick sounds
  • drum beats
  • vibration pulse on mobile

How does it work?

Chris Wilson has written a great blog on timing for web audio apps. Based on that I'm doing things that works for my usecase.

Since the main intention of the app is to practice, I'm not allowing tempo change while the metronome is on. Because of this I can preschedule the sounds for one complete bar instead of doing it for each beat.

I have a web worker whose job is to trigger the early scheduling of the bar using Web Audio APIs and to trigger when a bar is completed (for UI refresh). I'm using setTimeout for both these tasks. Using web workers because setTimeout in main thread isn't always accurate.

accelonome's People

Contributors

raghavio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

accelonome's Issues

When stopping and then starting the BPMs are not set to the starting point

What the title says, imagine I'm going from 100 to 150 BPM increasing by 5 and I fck up at 135 and want to restart again so I can practice slowly, I click the "timer" with the BPMs to stop it, then press start again and goes back to 135, there should be to start from 0, that is your decision but I would make default to go back to the start if it is stopped by pressing the "timer" and then another button down with the pause ( || ) icon and then when it pauses and you press start continues with the BPM it was on.
Hope I explained myself,

FR: easy backoff button

I love this.

Thought I'd give you a feature request because why not. Do with it whatever you want :-)

While I'm practicing I would love to be able to hit a single button that simply drops the tempo back down 5 bpm or whatever and resumes increasing as before. An "ack I'm just in a little over my head, give me some breathing room" button. I've never seen anything that had that but I would use it a lot,

Switch to bootstrap 5

has some new features which we could use and mostly because it gets rid of jquery.

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.