<instrument type='blue.orchestra.BlueSynthBuilder'>
  <name>drumsampler</name>
  <comment></comment>
  <globalOrc/>
  <globalSco/>
  <instrumentText>ichnls filenchnls &quot;&lt;phile&gt;&quot;

if (ichnls &gt;= 2) then
	alft, arht diskin &quot;&lt;phile&gt;&quot;, &lt;omgpth&gt;
else
	aout diskin &quot;&lt;phile&gt;&quot;, &lt;omgpth&gt;
	alft = aout
	arht = aout
endif

kenv linsegr 1, p3 - 0.05, 1, 0.001, 0
aout1 = alft * kenv
aout2 = arht * kenv

blueMixerOut aout1, aout2</instrumentText>
  <graphicInterface>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
      <objectName/>
      <x>9</x>
      <y>9</y>
      <label>&lt;html&gt;&lt;font size=&quot;14&quot;&gt;&lt;b&gt;Sampler&lt;/b&gt;&lt;/font&gt;&lt;/html&gt;</label>
    </bsbObject>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
      <objectName/>
      <x>65</x>
      <y>82</y>
      <label>&lt;html&gt;&lt;font size=&quot;5&quot;&gt;File:&lt;/font&gt;&lt;/html&gt;</label>
    </bsbObject>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
      <objectName/>
      <x>65</x>
      <y>172</y>
      <label>&lt;html&gt;&lt;font size=&quot;5&quot;&gt;Pitch:&lt;/font&gt;&lt;/html&gt;</label>
    </bsbObject>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBKnob'>
      <objectName>omgpth</objectName>
      <x>66</x>
      <y>196</y>
      <minimum>-5.0</minimum>
      <maximum>5.0</maximum>
      <value>0.6</value>
      <knobWidth>100</knobWidth>
    </bsbObject>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBLabel'>
      <objectName/>
      <x>169</x>
      <y>25</y>
      <label>of the percussion variety</label>
    </bsbObject>
    <bsbObject type='blue.orchestra.blueSynthBuilder.BSBFileSelector'>
      <objectName>phile</objectName>
      <x>65</x>
      <y>110</y>
      <fileName/>
      <textFieldWidth>400</textFieldWidth>
    </bsbObject>
  </graphicInterface>
  <presetGroup name='Presets'/>
</instrument>