synth_blocks 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/synth_blocks/drum/kick_drum.rb +3 -3
- data/lib/synth_blocks/drum/snare_drum.rb +9 -8
- 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: b3822db2dd2af4580090c97ded8db14ee9654daec87b10134785af9d94a915c3
|
4
|
+
data.tar.gz: 68a7879b69af50ee812cdcbb27ec642180f18b128fbb833f28c883aeb0c68517
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf35a91c3e6d073bdab7dd0e198371dd386899a56e96fb13d144bf0c271a3a9aff3890a67d178d81c5645d81f530f16aa38de596b27e8be137beb66b8124c8fa
|
7
|
+
data.tar.gz: d585dc04e7e58671a0942e51a5e2917e46ce265fb76f0f23905f19819de9683ffe42a736107ebc23e86265bc568c164fb69aa341b21824c509ec6082b90092bc
|
@@ -21,10 +21,10 @@ module SynthBlocks
|
|
21
21
|
super(sfreq, mode: :polyphonic)
|
22
22
|
@preset = {
|
23
23
|
pitch_attack: 0.001,
|
24
|
-
pitch_decay: 0.
|
24
|
+
pitch_decay: 0.02,
|
25
25
|
amp_attack: 0.001,
|
26
|
-
amp_decay: 0.
|
27
|
-
base_frequency:
|
26
|
+
amp_decay: 0.15,
|
27
|
+
base_frequency: 55,
|
28
28
|
pitch_mod: 200
|
29
29
|
}.merge(preset)
|
30
30
|
@oscillator = SynthBlocks::Core::Oscillator.new(@sampling_frequency)
|
@@ -23,19 +23,20 @@ module SynthBlocks
|
|
23
23
|
def initialize(sfreq, preset = {})
|
24
24
|
super(sfreq, mode: :polyphonic)
|
25
25
|
@preset = {
|
26
|
-
flt_frequency: 4000,
|
27
|
-
flt_envmod: 6000,
|
28
26
|
flt_attack: 0.001,
|
29
|
-
flt_decay: 0.1,
|
30
|
-
flt_Q: 2,
|
31
27
|
noise_amp_attack: 0.001,
|
32
|
-
noise_amp_decay: 0.15,
|
33
28
|
noise_vol: 0.5,
|
34
29
|
drum_vol: 0.3,
|
35
|
-
base_frequency: 200,
|
36
|
-
pitch_mod: 200,
|
37
|
-
pitch_decay: 0.07
|
38
30
|
|
31
|
+
base_frequency: 110,
|
32
|
+
pitch_mod: 440,
|
33
|
+
pitch_decay: 0.03,
|
34
|
+
amp_decay: 0.15,
|
35
|
+
flt_Q: 1.1,
|
36
|
+
flt_envmod: 2000,
|
37
|
+
flt_frequency: 7000,
|
38
|
+
flt_decay: 0.1,
|
39
|
+
noise_amp_decay: 0.2
|
39
40
|
}.merge(preset)
|
40
41
|
@drum = SynthBlocks::Drum::KickDrum.new(sfreq, @preset)
|
41
42
|
@filter = SynthBlocks::Core::StateVariableFilter.new(sfreq)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synth_blocks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Krutisch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|