step_sequencer 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/step_sequencer/sound_builder/default_effects/combine.rb +1 -1
- data/lib/step_sequencer/sound_builder/default_effects/gain.rb +1 -1
- data/lib/step_sequencer/sound_builder/default_effects/loop.rb +1 -1
- data/lib/step_sequencer/sound_builder/default_effects/overlay.rb +1 -1
- data/lib/step_sequencer/sound_builder/default_effects/pitch.rb +1 -1
- data/lib/step_sequencer/sound_builder/default_effects/slice.rb +1 -1
- data/lib/step_sequencer/sound_builder/default_effects/speed.rb +1 -1
- data/lib/step_sequencer/sound_builder/effects_component_protocol.rb +1 -1
- data/lib/step_sequencer/sound_builder.rb +1 -1
- data/lib/step_sequencer/sound_player.rb +1 -1
- data/lib/step_sequencer/tests.rb +3 -3
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddc6dfe6be70248edee578950052dacc7944ea3b
|
4
|
+
data.tar.gz: 4a8eacd58b0cdfb10765b9a8aa24f37b0a00a6fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c902c87f5daa05e6387560fac206fd0957db4b07d4e7204dfa392759d0a5757208c163599f1b5c5ecb9152cafce32ac6ab936e925081e1766236a0d03d1be4c8
|
7
|
+
data.tar.gz: cad29f31636190892f4a4889015e6525bea34f8769d56b1453bd36775ded43e0f5600a3d442aeb2446cd9ee65800111be20827c4f40770711fa6c4c9cf833a7b
|
data/README.md
CHANGED
@@ -138,7 +138,7 @@ As the above examples illustrate, `#build` is always given an array of sources
|
|
138
138
|
it's empty, `args` is always a array, the signature of which is dependent on the
|
139
139
|
specific effects component's implementation.
|
140
140
|
|
141
|
-
2. **`StepSequencer::SoundPlayer`**
|
141
|
+
#### 2. **`StepSequencer::SoundPlayer`**
|
142
142
|
|
143
143
|
Playing sounds is a two part process. First, the player must be initialized,
|
144
144
|
which is when the sounds are mapped to rows.
|
@@ -42,7 +42,7 @@ class StepSequencer::SoundPlayer
|
|
42
42
|
@limit = nil # an upper limit for steps_played, defaults to no limit
|
43
43
|
end
|
44
44
|
|
45
|
-
|
45
|
+
public
|
46
46
|
|
47
47
|
def build_matrix_from_string(string)
|
48
48
|
string.tr(" ", '').gsub(/\#.+$/, '').split("\n").map(&:chars).map do |chars|
|
data/lib/step_sequencer/tests.rb
CHANGED
@@ -4,7 +4,7 @@ require 'method_source'
|
|
4
4
|
# =============================================================================
|
5
5
|
# A custom test runner. The tests themselves are in test_cases.rb
|
6
6
|
# Usage: StepSequencer::Tests.run
|
7
|
-
# The
|
7
|
+
# The public method run_test_collection can also be used; it's more modular.
|
8
8
|
# =============================================================================
|
9
9
|
|
10
10
|
class StepSequencer::Tests
|
@@ -33,7 +33,7 @@ class StepSequencer::Tests
|
|
33
33
|
end
|
34
34
|
|
35
35
|
class << self
|
36
|
-
|
36
|
+
public
|
37
37
|
|
38
38
|
def builder_tests
|
39
39
|
StepSequencer::Tests::TestCases::Builder
|
@@ -89,7 +89,7 @@ class StepSequencer::Tests
|
|
89
89
|
|
90
90
|
# Helpers made available to test cases (if they include the module)
|
91
91
|
module TestCaseHelpers
|
92
|
-
|
92
|
+
public
|
93
93
|
def asset_path(name)
|
94
94
|
Gem.find_files("step_sequencer/test_assets/#{name}.mp3")[0]
|
95
95
|
end
|
data/lib/version.rb
CHANGED