Sha256: 2a7dd444027dc720b0ecc6a581e86a9e56c1ff1ec3fdd3366fe396800b205afb

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
# License: Ruby License

module SGL
  # module control
  def useMidi()		$__a__.useMidi;		end
  def useMidiIn(*a)	$__a__.useMidiIn(*a)	end

  class Application
    def useMidi
      require "sgl/sgl-midi"
      $__midi__ = SGLMidi.new
    end

    def useMidiIn(num = -1)
      require "sgl/sgl-midiin"
      printMidiDeviceNames
      openMidiIn(num)
      startMidiInThread
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sgl-0.4.0 lib/sgl/opengl-modules.rb