1 /* 2 3 (c) Fraser Stuart 2009 4 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 9 10 This program is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with this program; if not, write to the Free Software 17 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 19 */ 20 21 22 #define IPHASER_GUI_URI "http://invadarecords.com/plugins/lv2/phaser/gui" 23 #define IPHASER_MONO_URI "http://invadarecords.com/plugins/lv2/phaser/mono" 24 #define IPHASER_STEREO_URI "http://invadarecords.com/plugins/lv2/phaser/stereo" 25 #define IPHASER_SUM_URI "http://invadarecords.com/plugins/lv2/phaser/sum" 26 #define IPHASER_BYPASS 0 27 #define IPHASER_CYCLE 1 28 #define IPHASER_PHASE 2 29 #define IPHASER_WIDTH 3 30 #define IPHASER_DEPTH 4 31 #define IPHASER_NOCLIP 5 32 #define IPHASER_LAMP_NOCLIP 6 33 #define IPHASER_LAMP_L 7 34 #define IPHASER_LAMP_R 8 35 #define IPHASER_AUDIO_OUTL 9 36 #define IPHASER_AUDIO_OUTR 10 37 #define IPHASER_METER_OUTL 11 38 #define IPHASER_METER_OUTR 12 39 #define IPHASER_AUDIO_INL 13 40 #define IPHASER_METER_INL 14 41 #define IPHASER_AUDIO_INR 15 /* not used in mono in mode */ 42 #define IPHASER_METER_INR 16 /* not used in mono in mode */ 43 44 #define PHASER_SPACE_SIZE 45 /* size in milli seconds */ 45 46 /* control conversion function */ 47 float convertParam(unsigned long param, float value, double sr); 48 49