skip to content

Wah, I’m Sad

loading...

How about some psychedelic sadness?

Samples of two bars of finger-plucked guitar cycle endlessly while a <filter-blam> of type="bandpass" sweeps between lighter and darker frequencies. A spring reverb is added via <reverb-blam> for depth.

<reverb-blam id="spring" mix="0.25">
  <sample-blam src="{{site.basedir}}/static/sounds/IRs/spring.mp3"></sample-blam>
</reverb-blam>

To emulate the unsteady motion of a foot operating a wah pedal, a <blam-blam> fluctuates the gain of the <lfo-blam>.

<filter-blam type="bandpass" freq="850" q="3">
  <lfo-blam id="pedal" prop="freq" gain="500" beats="0.75">
    <blam-blam 
      from="sequencer-blam" 
      to="#pedal" 
      prop="gain" 
      value="200~600" 
      ramp="0.125"
      chance="0.5">
    </blam-blam>
  </lfo-blam>
</filter-blam>

A <dial-blam> is included for changing the position from “towards the heal” to “towards the toe”. This determines the general area in which the foot motion is occuring. It is mapped to the <filter-blam>’s center frequency (freq).

<dial-blam to="[type='bandpass']" prop="freq">
  <label>
    position
    <input type="range" min="600" max="1400" step="any">
  </label>
</dial-blam>