Difference between revisions of "Laser Strings"

From I-CubeX Wiki
Jump to: navigation, search
Line 28: Line 28:
  
 
1.) The ReachCloseD's distance value is mapped to pitch bend
 
1.) The ReachCloseD's distance value is mapped to pitch bend
 +
 +
Turn on the
  
 
2.) The Flash sensor emits a note on/off pair when the laser light is interrupted
 
2.) The Flash sensor emits a note on/off pair when the laser light is interrupted
 +
 +
Since we want to emit a note ON when the sensor value is low, we make use of the "dip" mapping function. To do so, we start with an analog, continuous input and then select "peak" in the processing menu mapped to a note on:
 +
 +
[[File:editor-80_sensor_processing.png | 350px]]
 +
 +
[[File:editor-80_sensor_processing_inv.png | 350px]]
  
 
Once set, disconnect the BLE MIDI port through the system menu, or simply unplug and re-power the WiDig:
 
Once set, disconnect the BLE MIDI port through the system menu, or simply unplug and re-power the WiDig:

Revision as of 21:06, 27 June 2018

What you need

For this walkthrough, you will need:

Hardware Setup

First, plug in the ReachCloseD into input 1, The Flash into input 2, and the laser into any other slot:

Usbmd connect.jpg

Next, connect the WiDig via a micro-USB cable to a charged USB battery pack, or a USB power supply.

Pairing for Configuration

Follow either the WiDig QuickStart pages for BLE pairing instructions

EditorX Configuration

Now its time to set up the sensors to map to MIDI messages. In the example, we emit two parameters:

1.) The ReachCloseD's distance value is mapped to pitch bend

Turn on the

2.) The Flash sensor emits a note on/off pair when the laser light is interrupted

Since we want to emit a note ON when the sensor value is low, we make use of the "dip" mapping function. To do so, we start with an analog, continuous input and then select "peak" in the processing menu mapped to a note on:

Editor-80 sensor processing.png

Editor-80 sensor processing inv.png

Once set, disconnect the BLE MIDI port through the system menu, or simply unplug and re-power the WiDig:

Osx-bluetooth-disconnect.png

Connect in GarageBand

Follow the iOS instructions in WiDig QuickStart to pair and connect to the BLE port. Once connected, you should be able to see the MIDI messages being received by the instrument! In the demo we have used the "Smart Guitar" and "Erhu" instruments. But feel free to experiment with other sounds as well!

Some useful CC parameters:

CC 1 - Modulation

CC 7 - Volume

CC 11 - Expression

Do note that the instruments in GarageBand, unlike a full fledged synthesizer, may not respond to many CC values. The above 3 we have found to work with a number of patches. Other things to try include note on/off messages, and of course pitch bend which works for most instruments.