Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
require 'rubygems'
require 'midiator'
midi = MIDIator::Interface.new
midi.use("dls_synth")
#midi.autodetect_driver
midi.control_change 32, 10, 1
midi.program_change 10, 26