tonal-tools 7.4.0 → 7.4.1
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/tonal/attributions.rb +1 -1
- data/lib/tonal/extensions.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a885f9f2ed3b1a950c3394fefbd826176a159082183b6f3a29309b62e9fc982e
|
|
4
|
+
data.tar.gz: 6682d7efb1c39a9afd8865380fe09395ac31bd1b7014425a4eff60ed10b8a320
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3ee15e23084e3d8cbd0c5de6560f299108c77ed88ed4ee041dad9223f8dadd272c19474b8596a9e22a3eff980bb721e6759972b8c6e81abd77b06999ca131bc
|
|
7
|
+
data.tar.gz: 5d7d8b7fa3372f0704e7bcaf53e62e1e4c79a6380091898127145fc7499a97f5cea056a4b776b8ab5e0d35168bcf9b2c6028ed79bf7fa260301259e694808ae5
|
data/lib/tonal/attributions.rb
CHANGED
data/lib/tonal/extensions.rb
CHANGED
|
@@ -100,10 +100,10 @@ class Numeric
|
|
|
100
100
|
|
|
101
101
|
# @return [Tonal::Step] the step of self in the given modulo
|
|
102
102
|
# @example
|
|
103
|
-
# (5/4r).
|
|
103
|
+
# (5/4r).scale_step(12) => 4\12
|
|
104
104
|
# @param modulo
|
|
105
105
|
#
|
|
106
|
-
def
|
|
106
|
+
def scale_step(modulo=12) = Tonal::Step.new(ratio: self, modulo: modulo)
|
|
107
107
|
|
|
108
108
|
# @return [Float] the log product complexity of self
|
|
109
109
|
# @example
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tonal-tools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.4.
|
|
4
|
+
version: 7.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jose Hales-Garcia
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-12-
|
|
10
|
+
date: 2025-12-27 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: yaml
|