NetBSD/sys/arch/x68k/usr.bin/bellctrl/sample_fm.c

18 lines
499 B
C

/* $NetBSD: sample_fm.c,v 1.2 1996/08/30 17:46:07 thorpej Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include "../../dev/opmreg.h"
/* Sample Voice Parameter : piano */
struct opm_voice bell_voice = {
/* AR DR SR RR SL OL KS ML DT1 DT2 AME */
{ 31, 0, 0, 0, 0, 32, 0, 14, 6, 0, 0, },
{ 31, 12, 12, 9, 3, 2, 0, 4, 6, 0, 0, },
{ 31, 0, 0, 0, 0, 32, 0, 14, 2, 0, 0, },
{ 31, 13, 12, 8, 2, 0, 0, 4, 2, 0, 0, },
/* CON FL OP */
4, 0, 15
};