musa-dsl 0.21.4 → 0.21.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46172601ed5c7fc82111b9ef5d669006f581e9ea4ebb0c36ef6c7108c9e0107e
|
4
|
+
data.tar.gz: aff0114b7c5a87e5e158eb5ff88882e0adfe4e39a8b7531f8aff323425e133f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 113e51f155961205cf92897802108124b1f953e7d2d690fcf11582d014c828af3ab13880ac6f69eefbd6fbdfca8d2eb9c96dfd507cd0bf42be87cdb654781753
|
7
|
+
data.tar.gz: b8a67793161526eff6a8be4dcd412da2d093228ff95b88c039973a5857da431b93e714b3e6d0d895462e6488a9368564c39b01ebaa6098c36ce7046269b20549
|
@@ -3,11 +3,12 @@ require 'logger'
|
|
3
3
|
module Musa; module Logger
|
4
4
|
class Logger < ::Logger
|
5
5
|
def initialize(sequencer: nil, position_format: nil)
|
6
|
-
super STDERR
|
6
|
+
super STDERR, level: WARN
|
7
7
|
|
8
8
|
@sequencer = sequencer
|
9
9
|
@position_format = position_format || 3.3
|
10
10
|
|
11
|
+
|
11
12
|
self.formatter = proc do |severity, time, progname, msg|
|
12
13
|
level = "[#{severity}] " unless severity == 'DEBUG'
|
13
14
|
|
@@ -66,7 +66,7 @@ module Musa
|
|
66
66
|
@timeslots[at_position] << value
|
67
67
|
end
|
68
68
|
else
|
69
|
-
@logger.warn('BaseSequencer') { "._raw_numeric_at:
|
69
|
+
@logger.warn('BaseSequencer') { "._raw_numeric_at: ignoring past at command for #{at_position}" }
|
70
70
|
end
|
71
71
|
|
72
72
|
nil
|
@@ -113,7 +113,7 @@ module Musa
|
|
113
113
|
value_parameters: value_parameters,
|
114
114
|
key_parameters: key_parameters }
|
115
115
|
else
|
116
|
-
@logger.warn('BaseSequencer') { "._numeric_at:
|
116
|
+
@logger.warn('BaseSequencer') { "._numeric_at: ignoring past 'at' command for #{at_position}" }
|
117
117
|
end
|
118
118
|
|
119
119
|
nil
|
@@ -48,8 +48,8 @@ module Musa
|
|
48
48
|
original_position = position
|
49
49
|
position = ticks_position.round * @tick_duration
|
50
50
|
|
51
|
-
@logger.warn('BaseSequencer') { "._numeric_at:
|
52
|
-
"position #{
|
51
|
+
@logger.warn('BaseSequencer') { "._numeric_at: rounding "\
|
52
|
+
"position #{original_position} (#{original_position.to_f.round(5)}) "\
|
53
53
|
"to tick precision: #{position} (#{position.to_f.round(5)})" }
|
54
54
|
end
|
55
55
|
|
data/musa-dsl.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'musa-dsl'
|
3
|
-
s.version = '0.21.
|
4
|
-
s.date = '2020-10-
|
3
|
+
s.version = '0.21.5'
|
4
|
+
s.date = '2020-10-21'
|
5
5
|
s.summary = 'A simple Ruby DSL for making complex music'
|
6
6
|
s.description = 'Musa-DSL: A Ruby DSL for algorithmic music composition, device language neutral (MIDI, OSC, etc)'
|
7
7
|
s.authors = ['Javier Sánchez Yeste']
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: musa-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.
|
4
|
+
version: 0.21.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Sánchez Yeste
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: citrus
|