<effect>
  <name>Chad the Distorter</name>
  <enabled>true</enabled>
  <numIns>2</numIns>
  <numOuts>2</numOuts>
  <code>setksmps	1
kfct	=	&lt;delFct&gt;
kdry	=	&lt;dry&gt;
kco	=	&lt;cofreq&gt;
aflt1	tone	ain1, kco
aflt2	tone	ain2, kco
amod1	=	((aflt1+0dbfs)/(0dbfs*2))*kfct
amod2	=	((aflt2+0dbfs)/(0dbfs*2))*kfct
afdbk1	init	0
afdbk2	init	0

adel1	vdelay	ain1, amod2+afdbk1, 5
adel2	vdelay	ain2, amod1+afdbk2, 5
afdbk1	tone	((adel1+0dbfs)/(0dbfs*2))*kfct, kco
afdbk2	tone	((adel2+0dbfs)/(0dbfs*2))*kfct, kco

aout1	=	(kdry*ain1)+(adel1*(1-kdry))
aout2	=	(kdry*ain2)+(adel2*(1-kdry))
</code>
  <comments>Distortion using variable delay line modulated by input signal+feedback.  Filter affects modulators and feedback, while delay factor determines how big the delay line is.  This distortion unit is capable of some subtle feedback, and, since it cross-modulates between channles, is best applied to a dynamic stereo mix.  All parameters are automatable.</comments>
  <opcodeList/>
  <graphicInterface editEnabled='true'>
    <uniqueNameManager nameIndex='-1' defaultPrefix='bsbObj'/>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
      <objectName>delFct</objectName>
      <x>139</x>
      <y>22</y>
      <minimum>0.0</minimum>
      <maximum>5.0</maximum>
      <value>0.30211732</value>
      <knobWidth>80</knobWidth>
    </bsbObject>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
      <objectName></objectName>
      <x>142</x>
      <y>119</y>
      <label>Delay Factor</label>
    </bsbObject>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
      <objectName>dry</objectName>
      <x>231</x>
      <y>30</y>
      <minimum>0.0</minimum>
      <maximum>1.0</maximum>
      <value>0.0</value>
      <knobWidth>60</knobWidth>
    </bsbObject>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
      <objectName></objectName>
      <x>242</x>
      <y>112</y>
      <label>Dry Mix</label>
    </bsbObject>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
      <objectName>cofreq</objectName>
      <x>8</x>
      <y>8</y>
      <minimum>1.0</minimum>
      <maximum>3000.0</maximum>
      <value>194.24286</value>
      <knobWidth>120</knobWidth>
    </bsbObject>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
      <objectName></objectName>
      <x>39</x>
      <y>146</y>
      <label>Filter Cutoff</label>
    </bsbObject>
  </graphicInterface>
  <bsbParameterList>
    <parameter uniqueId='861949996' name='cofreq' label='' min='1.0' max='3000.0' resolution='-1.0' automationEnabled='false'>
      <line name='' version='2' max='3000.0' min='1.0' resolution='-1.0' color='-8355712' rightBound='false'>
        <linePoint x='0.0' y='194.24286'/>
      </line>
    </parameter>
    <parameter uniqueId='861949992' name='delFct' label='' min='0.0' max='5.0' resolution='-1.0' automationEnabled='false'>
      <line name='' version='2' max='5.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
        <linePoint x='0.0' y='0.30211732'/>
      </line>
    </parameter>
    <parameter uniqueId='861949994' name='dry' label='' min='0.0' max='1.0' resolution='-1.0' automationEnabled='false'>
      <line name='' version='2' max='1.0' min='0.0' resolution='-1.0' color='-8355712' rightBound='false'>
        <linePoint x='0.0' y='0.0'/>
      </line>
    </parameter>
  </bsbParameterList>
</effect>