<effect>
  <name>Xciter</name>
  <enabled>true</enabled>
  <numIns>2</numIns>
  <numOuts>2</numOuts>
  <code>if (&lt;XciterON&gt; == 1) then
    awet1 exciter ain1, &lt;Xciter_frequency&gt;, &lt;Xciter_ceil&gt;, &lt;Xciter_harmonics&gt;, &lt;Xciter_blend&gt;                    
    awet2 exciter ain2, &lt;Xciter_frequency&gt;, &lt;Xciter_ceil&gt;, &lt;Xciter_harmonics&gt;, &lt;Xciter_blend&gt;

    if (&lt;Xciter_compare&gt;) == 1 then                                                    ;compare effect/no effect quickly
        awet1   *= &lt;Xciter_wet&gt;                                                        ;wet signal
        awet2   *= &lt;Xciter_wet&gt;   
        ain1 *=  &lt;Xciter_dry&gt;                                                          ;dry signal
        ain2 *=  &lt;Xciter_dry&gt; 
    else
        awet1   =   0
        awet2   =   0
    endif

    aout1    =   ain1 + awet1                                                   ;add dry and wet
    aout2    =   ain2 + awet2

else
    aout1   =   ain1
    aout2   =   ain2
endif</code>
  <comments>DESCRIPTION:

uses the exciter opcode. Filtered distortion to add brilliance to a signal.
Intended for a monophone sound only, to give it more presence in the total mix.


CONTROLLERS:

ON/OFF          -       bypass
frequency       -       the lower end of the harmonics created
ceiling         -       the upper end of the harmonics created
harmonics       -       amount of harmonics
blend           -       blend between 2nd and 3rd order harmonics 
dry             -       gain of the incoming signal
wet             -       gain of effect only
compare         -       a second bypass to quickly compare the result with the incoming signal

---

version 1.22, July 2020
- added BSB information comments

version 1.21, May 2020
- added comments on controllers

version 1.2, january 2019
- added on/off button 

version 1.1, january 2018
- added compare fuction to quickly compare the incoming signal with the effect

version 1, november 2017
- one fader for dry signal, one fader for mixing in the exciter


