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 SOLINA_OSC1_SAW 0x001 23 #define SOLINA_OSC1_SQR 0x002 24 #define SOLINA_OSC2_SAW 0x004 25 #define SOLINA_OSC2_SQR 0x008 26 #define SOLINA_OSC3_SAW 0x010 27 #define SOLINA_OSC3_SQR 0x020 28 #define SOLINA_OSCGLIDE 0x040 29 30 #define MULTI_LFO 0x0100 31 32 typedef struct solinaMods { 33 float pwm; 34 float vibrato; 35 float tremelo; 36 float glide; 37 int lowsplit; 38 int highsplit; 39 } solinamods; 40 41