Pilcrow Records

Scripter Javascript Tutorial

javascriptmusiclogicscripterbookexcerpttutorial

48 Objects

MDN: Working with objects

Objects can store multiple values in a single variable, but are more complex than an array. In addition to using index numbers as addresses, Objects use keys provided as either a String or a Symbol (this tutorial only covers using strings). Each key is associated with a value, which can be any kind of data, including Objects. All of the key-value pairs, also called properties, are handled as an array, separated by commas. Objects are an incredibly powerful tool. Scripter uses objects to handle MIDI Events, TimingInfo data, and Parameter Controls.