</comments>
  <opcodeList/>
  <graphicInterface editEnabled='false'>
    <gridSettings>
      <width>5</width>
      <height>2</height>
      <gridStyle>DOT</gridStyle>
      <snapGridEnabled>true</snapGridEnabled>
    </gridSettings>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBGroup'>
      <objectName></objectName>
      <x>0</x>
      <y>0</y>
      <groupName>Group</groupName>
      <backgroundColor>0x00000033</backgroundColor>
      <borderColor>0x000000ff</borderColor>
      <labelTextColor>0xffffffff</labelTextColor>
      <titleEnabled>true</titleEnabled>
      <width>20</width>
      <height>20</height>
      <bsbObject type='blue.orchestra.blueSynthBuilder.BSBGroup'>
        <objectName></objectName>
        <x>10</x>
        <y>10</y>
        <groupName>XPan</groupName>
        <backgroundColor>0x4d8080ff</backgroundColor>
        <borderColor>0x000000ff</borderColor>
        <labelTextColor>0xffffffff</labelTextColor>
        <titleEnabled>false</titleEnabled>
        <width>20</width>
        <height>72</height>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
          <objectName>Xciter_harmonics</objectName>
          <x>15</x>
          <y>75</y>
          <comment>amount of harmonics</comment>
          <automationAllowed>true</automationAllowed>
          <minimum>0.1</minimum>
          <maximum>10.0</maximum>
          <value>2.278</value>
          <knobWidth>40</knobWidth>
          <randomizable>true</randomizable>
          <valueDisplayEnabled>true</valueDisplayEnabled>
          <label>harmonics</label>
          <labelEnabled>true</labelEnabled>
          <font>
            <name>System Regular</name>
            <size>12.0</size>
          </font>
        </bsbObject>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel' version='2'>
          <objectName></objectName>
          <x>165</x>
          <y>62</y>
          <label>wet</label>
          <font>
            <name>System Regular</name>
            <size>12.0</size>
          </font>
        </bsbObject>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBHSlider' version='2'>
          <objectName>Xciter_frequency</objectName>
          <x>10</x>
          <y>10</y>
          <comment>the lower end of the harmonics created</comment>
          <automationAllowed>true</automationAllowed>
          <minimum>300.0</minimum>
          <maximum>10000.0</maximum>
          <bdresolution>10</bdresolution>
          <value>1570.0</value>
          <sliderWidth>210</sliderWidth>
          <randomizable>true</randomizable>
          <valueDisplayEnabled>true</valueDisplayEnabled>
        </bsbObject>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBHSlider' version='2'>
          <objectName>Xciter_ceil</objectName>
          <x>10</x>
          <y>35</y>
          <comment>the upper end of the harmonics created</comment>
          <automationAllowed>true</automationAllowed>
          <minimum>400.0</minimum>
          <maximum>20000.0</maximum>
          <bdresolution>10</bdresolution>
          <value>12440.0</value>
          <sliderWidth>210</sliderWidth>
          <randomizable>true</randomizable>
          <valueDisplayEnabled>true</valueDisplayEnabled>
        </bsbObject>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob' version='2'>
          <objectName>Xciter_blend</objectName>
          <x>85</x>
          <y>76</y>
          <comment>blend between 2nd and 3rd order harmonics </comment>
          <automationAllowed>true</automationAllowed>
          <minimum>-10.0</minimum>
          <maximum>10.0</maximum>
          <value>0.0</value>
          <knobWidth>40</knobWidth>
          <randomizable>true</randomizable>
          <valueDisplayEnabled>true</valueDisplayEnabled>
          <label>blend</label>
          <labelEnabled>true</labelEnabled>
          <font>
            <name>System Regular</name>
            <size>12.0</size>
          </font>
        </bsbObject>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel' version='2'>
          <objectName></objectName>
          <x>110</x>
          <y>6</y>
          <label>frequency</label>
          <font>
            <name>System Regular</name>
            <size>12.0</size>
          </font>
        </bsbObject>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel' version='2'>
          <objectName></objectName>
          <x>120</x>
          <y>34</y>
          <label>ceiling</label>
          <font>
            <name>System Regular</name>
            <size>12.0</size>
          </font>
        </bsbObject>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel' version='2'>
          <objectName></objectName>
          <x>140</x>
          <y>62</y>
          <label>dry</label>
          <font>
            <name>System Regular</name>
            <size>12.0</size>
          </font>
        </bsbObject>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBVSlider' version='2'>
          <objectName>Xciter_wet</objectName>
          <x>160</x>
          <y>78</y>
          <comment>gain of effect</comment>
          <automationAllowed>true</automationAllowed>
          <minimum>0.0</minimum>
          <maximum>3.0</maximum>
          <bdresolution>0.1</bdresolution>
          <value>1.7</value>
          <sliderHeight>70</sliderHeight>
          <randomizable>true</randomizable>
          <valueDisplayEnabled>false</valueDisplayEnabled>
        </bsbObject>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBVSlider' version='2'>
          <objectName>Xciter_dry</objectName>
          <x>135</x>
          <y>78</y>
          <comment>gain of the incoming signal</comment>
          <automationAllowed>true</automationAllowed>
          <minimum>0.0</minimum>
          <maximum>1.0</maximum>
          <bdresolution>0.1</bdresolution>
          <value>1.0</value>
          <sliderHeight>70</sliderHeight>
          <randomizable>true</randomizable>
          <valueDisplayEnabled>false</valueDisplayEnabled>
        </bsbObject>
        <bsbObject type='blue.orchestra.blueSynthBuilder.BSBCheckBox'>
          <objectName>Xciter_compare</objectName>
          <x>195</x>
          <y>124</y>
          <comment>a second bypass to quickly compare the result with the incoming signal</comment>
          <automationAllowed>true</automationAllowed>
          <label>compare</label>
          <selected>true</selected>
          <randomizable>true</randomizable>
        </bsbObject>
      </bsbObject>
      <bsbObject type='blue.orchestra.blueSynthBuilder.BSBCheckBox'>
        <objectName>XciterON</objectName>
        <x>0</x>
        <y>0</y>
        <comment>bypass</comment>
        <automationAllowed>true</automationAllowed>
        <label/>
        <selected>true</selected>
        <randomizable>true</randomizable>
      </bsbObject>
    </bsbObject>
  </graphicInterface>
  <parameterList>
    <parameter uniqueId='-1508737369' name='Xciter_frequency' label='' min='300.0' max='10000.0' bdresolution='10' automationEnabled='false' value='1570.0'>
      <line name='' version='2' max='10000.0' min='300.0' bdresolution='10' color='-8355712' rightBound='false' endPointsLinked='false'>
        <linePoint x='0.0' y='1570.0'/>
      </line>
    </parameter>
    <parameter uniqueId='-1508737359' name='Xciter_harmonics' label='' min='0.1' max='10.0' bdresolution='-1' automationEnabled='false' value='2.278'>
      <line name='' version='2' max='10.0' min='0.1' bdresolution='-1' color='-8355712' rightBound='false' endPointsLinked='false'>
        <linePoint x='0.0' y='2.278'/>
      </line>
    </parameter>
    <parameter uniqueId='-1508732569' name='Xciter_blend' label='' min='-10.0' max='10.0' bdresolution='-1' automationEnabled='false' value='0.0'>
      <line name='' version='2' max='10.0' min='-10.0' bdresolution='-1' color='-8355712' rightBound='false' endPointsLinked='false'>
        <linePoint x='0.0' y='0.0'/>
      </line>
    </parameter>
    <parameter uniqueId='-1508730965' name='Xciter_ceil' label='' min='400.0' max='20000.0' bdresolution='10' automationEnabled='false' value='12440.0'>
      <line name='' version='2' max='20000.0' min='400.0' bdresolution='10' color='-8355712' rightBound='false' endPointsLinked='false'>
        <linePoint x='0.0' y='12440.0'/>
      </line>
    </parameter>
    <parameter uniqueId='-1495535524' name='Xciter_dry' label='' min='0.0' max='1.0' bdresolution='0.1' automationEnabled='false' value='1.0'>
      <line name='' version='2' max='1.0' min='0.0' bdresolution='0.1' color='-8355712' rightBound='false' endPointsLinked='false'>
        <linePoint x='0.0' y='1.0'/>
      </line>
    </parameter>
    <parameter uniqueId='-1495535522' name='Xciter_wet' label='' min='0.0' max='3.0' bdresolution='0.1' automationEnabled='false' value='1.7'>
      <line name='' version='2' max='3.0' min='0.0' bdresolution='0.1' color='-8355712' rightBound='false' endPointsLinked='false'>
        <linePoint x='0.0' y='1.7'/>
      </line>
    </parameter>
    <parameter uniqueId='-800383549' name='Xciter_compare' label='' min='0.0' max='1.0' bdresolution='1' automationEnabled='false' value='1.0'>
      <line name='' version='2' max='1.0' min='0.0' bdresolution='1' color='-8355712' rightBound='false' endPointsLinked='false'>
        <linePoint x='0.0' y='1.0'/>
      </line>
    </parameter>
    <parameter uniqueId='-104104199' name='XciterON' label='' min='0.0' max='1.0' bdresolution='1' automationEnabled='false' value='1.0'>
      <line name='' version='2' max='1.0' min='0.0' bdresolution='1' color='-8355712' rightBound='false' endPointsLinked='false'>
        <linePoint x='0.0' y='1.0'/>
      </line>
    </parameter>
  </parameterList>
</effect>