Skip to content

Commit

Permalink
remove some unneeded stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
syncopika committed Apr 13, 2024
1 parent 65ccb7d commit 8b46bc3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ pianoRoll.currentInstrument = pianoRoll.instruments[0];
buildGridHeader('columnHeaderRow', pianoRoll);
buildGrid('grid', pianoRoll);

// TODO: why does waiting a bit help? shouldn't I not need to?
// TODO: should just rebuild visualizer every time play is called? cause length of roll can change
//setTimeout(() => buildVisualizer('piano', pianoRoll), 100);
//buildVisualizer('grid', pianoRoll);

// load in presets and piano notes (TODO: maybe lazy load only when selected as instrument sound?)
loadExamplePresets(document.getElementById('loadingMsg')).then(_ => {
pianoRoll.PianoManager.loadPianoNotes(document.getElementById('loadingMsg'));
Expand Down

0 comments on commit 8b46bc3

Please sign in to comment.