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:
parent
6fac8fcc93
commit
47d8323deb
4 changed files with 47 additions and 6 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue