Tiny Music
import TinyMusic from 'tinymusic';
import ac from './ac.js'
// set the playback tempo (120 beats per minute)
var tempo = 120;
// create a new sequence
var sequence = new TinyMusic.Sequence( ac, tempo, [
'g2 q',
'E4 q',
'C4 h'
]);
// disable looping
sequence.loop = true;
sequence
export default new AudioContext();
This Gist was automatically created by Carbide, a free online programming environment.