Changing note name in original midi
Closed this issue · 0 comments
dassoop commented
Is it possible to alter notes in the tracks in line, and then re-write it as a new midi file?
const notes = track.notes let i = 0 notes.forEach(note => { //note.midi, note.time, note.duration, note.name console.log('track: ' + i++) console.log(note.name) console.log(note.time) console.log("---") note.name = "Changed" <<---- })
Is this a function from your code base or is it from midi-file