1
0
Fork 0
forked from len0rd/rockbox

MIDI: At long last, though quick and dirty, pitch bend depth! Or, I think it works. Tested on two

files. Let me know if anyone discovers any problems with this. This commit also includes Nils's synth 
loop optimization patch. I hope committing it does not cause problems.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15112 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Stepan Moskovchenko 2007-10-15 05:11:37 +00:00
parent 99f9550881
commit 1515ff8522
5 changed files with 240 additions and 162 deletions

View file

@ -63,7 +63,8 @@
#define MIDI_PITCHW 224
/* MIDI Controllers */
#define CTRL_VOLUME 7
#define CTRL_PWDEPTH 6
#define CTRL_VOLUME 7
#define CTRL_BALANCE 8
#define CTRL_PANNING 10
#define CHANNEL 1
@ -159,6 +160,7 @@ extern int chVol[16]; /* Channel volume */
extern int chPan[16]; /* Channel panning */
extern int chPat[16]; /* Channel patch */
extern int chPW[16]; /* Channel pitch wheel, MSB only */
extern int chPBDepth[16]; /* Channel pitch bend depth (Controller 6 */
extern struct GPatch * gusload(char *);
extern struct GPatch * patchSet[128];