We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let pianoTrack = new midi.Track() pianoTrack.setTempo( 120 ) pianoTrack.instrument( 0, 0 ) pianoTrack .noteOn( 0, 'c4', 0 ) .noteOn( 0, 'e4', 256 ) .noteOn( 0, 'g4', 512 ) .noteOff( 0, 'c4', 512 ) .noteOff( 0, 'e4', 512 ) .noteOff( 0, 'g4', 512 )
It sounds wrong. Each new note should sounds in the same interval:
.noteOn( 0, 'c4', 0 ) .noteOn( 0, 'e4', 256 ) .noteOn( 0, 'g4', 512 )
Because here we have: 0, +256, +256. Intervals of delay should be equal but it's not. Is that a bug?
The text was updated successfully, but these errors were encountered:
Ok, I got it. It's just an offset from the last note.
Sorry, something went wrong.
No branches or pull requests
It sounds wrong. Each new note should sounds in the same interval:
Because here we have: 0, +256, +256. Intervals of delay should be equal but it's not. Is that a bug?
The text was updated successfully, but these errors were encountered: