Pilcrow Records

Scripter Javascript Tutorial

javascriptmusiclogicscripterbookexcerpttutorial

19 Boolean

MDN: Glossary: Boolean

A Boolean value is either true or false. In Scripter, these are used with parameter controls, testing during conditional branching, and is a common property of a track’s state.

var arpeggiate = true; // arpeggiate the chord
var arpeggiate = false; // play the chord as notated