patchmaster 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,6 +60,10 @@ class DSL
60
60
  @patch.start_bytes = bytes
61
61
  end
62
62
 
63
+ def stop_bytes(bytes)
64
+ @patch.stop_bytes = bytes
65
+ end
66
+
63
67
  def connection(in_sym, in_chan, out_sym, out_chan)
64
68
  input = @pm.inputs[in_sym]
65
69
  in_chan = nil if in_chan == :all || in_chan == :any
@@ -5,7 +5,7 @@ module PM
5
5
 
6
6
  class Instrument
7
7
 
8
- attr_reader :name, :port_num, :port, :listener
8
+ attr_reader :name, :port_num, :port
9
9
 
10
10
  def initialize(name, port_num, port)
11
11
  @name, @port_num, @port = name, port_num, port
@@ -18,6 +18,7 @@ end
18
18
  class InputInstrument < Instrument
19
19
 
20
20
  attr_accessor :connections, :triggers
21
+ attr_reader :listener
21
22
 
22
23
  # If +port+ is nil (the normal case), creates either a real or a mock port
23
24
  def initialize(name, port_num, no_midi=false)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: patchmaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: unimidi
16
- requirement: &2156042580 !ruby/object:Gem::Requirement
16
+ requirement: &2156042600 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2156042580
24
+ version_requirements: *2156042600
25
25
  description: ! 'PatchMaster is realtime MIDI performance software that alloweds a
26
26
  musician
27
27