flex_core 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flex_core.rb +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 028da5cf9c8cf89dab3c69c5bf855aef93434975
|
4
|
+
data.tar.gz: 3084771cc65e9b843350c9d5177e501bd6bdfa15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad0d907191bed02a99aff750e4c994109b3dbb223d8844ecd7a1abd8b726877c7e51c09e28362e7b175fd554c2bf89f6efd88a2e41e2a94136c6df8f4309d5c6
|
7
|
+
data.tar.gz: 1fa1c67d2bef8d5e4f8ef746ceea46b4a80d1e7953770898b59f07b9fe676dbbe5b524a87801c4d09faf818242d763e4a66efac80c53db4d5bc1382101a577f3
|
data/lib/flex_core.rb
CHANGED
@@ -52,8 +52,11 @@ module Kernel
|
|
52
52
|
`play -n synth 0.04 triangle #{tone}`
|
53
53
|
end
|
54
54
|
|
55
|
-
def strum (speed = 0.
|
56
|
-
`play -n synth sin G3
|
55
|
+
def strum (speed = 0.5)
|
56
|
+
`play -n synth 0.04 sin G3 fade h 0 #{speed} 0.1`
|
57
|
+
`play -n synth 0.04 sin D4 fade h 0 #{speed} 0.1`
|
58
|
+
`play -n synth 0.04 sin A fade h 0 #{speed} 0.1`
|
59
|
+
`play -n synth 0.04 sin E5 fade h 0 #{speed} 0.1`
|
57
60
|
end
|
58
61
|
|
59
62
|
def sputs (string, speed = 0.005)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flex_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugene Lai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: To do
|
14
14
|
email: ejt.lai@gmail.com
|