This is an example that shows how to use the fx_amplitude_mod effect to create a tremelo pedal effects. The ADSR envelope standads for attack-decay- sustain-release and controls how quickly a note fades and out. The sketch also demonstrates how to route the new note pedal event to the ADSR envelope so each time you play a new note, the ADSR envelope is applied.
This effect uses two independent loopers. The duration of the second looper is synchronized to the first. Hold down the left footswitch to record the first loop. Then hold down the right footswitch to record a second layer. Tapping either of the footswitches after the record will clear that loop. The left pot controls loop 1 volume, the right pot controls loop 2 volume and the center pot controls a gentle low-pass filter over the loops.
This is an example that shows how to use the fx_adsr_envelope effect to control the attack and decay of a played note. The ADSR envelope standads for attack-decay-sustain-release and controls how quickly a note fades and out. The sketch also demonstrates how to route the new note pedal event to the ADSR envelope so each time you play a new note, the ADSR envelope is applied. By turning attack and release way down, each note sounds like a quick pluck. And increase attack creates a swell effect like an ebow.
Uses the BIT_CRUSHER and the SAMPLE_RATE_CRUSHER models in the destructor to both reduce the bit resolution of the audio samples (bit crusher) and reduce the sample rate (sample rate crusher). A sample rate crusher does not use what's called an anti-aliasing filter when it reduces the sample rate and as a result, it produces all sorts of artifacts of the original signal at different frequencies.
Do not taunt the purple cobra. This is a tightly compressed distortion that runs through a fuzz destructor to create tight notes with lots of colorful harmonics. This effect also uses a pitch shifter. Stepping on the right footswitch mixes in the lower octave
Creates a Theramin using a Sparkfun distance sensor. When the measured distance from the sensor is less than about 2.5 feet, the tones are mixed in. And when there is nothing in front of the sensor, the tones turn off. This sketch relies on a Sparkfun distance sensor that can be obtained here:
This is an example that shows how to use the fx_delay effect to create a delay effect that can be activated with momentarily with a footswitch like in dub songs. Regular music and then you hold down the left footswitch and things will be delayed. Release the footswitch but the delays still ring out.
This is a basic looper pedal that uses the route_control() function to pass the tapped loop length along to an echo effect. The echo effect is set to 1/4 the lenght of the loop so each time a new loop is set, the echo time is updated to. The looper output also runs through a low-pass filter with a bit of resonance so you can turn the recorded loop into a cool background droning pattern.