Garrett Grimm
Garrett Grimm
Thanks @danigb, I think I figured it out. FYI I'm using this along with [VexChords](https://github.com/0xfe/vexchords) to create a guitar chord lookup page here: http://musictheorysite.com/guitar-chord-chart/ That page makes it easier to...
Looks like the problem here is that track 1 contains _only_ meta events that span 262,143 ticks. The function that calculates duration is based on the track with the most...
Hey @TheAlienDrew, Thanks for your message. When I play this file in the demo it to plays at 120bpm which seems correct. Should it be playing at a different tempo?...
Hi @atsushieno, Thanks for your message. I agree, that approach might not be the best way to go. I think that was an attempt at seek functionality that I couldn't...
Hi @ledlamp , I've made some improvements that I think may have fixed this. These examples seem to play alright for me in my demo player. Is it any better...
Hi @marian-simonca, pull requests are always welcome 👍
I've added `channel` support for the `ProgramChangeEvent`. Setting different channels for the program change events should solve this, at least it did for me in GarageBand. ```js track.addEvent(new MidiWriter.ProgramChangeEvent({instrument: 1,...
Hi @humbleCoder1990, yes you should be able to `import` the package assuming your environment is configured for it. ```js import MidiWriter from 'midi-writer-js';
I've made some changes in #107 to allow `EndTrackEvent` to be manually added with a specific delta value. That is, the number of ticks from the previous event. ```js track.addEvent(new...
Thanks @ayunami2000 & @dturner34. I've added some validation for this which throws an error if an invalid duration is used. Hopefully that should shine some light on the issue you...