Posted on Leave a comment

Sample Creators: New Pitch Shift Effect

As of version 1.13.3, Decent Sampler now has a simple, old school pitch shift effect. This is a classic, delay-based implementation that can be found in a lot of 90s-era digital pitch shifters. It should be useful for adding old-school grit or faking a tape-recorder warble. Usage is pretty straightforward:

<DecentSampler minVersion="1.13.3">
  <ui>
    <tab>
      <labeled-knob x="375" y="75" width="90" textSize="16" textColor="AA000000" trackForegroundColor="CC000000" trackBackgroundColor="66999999" label="Pitch Shift" type="float" minValue="-24.0" maxValue="24.0" value="0">
        <binding type="effect" level="group" groupIndex="0" effectIndex="0" parameter="FX_PITCH_SHIFT"/>
      </labeled-knob>
      <labeled-knob x="445" y="75" width="90" textSize="16" textColor="AA000000" trackForegroundColor="CC000000" trackBackgroundColor="66999999" label="Mix" type="float" minValue="0.0" maxValue="1.0" value="1">
        <binding type="effect" level="group" groupIndex="0" effectIndex="0" parameter="FX_MIX"/>
      </labeled-knob>   
    </tab>
  </ui>
  <groups attack="0.000" decay="25" sustain="1.0" release="0.430" ampVelTrack="0.5">
    <group>
      <!-- ... samples go here ... -->

      <effects>
        <effect type="pitch_shift" pitchShift="0.0" mix="1" enabled="true"/>
      </effects>
    </group>
  </groups>
</DecentSampler>Code language: HTML, XML (xml)

The two parameters of the pitch_shift effect can also be modulated as follows:

<modulators>
  <lfo shape="sine" frequency="2" modAmount="0.3">
    <binding type="effect" level="group" groupIndex="0" effectIndex="0" parameter="FX_PITCH_SHIFT" modBehavior="add" translation="linear" translationOutputMin="-1" translationOutputMax="1"  />
  </lfo>
</modulators>Code language: HTML, XML (xml)

Example for how to use this effect can be found here.

Enjoy!

– Dave

Leave a Reply

Your email address will not be published. Required fields are marked *