home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Sensations!
/
sound_sensations.iso
/
miditool
/
mpu401c
/
dxswremt.c
< prev
next >
Wrap
C/C++ Source or Header
|
1986-11-02
|
619b
|
29 lines
/* 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 set1switch[] =
{
0xFF, /* MPU system exclusive */
0xF0, /* MIDI system exclusive */
0x43, /* ID: Yamaha */
0x10, /* Substatus/channel */
0x08, /* parameter group */
0x00, /* switch number */
0x00, /* switch value */
0xF7 /* EOX */
};
void
dxswremt(sw, val)
unsigned char sw;
unsigned char val;
{
set1switch[5] = sw;
set1switch[6] = val;
mpu_sexcl(set1switch);
}