home/ atoms/ sonic-pi-slicer-fx

The :slicer FX modulates amplitude rhythmically using a control wave at a configurable phase duration

:slicer rhythmically chops audio amplitude using a repeating control wave (saw/square/triangle/sine). The phase: opt sets the cycle length in beats; wave: 0/1/2/3 selects the wave shape (0=saw, 1=square, 2=tri, 3=sine). amp_min: and amp_max: control the amplitude range. The probability: opt adds probabilistic on/off. Square wave (wave: 1) is the default — hard on/off chopping. Sine wave creates smooth pulsing.

Examples

with_fx :slicer, phase: 0.125, wave: 1 do sample :loop_amen, beat_stretch: 2 sleep 2 end

Assessment

Describe the audible difference between wave: 1 (square) and wave: 3 (sine) on a sustained synth. Then use probability: 0.5 to make the slicer fire randomly.

“slicer` FX uses a square wave to manipulate the amplitude through time”
corpus · sonic-pi-built-in-tutorial · chunk 46