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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/flex_core.rb +5 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 651728271e3bd235099ed3d055bb56bc7a9be820
4
- data.tar.gz: 28789fc609403e13586ea7705409b6a6c149784a
3
+ metadata.gz: 028da5cf9c8cf89dab3c69c5bf855aef93434975
4
+ data.tar.gz: 3084771cc65e9b843350c9d5177e501bd6bdfa15
5
5
  SHA512:
6
- metadata.gz: 8c96c141a585f88ce8e69a03942041622cca975db94d2992e857f6550df6495db9a71fdb99e7737b74b1297df0243ed52e93d30b7b537ebda5c37a88b3a8ee3e
7
- data.tar.gz: b8723e95195cdd5dddde2304599b643ed891ece1ecb3d5dad40e47f45e4132562fe54b98a445b3dfa2a7b338057f8eed521cc914c172e98f653e4f83ad92fa12
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.2)
56
- `play -n synth sin G3 sin D4 sin A sin E5 fade h 0.2 #{speed} 0.2`
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.8
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-17 00:00:00.000000000 Z
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