Musical library for JavaScript with Web Audio API. Fcmml can play text written in Music Macro Language (MML).
const mml = `cde`;
const music = fcmml.Music.fromMml(mml);
const player = new fcmml.Player(music);
player.play();
Music
class represents a music.
Returns Music
instance from a string as MML.
Player
is required to play Music
instance.
Player
constructor takes a Music
instance.
Plays the music from the beginning.
Stops the music.
- carrotflakes (carrotflakes@gmail.com)
Copyright (c) 2019 carrotflakes (carrotflakes@gmail.com)