1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
/*
(c) Fraser Stuart 2009
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define IDELAY_GUI_URI "http://invadarecords.com/plugins/lv2/delay/gui"
#define IDELAY_MONO_URI "http://invadarecords.com/plugins/lv2/delay/mono"
#define IDELAY_SUM_URI "http://invadarecords.com/plugins/lv2/delay/sum"
#define IDELAY_BYPASS 0
#define IDELAY_MODE 1
#define IDELAY_MUNGEMODE 2
#define IDELAY_MUNGE 3
#define IDELAY_LFO_CYCLE 4
#define IDELAY_LFO_WIDTH 5
#define IDELAY_1_DELAY 6
#define IDELAY_1_FB 7
#define IDELAY_1_PAN 8
#define IDELAY_1_VOL 9
#define IDELAY_2_DELAY 10
#define IDELAY_2_FB 11
#define IDELAY_2_PAN 12
#define IDELAY_2_VOL 13
#define IDELAY_METER_INL 14
#define IDELAY_METER_OUTL 15
#define IDELAY_METER_OUTR 16
#define IDELAY_LAMP_LFO 17
#define IDELAY_AUDIO_INL 18
#define IDELAY_AUDIO_OUTL 19
#define IDELAY_AUDIO_OUTR 20
#define IDELAY_AUDIO_INR 21 /* not used in mono in mode */
#define IDELAY_SPACE_SIZE 2501 /* size in milli seconds */
/* control conversion function */
float convertParam(unsigned long param, float value, double sr);
/* munge conversion */
float convertMunge(unsigned int mode, float munge, double sr);
|