1
0
Fork 0
forked from len0rd/rockbox

MIDI: Fix ringing/beeks in music caused by improper parsing of some pitch bend events.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15252 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Stepan Moskovchenko 2007-10-21 19:47:33 +00:00
parent 6fac8fcc93
commit 47d8323deb
4 changed files with 47 additions and 6 deletions

View file

@ -68,6 +68,8 @@ int initSynth(struct MIDIfile * mf, char * filename, char * drumConfig)
chPBDepth[a]=2; /* Default bend value is 2 */
chPBNoteOffset[a]=0; /* No offset */
chPBFractBend[a]=65536; /* Center.. no bend */
chLastCtrlMSB[a]=0; /* Set to pitch bend depth */
chLastCtrlLSB[a]=0; /* Set to pitch bend depth */
}
for(a=0; a<128; a++)
{