/*

    Copyright (C) 2010 Oeyvind Brandtsegg and Partikkelaudio.com

    This file is part of the Hadron Particle Synthesizer.

    The Hadron Particle Synthesizer is free software; you can redistribute it
    and/or modify it under the terms of the GNU Lesser General Public
    License, version 3.0, as published by the Free Software Foundation.

    Hadron Particle Synthesizer 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 Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with Hadron Particle Synthesizer; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA
*/

; parameter numbers stored as values in table giSinglePreset
	chnset	0, "iPresetVersionNumber"			; use this for "preset version number ?"
	chnset	1, "iPartikkel1Samplepos1"
	chnset	2, "iPartikkel1Samplepos2"
	chnset	3, "iPartikkel1Samplepos3"
	chnset	4, "iPartikkel1Samplepos4"
	chnset	5, "iPartikkel1Amp"
	chnset	6, "iPartikkel1SyncGravity"
	chnset	7, "iPartikkel1GrainRate"
	chnset	8, "iPartikkel1GrFmFreq"
	chnset	9, "iPartikkel1GrFmIndex"
	chnset	10, "iPartikkel1Distribution"
	chnset	11, "iPartikkel1GrainDur"
	chnset	12, "iPartikkel1Sustain"
	chnset	13, "iPartikkel1AdRatio"
	chnset	14, "iPartikkel1Env2Amt"
	chnset	15, "iPartikkel1GrainPitch"
	chnset	16, "iPartikkel1GrainPitch1"
	chnset	17, "iPartikkel1GrainPitch2"
	chnset	18, "iPartikkel1GrainPitch3"
	chnset	19, "iPartikkel1GrainPitch4"
	chnset	20, "iPartikkel1Sweepshape"
	chnset	21, "iPartikkel1SweepStart1"	; not used
	chnset	22, "iPartikkel1SweepEnd1"	; not used
	chnset	23, "iPartikkel1PitchFmFreq"
	chnset	24, "iPartikkel1PitchFmIndex"
	chnset	25, "iPartikkel1TrainCps"
	chnset	26, "iPartikkel1TrainPartials"
	chnset	27, "iPartikkel1TrainChroma"
	chnset	28, "iPartikkel1RandomMask"
	chnset	29, "iPartikkel1WaveX"		; effect depends on contents of wavemask table (this parameter writes to mask 0)
	chnset	30, "iPartikkel1WaveY"		; effect depends on contents of wavemask table (this parameter writes to mask 0)
	chnset	31, "iPartikkel1TrainAmp"
	chnset	32, "iLiveFeedbackAmount"
; effects parameters
	chnset  33, "iDryStereoWidth"
	chnset  34, "iBandpass1RmFreq"
	chnset  35, "iBandpass1RmMix"
	chnset  36, "iBandpass1Freq"
	chnset  37, "iBandpass1BW"
	chnset  38, "iBandpass1Pan"
	chnset  39, "iBandpass1Amp"
	chnset  40, "iBandpass1Mix"
	chnset  41, "iBandpass1_Send_Bandpass2"
	chnset  42, "iBandpass1_Send_Lowpass"
	chnset  43, "iBandpass1_Send_Bandpass3"
	chnset  44, "iBandpass1_Send_DlyL"
	chnset  45, "iBandpass1_Send_DlyR"
	chnset  46, "iBandpass2Freq"
	chnset  47, "iBandpass2BW"
	chnset  48, "iBandpass2Pan"
	chnset  49, "iBandpass2Amp"
	chnset  50, "iBandpass2Mix"
	chnset  51, "iBandpass2_Send_Lowpass"
	chnset  52, "iBandpass2_Send_Bandpass3"
	chnset  53, "iBandpass2_Send_DlyL"
	chnset  54, "iBandpass2_Send_DlyR"
	chnset  55, "iLowpassFreq"
	chnset  56, "iLowpassRes"
	chnset  57, "iLowpassDist"
	chnset  58, "iLowpassPan"
	chnset  59, "iLowpassAmp"
	chnset  60, "iLowpassMix"
	chnset  61, "iLowpass_Send_BP3"
	chnset  62, "iLowpass_Send_DlyL"
	chnset  63, "iLowpass_Send_DlyR"
	chnset  64, "iBandpass3Freq"
	chnset  65, "iBandpass3BW"
	chnset  66, "iBandpass3Pan"
	chnset  67, "iBandpass3Amp"
	chnset  68, "iBandpass3Mix"
	chnset  69, "iBandpass3_Send_DlyL"
	chnset  70, "iBandpass3_Send_DlyR"
	chnset  71, "iDelayTimeLeft"
	chnset  72, "iDelayTimeRight"
	chnset  73, "iDelayFeedbackLeft"
	chnset  74, "iDelayFeedbackRight"
	chnset  75, "iDelayXFeedback"
	chnset  76, "iDelayHpFreq"
	chnset  77, "iDelayLpFreq"
	chnset  78, "iDelayStereoWidth"
	chnset  79, "iDelayAmp"
	chnset  80, "iDelayMix"

