How to Use Buttons and LEDs

From Patchblocks
Jump to: navigation, search

Each Patchblock has two buttons that can be used to control many different things inside a patch. By default, each button sends a 0 value when not being pressed down, and a 1 value when actively being pressed. Also by default, the LED portion of each button does not illuminate until you program them to do so inside the patch.

Although the buttons are set up to work in pressed vs. un-pressed fashion, it's possible to use blocks to change this behavior. In addition, because the Patchblocks do not have displays indicating what is happening, sometimes you may want to use the LEDs to help provide feedback on certain aspects of your active patch. A few ways that you can change the behavior of the buttons and LEDs for these pourposes are:

  • A toggle button that switches between on and off each time it is pressed.
  • A multi-function button that cycles through four different filter types with each button press.
  • Trigger and display an envelope
  • A tap-tempo button for a sequencer.

Default Use with Display[edit]

Press the buttons to make their LED change

To try this patch, copy the text block below and paste it in a blank patch window.

AAIAAAFyeJx1TzFOw0AQHCeO7LNESUVzHVUs2xCJkAYR6CJA4A84+EJOsnwWvhDxEyR4CDwjCVDzCCSuC3t2Q8Nec7szOzMLsL73hLa2W+CZ9f0dpOlc8ImYaX660FqV+zV/yIqF4IGsuSxzeZtpkfPpI5easMn5GQ+yMueVqu1cK65JYKzKWhWCL2lDLUPgJUi8H4ytuKqIKzV9Zg33Wt7N/7gFrd1/bmGT1ZYD9E5s0724TOHGA3EIsw72vE/0olE0ShyYlQOfsuh7VdRwZ9HRwDl22BvdzSzFvrjTNWt0zIbkbqpCariDbBjDbNiX9wGvZSUdx6wA8w64V3Qq3OE0EdSzV3+3EQtjK0YwhSQvcRALWmHfBDdxIvwC2RRrAw==

Toggle Button[edit]

The left button turns the Sine On and Off

To try this patch, copy the text block below and paste it in a blank patch window.

AAIAAAGJeJxFkL1OwzAUhU9CSgKJBBNsyBssVEl/gyIhfrtAqRDlAdLGDRGRXVJ76FAK74LEC3XmATLBzFAcUsG9i319ztHnC9gL8wBlLZfQM3thHeO2/0DJFeMDMuRMZDydEKEmdwmjJKaMZqHg2f6EjDL6JCkbTqubheNMCsEZETJjE5II0rshIYtIr9OpFuG/pQGVk+JidWUqknE6heEN6h7yuf1lfsD0Ai9wA1dD/gKs93kcpxRG+4gqycy5N9+wpZ5LUVCIa7qWT6H8GqzzFS6Mkes3tdajc6i+t+EGZXs68lfo+QxY64ZjGLVW01cj+9OU2F4FukHTLY41hfAMOKcySjjpSTGWAobfDiOFZn9bO/+5LmAUy4ERRiOqbM6e+Q670fgTqKy5El1fXig2WveoYnZiaxeV0v8DlClo3A==

Multi-Function Button[edit]

Trigger Button and Envelope Display[edit]

Tap Tempo Button[edit]