midi-topaz 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/topaz/clock.rb +3 -2
- data/lib/topaz.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b2a41127c5fd6c25dda6df2e606bea863e93071
|
4
|
+
data.tar.gz: dbe6b8cfbc54472a0b1793d6679319aac5101b37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a56f09007e305f98015ee8dfbd5eb126ce3c181be06173a5ee24622f1d64b92c7ca2d9afe409ffa1e9a75fe9378376fd718fd92f99b14c64cdd1b64518aa31d7
|
7
|
+
data.tar.gz: 9abd49224fcac0a11c11687c478068e1aaee68e6aea4eb15ef18651b1b2435235ef9c4368edfcb177bf12d60453b2308810084ca2750a17a2ea10e3974d5c4d1
|
data/lib/topaz/clock.rb
CHANGED
@@ -16,7 +16,7 @@ module Topaz
|
|
16
16
|
@midi_output = MIDIClockOutput.new(:devices => options[:midi])
|
17
17
|
@event = Event.new
|
18
18
|
@trigger = EventTrigger.new
|
19
|
-
@source = TempoSource.new(tempo_or_input, options.merge({ :event => @event }))
|
19
|
+
@source = TempoSource.new(tempo_or_input, options.merge({ :event => @event }))
|
20
20
|
initialize_events(&tick_event)
|
21
21
|
end
|
22
22
|
|
@@ -48,6 +48,7 @@ module Topaz
|
|
48
48
|
@source.start(options)
|
49
49
|
rescue SystemExit, Interrupt => exception
|
50
50
|
stop
|
51
|
+
raise exception
|
51
52
|
end
|
52
53
|
true
|
53
54
|
end
|
@@ -75,7 +76,7 @@ module Topaz
|
|
75
76
|
# @return [Clock::Event]
|
76
77
|
def initialize_events(&block)
|
77
78
|
@event.tick << block if block_given?
|
78
|
-
clock = proc do
|
79
|
+
clock = proc do
|
79
80
|
if @trigger.stop?
|
80
81
|
stop
|
81
82
|
else
|
data/lib/topaz.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: midi-topaz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ari Russo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -170,7 +170,7 @@ dependencies:
|
|
170
170
|
- - ">="
|
171
171
|
- !ruby/object:Gem::Version
|
172
172
|
version: 0.4.6
|
173
|
-
description: A
|
173
|
+
description: A tempo source that is capable of synchronizing with MIDI clocks.
|
174
174
|
email:
|
175
175
|
- ari.russo@gmail.com
|
176
176
|
executables: []
|