; modulator parameters
	chnset	81, "iLFO1_Amp"
	chnset	82, "iLFO1_Freq"
	chnset	83, "iLFO1_Waveform"
	chnset	84, "iLFO1_Phase"
	chnset	85, "iLFO1_Global"
	chnset	86, "iLFO2_Amp"
	chnset	87, "iLFO2_Freq"
	chnset	88, "iLFO2_Waveform"
	chnset	89, "iLFO2_Phase"
	chnset	90, "iLFO2_Global"
	chnset	91, "iLFO3_Amp"
	chnset	92, "iLFO3_Freq"
	chnset	93, "iLFO3_Waveform"
	chnset	94, "iLFO3_Phase"
	chnset	95, "iLFO3_Global"
	chnset	96, "iLFO4_Amp"
	chnset	97, "iLFO4_Freq"
	chnset	98, "iLFO4_Waveform"
	chnset	99, "iLFO4_Phase"
	chnset	100, "iLFO4_Global"
	chnset	101, "iEnvelope1_Amp"
	chnset	102, "iEnvelope1_Delay"
	chnset	103, "iEnvelope1_Attack"
	chnset	104, "iEnvelope1_Decay"
	chnset	105, "iEnvelope1_Sustain"
	chnset	106, "iEnvelope1_Release"
	chnset	107, "iEnvelope1_Curve"
	chnset	108, "iEnvelope1_Retrig"
	chnset	109, "iEnvelope2_Amp"	
	chnset	110, "iEnvelope2_Delay"
	chnset	111, "iEnvelope2_Attack"
	chnset	112, "iEnvelope2_Decay"
	chnset	113, "iEnvelope2_Sustain"
	chnset	114, "iEnvelope2_Release"
	chnset	115, "iEnvelope2_Curve"
	chnset	116, "iEnvelope2_Retrig"
	chnset	117, "iEnvelope3_Amp"
	chnset	118, "iEnvelope3_Delay"
	chnset	119, "iEnvelope3_Attack"
	chnset	120, "iEnvelope3_Decay"
	chnset	121, "iEnvelope3_Sustain"
	chnset	122, "iEnvelope3_Release"
	chnset	123, "iEnvelope3_Curve"
	chnset	124, "iEnvelope3_Retrig"
	chnset	125, "iEnvelope4_Amp"
	chnset	126, "iEnvelope4_Delay"
	chnset	127, "iEnvelope4_Attack"
	chnset	128, "iEnvelope4_Decay"
	chnset	129, "iEnvelope4_Sustain"
	chnset	130, "iEnvelope4_Release"
	chnset	131, "iEnvelope4_Curve"
	chnset	132, "iEnvelope4_Retrig"
	chnset	133, "iRandh1_Amp"
	chnset	134, "iRandh1_Freq"
	chnset	135, "iRandh1_Retrig"
	chnset	136, "iRandh2_Amp"
	chnset	137, "iRandh2_Freq"
	chnset	138, "iRandh2_Retrig"
	chnset	139, "iRspline1_Amp"
	chnset	140, "iRspline1_MinFreq"
	chnset	141, "iRspline1_MaxFreq"
	chnset	142, "iRspline2_Amp"
	chnset	143, "iRspline2_MinFreq"
	chnset	144, "iRspline2_MaxFreq"
	chnset	145, "iDivider1Input"
	chnset	146, "iDivider2Input"
	chnset	147, "iDivider3Input"
	chnset	148, "iDivider4Input"
	chnset	149, "iModulo1Input"
	chnset	150, "iModulo1Value"
	chnset	151, "iMultiplier1Input1"
	chnset	152, "iMultiplier1Input2"
	chnset	153, "iMultiplier2Input1"
	chnset	154, "iMultiplier2Input2"
	chnset	155, "iFunc1Input"
	chnset	156, "iFunc2Input"
	chnset	157, "iFunc3Input"
	chnset	158, "iFunc4Input"
	chnset	159, "iTransientAttack1"
	chnset	160, "iTransientRelease1"
	chnset	161, "iTransientAttack2"
	chnset	162, "iTransientRelease2"
	chnset	163, "iTransientAttack3"
	chnset	164, "iTransientRelease3"
	chnset	165, "iTransientAttack4"
	chnset	166, "iTransientRelease4"
	chnset	167, "iPortamento_Allnotes"
	chnset	168, "iPortamentoCps"
	chnset	169, "iPortamentoNote"
	chnset	170, "iPortamentoInterval"
	chnset	171, "iMidiNoteOffset"
	chnset	172, "iAnalysisTimeOffset"		; to sync transient envelopes properly

; mask morf parameters
	chnset	173, "igainmasks1Morf"
	chnset	174, "ichannelmasks1Morf"
	chnset	175, "iwavemasks1Morf"
	chnset	176, "ifreqstartmasks1Morf"
	chnset	177, "ifreqendmasks1Morf"
	chnset	178, "ifmampmasks1Morf"
; (host)bpmSync parameters 
	chnset	179, "iPartikkel1GrainRateBpmSync"	
	chnset	180, "iPartikkel1GrFmFreqBpmSync"	
	chnset	181, "iPartikkel1PitchFmFreqBpmSync"	
	chnset	182, "iPartikkel1GrainDelayTime1BpmSync"
	chnset	183, "iPartikkel1GrainDelayTime2BpmSync"
	chnset	184, "iPartikkel1GrainDelayTime3BpmSync"
	chnset	185, "iPartikkel1GrainDelayTime4BpmSync"
	chnset  186, "iBandpass1RmFreqBpmSync"		
	chnset  187, "iDelayTimeBpmSync"		
	chnset	188, "iLFO1_FreqBpmSync"		
	chnset	189, "iLFO2_FreqBpmSync"		
	chnset	190, "iLFO3_FreqBpmSync"
	chnset	191, "iLFO4_FreqBpmSync"
	chnset	192, "iEnvelope1_DelayBpmSync"		
	chnset	193, "iEnvelope1_AttackBpmSync"		
	chnset	194, "iEnvelope1_DecayBpmSync"
	chnset	195, "iEnvelope1_ReleaseBpmSync"
	chnset	196, "iEnvelope2_DelayBpmSync"
	chnset	197, "iEnvelope2_AttackBpmSync"
	chnset	198, "iEnvelope2_DecayBpmSync"
	chnset	199, "iEnvelope2_ReleaseBpmSync"
	chnset	200, "iEnvelope3_DelayBpmSync"
	chnset	201, "iEnvelope3_AttackBpmSync"
	chnset	202, "iEnvelope3_DecayBpmSync"
	chnset	203, "iEnvelope3_ReleaseBpmSync"
	chnset	204, "iEnvelope4_DelayBpmSync"
	chnset	205, "iEnvelope4_AttackBpmSync"
	chnset	206, "iEnvelope4_DecayBpmSync"
	chnset	207, "iEnvelope4_ReleaseBpmSync"
	chnset	208, "iRandh1_FreqBpmSync"		
	chnset	209, "iRandh2_FreqBpmSync"


; preset file version number, should be updated when preset configuration changes
	giPresetVersion	= 1.21

