// DSP preset definition file. ///////////////////////////////////// // WARNING: do not edit this file! // ///////////////////////////////////// // console "dsp_reload" reloads while engine running // PROCESSOR TYPE: // NULL 0 // pass through - must be 0 // DLY 1 // simple feedback reverb // RVA 2 // parallel reverbs // FLT 3 // lowpass or highpass filter // CRS 4 // chorus NOT TESTED // PTC 5 // pitch shifter NOT TESTED (UPDATE: DOES NOT INTEGRATE WITH NEW SOUND LENGTH CODE. DO NOT USE.) // ENV 6 // adsr envelope NOT TESTED // LFO 7 // lfo // EFO 8 // envelope follower/gate // MDY 9 // mod delay // DFR 10 // diffusor - n series allpass delays // AMP 11 // amplifier with distortion // FILTER TYPE: // LP 0 // lowpass filter // HP 1 // highpass filter // BP 2 // bandpass filter // FILTER QUALITY: // LO 0 // quality of filter or reverb. Must be 0,1,2,3. // MED 1 // HI 2 // VHI 3 // DELAY TYPE: // PLAIN 0 // single feedback loop // ALLPASS 1 // feedback and feedforward loop - flat frequency response (diffusor) // LOWPASS 2 // lowpass filter in feedback loop // DLINEAR 3 // linear delay, no feedback, unity gain // FLINEAR 4 // linear delay with lowpass filter and output gain // LOWPASS_4TAP 5 // lowpass filter in feedback loop, 4 delay taps // PLAIN_4TAP 6 // single feedback loop, 4 delay taps // LFO TYPE: // SIN 0 // sine wav // TRI 1 // triangle wav // SQR 2 // square wave, 50% duty cycle // SAW 3 // forward saw wav // RND 4 // random wav // LOG_IN 5 // logarithmic fade in NOT TESTED // LOG_OUT 6 // logarithmic fade out NOT TESTED // LIN_IN 7 // linear fade in // LIN_OUT 8 // linear fade out // ENVELOPE TYPE: // LIN 0 // linear a,d,s,r // EXP 1 // exponential a,d,s,r (IGNORED) // PRESET CONFIGURATION TYPE: // SIMPLE 0 // optimized // LINEAR 1 // optimized // PARALLEL2 5 // PARALLEL4 6 // PARALLEL5 7 // FEEDBACK 8 // FEEDBACK3 9 // FEEDBACK4 10 // MOD 11 // NOT TESTED // MOD2 12 // NOT TESTED // MOD3 13 // NOT TESTED // PSET_SIMPLE 0 // x(n)--->P(0)--->y(n) // PSET_LINEAR 1 // x(n)--->P(0)-->P(1)-->...P(m)--->y(n) // PSET_PARALLEL2 5 // x(n)--->P(0)-->(+)-->y(n) // ^ // | // x(n)--->P(1)----- // PSET_PARALLEL4 6 // x(n)--->P(0)-->P(1)-->(+)-->y(n) // ^ // | // x(n)--->P(2)-->P(3)----- // PSET_PARALLEL5 7 // x(n)--->P(0)-->P(1)-->(+)-->P(4)-->y(n) // ^ // | // x(n)--->P(2)-->P(3)----- // PSET_FEEDBACK 8 // x(n)-P(0)--(+)-->P(1)-->P(2)-->->y(n) // ^ | // | v // -----P(4)<--P(3)-- // PSET_FEEDBACK3 9 // x(n)---(+)-->P(0)--------->y(n) // ^ | // | v // -----P(2)<--P(1)-- // PSET_FEEDBACK4 10 // x(n)---(+)-->P(0)-------->P(3)--->y(n) // ^ | // | v // ---P(2)<--P(1)-- // PSET_MOD 11 // x(n)------>P(1)--P(2)--P(3)--->y(n) // ^ // x(n)------>P(0)....: // PSET_MOD2 12 // x(n)-------P(1)-->y(n) // ^ // x(n)-->P(0)..: // PSET_MOD3 13 // x(n)-------P(1)-->P(2)-->y(n) // ^ // x(n)-->P(0)..: // PRESET DEFINITIONS: (correct use of parentheses is critical for parsing) // // { <preset#> <preset configuration type> <# processors> <gain> // {<preset type> <param0>...<param15>} // {<preset type> <param0>...<param15>} ... } // Presets are made up of one or more processors. A preset corresponds to a 'room'. // #: preset number - must be unique, no holes in # sequence (although sequential order in this file is not important) // ptype: preset type from PSET_* above - typically LINEAR - this is how the processors are chained // mixrng: min and max dsp mix values for sounds. mix value is based on sound source distance from listener. // Smaller rooms have larger min values. Sounds far from listener have more dsp fx mix. // duration: if 0.0, preset lasts until another is set // if > 0.0 duration is preset duration in seconds. resets to previous preset when time expires // fadetime: time to fade out preset if duration > 0.0. if fadetime < 0, exponential fade. // db_min: for dsp_room only: if sndlvl in dB of a new sound is < db_min, reduce mix_min/max by db_mixdrop // db_mixdrop: for dsp_room only: reduce mix_min/max by n% if sndlvl of new sound less than db_min // so - for some rooms (ie: outside) low level sounds get less dsp fx mix // ******************************************************************* // presets 0-29 map to legacy room_type 0-29. Don't change order or # // ******************************************************************* // # ptype mixrng dur fade dbmin mixdrop // *** NULL PRESET *** { 0 LINEAR 0.2 0.7 0.0 0.0 80 0.5 {0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 } } // *** AUTO PRESET *** { 1 LINEAR 0.2 0.7 0.0 0.0 80 0.5 {0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 } } // *** METALIC S *** { 2 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 80.0 30.0 4 0.85 1.1 4000 1 0 0 0 0 0 0 0 0 0} } // *** METALIC M *** { 3 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 80.0 30.0 4 0.9 1.4 4000 1 0 0 0 0 0 0 0 0 0} } // *** METALIC L *** { 4 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // DFR size #dly feedbk { DFR 1.0 3 0.1483 } // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 100.0 30.0 4 0.95 1.8 4000 1 0 0 0 0 0 0 0 0 0} } // *** TUNNEL S *** { 5 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 50.0 8.0 2 0.92 1.1 6000 1 0 0 0 0 0 0 0 0 0} } // *** TUNNEL M *** { 6 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // DFR size #dly feedbk { DFR 1.0 2 0.15 } // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 100.0 15.0 2 0.92 1.1 5000 1 0 0 0 0 0 0 0 0 0} } // *** TUNNEL L *** { 7 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // DFR size #dly feedbk { DFR 1.0 3 0.15 } // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 120.0 25.0 2 0.95 1.1 4000 1 0 0 0 0 0 0 0 0 0} } // *** CHAMBER S *** { 8 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // DFR size #dly feedbk { DFR 1.0 2 0.15 } // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 50.0 20.0 6 0.9 1.4 5000 1 4 3.48 0 0 0 0 0 0 0} } // *** CHAMBER M *** { 9 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // DFR size #dly feedbk { DFR 1.0 2 0.15 } // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 50.0 20.0 6 0.9 1.4 6000 1 4 3.48 0 0 0 0 0 0 0} } // *** CHAMBER L *** { 10 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // DFR size #dly feedbk { DFR 1.0 2 0.15 } // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 50.0 20.0 9 0.9 1.4 6000 1 4 3.48 0 0 0 0 0 0 0} } // *** BRITE S *** { 11 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 50.0 20.0 3 0.9 1.0 5000 1 0 0 0 0 0 0 0 0} } // *** BRITE M *** { 12 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 50.0 20.0 5 0.9 1.0 5000 1 0 0 0 0 0 0 0 0} } // *** BRITE L *** { 13 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 50.0 20.0 6 0.9 1.0 6000 0 0 0 0 0 0 0 0 0} } // *** WATER S *** { 14 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // DFR size #dly feedbk { DFR 1.0 3 0.15 } // AMP gain vthresh distmix vfeed modrate moddepth modglide rand { AMP 1.0 0 0 0.0 10.0 0.6 80 0} // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 82.0 59.0 2 0.4 2.0 1800 0 10 3.0 0 0 0 0 0 0 0} } // *** WATER M *** { 15 LINEAR 0.2 0.7 0.0 0.0 80 0.5 // DFR size #dly feedbk { DFR 1.0 2 0.15 } // RVA size min #dly feedbk gain cutoff fpar fmod rate w d h fw fw fh ftap { RVA 50.0 20.0 5 0.9 1.4 1000 0 4 3.48 0 0 0 0 0 0 0} } // *** WATER L *** { 16 LINEAR ...
GAIE