Here's a sample project showing how to map MIDI notes to dimmers and play the corresponding note sounds. The mapping is: midi note C2 triggers dimmer 1, C#0 triggers dimmer 2, D0 triggers dimmer 3... Using the MIDI output feature, Lightjams can also sends the MIDI notes to the Windows Synth (or any other MIDI output device able to play sounds).
The sample project file maps 25 midi notes to 25 dimmers. Only one source is needed using the shader mode (which means the power formula is evaluated for each cell individually). The power formula is: midi.note(1,49+x). 49 is the id of the C2 note. At the bottom of the grid, the dimmer attribute with a x position = 0 is triggered by midi.note(1,49+0), which is C2. Then the dimmer at x position 1 is triggered by midi.note(1,49+1), which is C#0.
To output MIDI, another 25 dimmers have been patched in the MIDI note channel 1 universe, starting at note 49. These dimmer attributes are in the top row. They get activated when the corresponding MIDI note has been received.