javascript - Lengthening MIDI.js piano note duration -


I am using MIDI.js to create a music app that allows users to play piano via their keyboard. Allows Everything is working, but the problem I am facing is that the notes (called from the MIDI note) only in the last 3 seconds, just cut it off. I am trying to find a way: 1- Make this note longer. 2- Do not make anything to fade notes, just protest to bite.

Can anyone tell me in the right direction? Very few documentation & amp; Discuss MIDI.js

Thanks in advance!

EDIT: Device name acoustic_grand_piano

notep at the right time In practice, this is:

  // FIX: Need some kind of easy to fade in. Root.noteOff = function (channel, Note, delay) {// var source = sources [channel + "+ note]; // if (source!) Return; // source.noteOff (delay || 0); // Return source; };  

Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -