musa-dsl 0.49.1 → 0.49.2
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/musa-dsl/transport/input-midi-clock.rb +22 -0
- data/lib/musa-dsl/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48983d8ced3dbbbe19f220bf441cf6c23e228f274ca79afb384c13fc22339768
|
|
4
|
+
data.tar.gz: 2384a66db6951f33d884362b49385d1ccce38362327c086a90dbaf9820386c96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a3bea3424e5bbc09419f8e6f6f5cef241d9a834d4ca5a574f6675fa0ef613073f7e25bfd8185bdc53d4a9b37fa812cce09df88c61b4494af907bf4ded21946c
|
|
7
|
+
data.tar.gz: 599a9e1281d38b72b42e36144aee91f69122f8a1cddadfe71d18b7cf8da63d4343f85f8d70d0410b0ace0c35d2d472765f300acaaafb353e865371f2f464a83a
|
|
@@ -284,6 +284,28 @@ module Musa
|
|
|
284
284
|
|
|
285
285
|
when 'Continue'
|
|
286
286
|
@logger.debug('InputMidiClock') { 'processing Continue...' }
|
|
287
|
+
|
|
288
|
+
# A Continue means "carry on playing", and carrying on from a stop is
|
|
289
|
+
# starting. Doing nothing here made the special case above -- Stop,
|
|
290
|
+
# Song Position Pointer and Continue arriving together -- the only
|
|
291
|
+
# path that could ever set @started outside a literal Start, and that
|
|
292
|
+
# path only matches when all three land in the same read.
|
|
293
|
+
#
|
|
294
|
+
# Whether they do is a property of the platform, not of the DAW. Core
|
|
295
|
+
# MIDI delivers packet lists that can carry several messages, so on
|
|
296
|
+
# macOS they usually arrive together; WinMM raises one notification
|
|
297
|
+
# per short message, so on Windows they usually do not. Measured
|
|
298
|
+
# against Bitwig with Song Position Pointer enabled, the Stop arrived
|
|
299
|
+
# alone 0.3 to 0.8 ms before the other two, and the grouping varied
|
|
300
|
+
# between presses of Play. The clock then discarded every tick
|
|
301
|
+
# forever: 1320 of them in one run, in silence.
|
|
302
|
+
#
|
|
303
|
+
# So the pattern above is no longer the only way in. It still earns
|
|
304
|
+
# its place -- when the three do arrive together it repositions
|
|
305
|
+
# without stopping, and a stop resets the sequencer -- but nothing
|
|
306
|
+
# depends on it any more.
|
|
307
|
+
process_start unless @started
|
|
308
|
+
|
|
287
309
|
@logger.debug('InputMidiClock') { 'processing Continue... done' }
|
|
288
310
|
|
|
289
311
|
when 'Clock'
|
data/lib/musa-dsl/version.rb
CHANGED