Permalink
Browse files

Update Fretless.c

  • Loading branch information...
1 parent 093f1d1 commit 3ec66bbf1cd2695545dbe0204d9629fc99622655 @rfielding committed Apr 10, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 Fretless.c
View
6 Fretless.c
@@ -721,6 +721,12 @@ void Fretless_endDown(struct Fretless_context* ctxp, int finger,float fnote,int
ctxp->midiPutch(0);
ctxp->noteChannelDownRawBalance[turningOffPtr->note][turningOffPtr->channel]--;
}
+
+ //Untested so far, but I think these two lines need to be in here for consistency,
+ //for the case where 0xD0 isn't same as volume change
+ ctxp->midiPutch(0xD0 + fsPtr->channel);
+ ctxp->midiPutch(fsPtr->velocity);
+
ctxp->midiPutch(MIDI_ON + fsPtr->channel);
ctxp->midiPutch(fsPtr->note);
ctxp->midiPutch(fsPtr->velocity);

0 comments on commit 3ec66bb

Please sign in to comment.