Skip to content

niebert/metronome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Responsive Web Audio Metronome

alt tag

Online Demo of Javascript Offline Metronome

Demo Javascript Metronome

Issues after fork from Scott Hudsons metronome:

  • Icons for play button were missing - check remote CSS
  • Chrome support for Webworkers to run offline - already mentioned by Scott Hudson 2016 - check causes

Based on Offline Metronome of Scott Hudson

This metronome is based on Scott Hudson great work for an Offline Javascript Metronome, that runs in your browser without internet connection.

Global Offline Metronome

The global offline metronome was based on this metronome of Scott Hudson to be used in online rehearsal e.g. for a choir.

alt tag

See also Online Demo of Global Metronome.

History

Scott Hudson used @cwilso's HTML5 demo metronome as a starting point.

  • Repository was used for testing to identify challenges mentioned by Scott Hudson e.g. Chrome.

Features

Scott added several features to @cwilso's HTML5 demo metronome which are commonly seen in professional metronomes, including:

  • variable meter input
  • support for triplet subdivisions
  • master volume toggling
  • accent volume toggling
  • subdivision volume toggling
  • material design UI

Furthermore Scott added triplet note support, which was the trickiest to implement, since it required converting the base note interval from a 16th note to a twelvelet, which contains both eighth note and sixteenth note intervals.

Offline Use

Scott mentioned that Chrome doesn't like running web workers locally apparently. Chrome is widely used browser and the offline check in 2021 of the Scott's metronome did not work in Chrome now (Download Global Metronome instead and start index.html).

Setup

  1. clone the repository or download ZIP
  2. open index.html using a browser other than Chrome (Chrome doesn't like running web workers locally apparently)

ToDos

About

Pure Javascript Metronome Using Web Audio API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 69.2%
  • HTML 18.0%
  • Shell 10.2%
  • JavaScript 2.6%