home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (C) 1986 by M. J. Shannon, Jr.
- ** Permission to distribute for non-commercial uses granted as long as this
- ** notice is retained. Violators will be prosecuted.
- */
-
- #include "mpu.h"
-
- static unsigned char change1parameter[] =
- {
- 0xFF, /* MPU system exclusive */
- 0xF0, /* MIDI system exclusive */
- 0x43, /* ID: Yamaha */
- 0x10, /* Substatus/channel */
- 0x12, /* parameter group */
- 0x00, /* switch number */
- 0x00, /* switch value */
- 0xF7 /* EOX */
- };
-
- void
- dxpachng(sw, val)
- unsigned char sw;
- unsigned char val;
- {
- change1parameter[5] = sw;
- change1parameter[6] = val;
- mpu_sexcl(change1parameter);
- }
-