Sonic Pi _slide: opts cause synth parameters to glide smoothly between values over time
Every controllable opt on a synth has a corresponding _slide variant (note_slide:, cutoff_slide:, amp_slide:, etc.). Setting note_slide: 2 on a play call tells the synth to take 2 beats to interpolate to any subsequent note: value sent via control. Slide values are sticky until explicitly reset to 0. FX opts can also be slid using the same pattern on a captured FX node. _slide opts are set at trigger time, not at control time.
Examples
s = play 60, release: 8, note_slide: 1 sleep 0.5 control s, note: 67 sleep 0.5 control s, note: 72
Assessment
Build a four-note melody using one long synth node with note_slide: 0.5. Describe how the sound differs from four separate play calls. Explain how to reset the slide.