Sha256: 910878f309ed0cac4f8c2096ba50329daab205cc9dfcf56ede44843bfb279403

Contents?: true

Size: 139 Bytes

Versions: 8

Compression:

Stored size: 139 Bytes

Contents

require 'midiops'
require 'unimidi'

ob = MIDIOps::Observer.new

ob.on [144, 0, 127] do
  `notify-send '#{Time.now}'`
end

ob.listen_first

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
midiops-0.3.3 example/notify-send.rb
midiops-0.3.2 example/notify-send.rb
midiops-0.3.1 example/notify-send.rb
midiops-0.3.0 example/notify-send.rb
midiops-0.2.1 example/notify-send.rb
midiops-0.2.0 example/notify-send.rb
midiops-0.1.1 example/notify-send.rb
midiops-0.1.0 example/notify-send.rb