Sha256: acf9b3f6a73f6920c2c9f7e73fe222f9176f8dd166087497ea08874c4dccf218

Contents?: true

Size: 532 Bytes

Versions: 1

Compression:

Stored size: 532 Bytes

Contents

#!/usr/bin/env ruby
#
# usage: patchmaster [-i] [pm_file]
#
# Starts PatchMaster and optionally loads pm_file.
#
# The -n flag tells PatchMaster to not use MIDI. All MIDI errors such as not
# being able to connect to the MIDI devices speicified in pm_file are
# ignored, and no MIDI data is sent/received. That is useful if you want to
# run PatchMaster without actually talking to any MIDI devices.

require 'patchmaster'

pm = PM::Main.instance
if ARGV[0] == '-n'
  pm.no_midi!
  ARGV.shift
end
pm.load(ARGV[0]) if ARGV[0]
pm.run

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
patchmaster-0.0.0 bin/patchmaster