grimmdude / MidiWriterJS

♬ A JavaScript library which provides an API for programmatically generating and creating expressive multi-track MIDI files and JSON.
MIT License
557 stars 60 forks source link

easier set tempo parameter #10

Closed lplume closed 8 years ago

lplume commented 8 years ago

It would be good to have the set tempo parameter as beats/minute instead of the plain midi format

lplume commented 8 years ago

reopen, there is a bug on setTempo function, the tempo should be cast to integer before passing it to numberToBytes (im gonna do this soon, sorry :-)

grimmdude commented 8 years ago

Ah ok, thanks for catching.

-G