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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8f19ea8b2adc69b0337938f0db645b11ec6b021781b163f9d9d49bcc95470aa
4
- data.tar.gz: 1fd764ad354f2eba388fb2c74e2689919d4729dd875dfc27f75f4aff7bb1a261
3
+ metadata.gz: 48983d8ced3dbbbe19f220bf441cf6c23e228f274ca79afb384c13fc22339768
4
+ data.tar.gz: 2384a66db6951f33d884362b49385d1ccce38362327c086a90dbaf9820386c96
5
5
  SHA512:
6
- metadata.gz: f7d6453e9842589676863769ecc0c4da051d2d1df76e53e5f65ed301465aa8a3eacb80706f8adb0cc4307bd12a8b889309276916e9e1192299cd3ace3cb9db08
7
- data.tar.gz: a5dd8a6f58085d18c4b572613fe688554bc21553fbf21b730dc118b2edabc92ca09736260655039908a1b42ed60fd477cb56e4fb6f43a0874184c4573d1c46e4
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'
@@ -1,3 +1,3 @@
1
1
  module Musa
2
- VERSION = '0.49.1'.freeze
2
+ VERSION = '0.49.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: musa-dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.1
4
+ version: 0.49.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Sánchez Yeste