WORKSHOP GUIDANCE
  • Use the Virtual MIDI device above to input MIDI notes and control changes. This pattern already has a sprinking of code to display the incoming MIDI input and also prepare them for use in the music.
  • The first three pads toggle (muting and unmuting) specific channels, corresponding to the different parts we'll code during the workshop. Press the green MIDI button to send a MIDI CC that unmutes Channel 2.

    On Windows, if you see a security prompt, click 'Yes' to enable the MIDI functionality.

  • In the first cell of second channel ("02: Strings"), we'll add a note that uses the last MIDI pitch entered - stored in the cell labelled  Note  and bump it up an octave. To refer to this cell, we address it by name using the @ prefix, and get its pitch using the .pitch property. To transpose it up, we simply add 12 (semitones):

    [02:000] = @Note.pitch + 12

  • Move to the cell and press = (equals) to open its formula editor, then enter the above code in the .pitch formula.
  • When ready, play the pattern (Space to play from the cursor, or Alt-Space to play from the start) and use the lower row of (silver) MIDI pads to vary the pitch of the strings.