1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (C) 2005 Stepan Moskovchenko
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 extern const uint32_t gustable
[];
27 unsigned char fractions
;
29 unsigned int numSamples
;
30 unsigned int startLoop
;
32 unsigned int sampRate
;
34 unsigned int highFreq
;
35 unsigned int rootFreq
;
38 unsigned char * envRate
;
39 unsigned char * envOffset
;
41 unsigned char tremSweep
;
42 unsigned char tremRate
;
43 unsigned char tremDepth
;
44 unsigned char vibSweep
;
45 unsigned char vibRate
;
46 unsigned char vibDepth
;
49 unsigned int scaleFreq
;
50 unsigned int scaleFactor
;
59 unsigned int patchNumber
;
60 unsigned char * header
;
61 unsigned char * gravisid
;
63 unsigned char inst
, voc
, chan
;
64 unsigned int numWaveforms
;
71 unsigned char * instrName
;
72 unsigned int instrSize
;
74 unsigned char * instrRes
;
76 unsigned char layerDup
;
77 unsigned char layerID
;
78 unsigned int layerSize
;
79 unsigned char numWaves
;
80 unsigned char * layerRes
;
82 unsigned char noteTable
[128];
83 struct GWaveform
* waveforms
[255];