sample_fm.c revision 1.1
1#include <stdio.h> 2#include <stdlib.h> 3#include "../../dev/opmreg.h" 4 5/* Sample Voice Parameter : piano */ 6 7struct opm_voice bell_voice = { 8/* AR DR SR RR SL OL KS ML DT1 DT2 AME */ 9 { 31, 0, 0, 0, 0, 32, 0, 14, 6, 0, 0, }, 10 { 31, 12, 12, 9, 3, 2, 0, 4, 6, 0, 0, }, 11 { 31, 0, 0, 0, 0, 32, 0, 14, 2, 0, 0, }, 12 { 31, 13, 12, 8, 2, 0, 0, 4, 2, 0, 0, }, 13/* CON FL OP */ 14 4, 0, 15 15}; 16