diff options
| author | Stepan Moskovchenko <stevenm@rockbox.org> | 2007-10-21 19:47:33 +0000 |
|---|---|---|
| committer | Stepan Moskovchenko <stevenm@rockbox.org> | 2007-10-21 19:47:33 +0000 |
| commit | 47d8323deb8c7351c66a89599f15b60e06a5b814 (patch) | |
| tree | f046f7e1786930311b76a65b8a014ce7d1ee3a13 /apps/plugins/midi/synth.c | |
| parent | 6fac8fcc93fa1fc8a6f288f57258f1c8443cf9db (diff) | |
| download | rockbox-47d8323deb8c7351c66a89599f15b60e06a5b814.zip rockbox-47d8323deb8c7351c66a89599f15b60e06a5b814.tar.gz rockbox-47d8323deb8c7351c66a89599f15b60e06a5b814.tar.bz2 rockbox-47d8323deb8c7351c66a89599f15b60e06a5b814.tar.xz | |
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
Diffstat (limited to 'apps/plugins/midi/synth.c')
| -rw-r--r-- | apps/plugins/midi/synth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/midi/synth.c b/apps/plugins/midi/synth.c index 7ae7a78..3c60d9b 100644 --- a/apps/plugins/midi/synth.c +++ b/apps/plugins/midi/synth.c @@ -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++) { |