Skip to content

Commit 9c021ba

Browse files
committed
clean up note add
1 parent adf44f6 commit 9c021ba

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,6 @@ function writeMidiFile(midiArr,noteLen,isChord) {
139139
if(typeof midiArr[0] === 'string') {
140140
midiArr.forEach(arr=>{
141141
track.addLyric(arr);
142-
track.addEvent([
143-
//defaults to snare drum
144-
new MidiWriter.NoteEvent({pitch: 38, duration: noteLen})
145-
], function(event, index) {
146-
return {sequential: true};
147-
});
148142
})
149143
} else if(!isChord) {
150144
track.addEvent([

0 commit comments

Comments
 (0)