1 2 /* 3 * Diverse Bristol audio routines. 4 * Copyright (c) by Nick Copeland <nickycopeland@hotmail.com> 1996,2012 5 * 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, see <http://www.gnu.org/licenses/>. 19 * 20 */ 21 22 #define MIX_OSC1 1 23 #define MIX_OSC2 2 24 #define MIX_OSC3 4 25 #define OSC3_TRACKING 8 26 #define OSC_1_MOD 0x10 27 #define OSC_2_MOD 0x20 28 #define FILTER_MOD 0x40 29 #define FILTER_TRACKING 0x80 30 #define MIX_EXT 0x100 31 #define MIX_NOISE 0x200 32 /* 33 * This is a kind of global mixflag 34 #define MULTI_TRIG 0x10000000 35 */ 36 37 extern int buildCurrentTable(Baudio *, float); 38 39 typedef struct MMods { 40 float mixnoise; 41 float mixosc3; 42 float mixmod; 43 float lsample; 44 float csample; 45 } mMods; 46 47