music_theory 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c0a12e58d6e7753a000bad198c0470d692296b49
4
- data.tar.gz: 61836a453a80181bd3448d8a4eaeb0c790fe8682
3
+ metadata.gz: 2a5d519ace1b093d55f459520a9d7ed3558fec0b
4
+ data.tar.gz: 21c5654334a06e7aaca2997cc7bfec37c77715b7
5
5
  SHA512:
6
- metadata.gz: dc01cc1408d653b964b2821ff47cd946ecb921dbe233c4f4e5f2898b69c1cd372ea1608dcd73f5a48c0ef8b4d9dad9710dcb82f2802a98c26de0fa7a0ff07d36
7
- data.tar.gz: 205323367f84d29931f8d3b6ebef701c8f48647d8cc8a522800edd2e62770494fc2e92a0046d23b2ea56fa7c561fc5f282556da1e05735c1aafb5386448b984f
6
+ metadata.gz: 21096c8b9596fd01f847d0fdc054476b3a12c10982c0312d9f5ad542c3e3cdde557c7f5f0912aac3b9563c0c1a3c67f6bbc77a15647f78baf55a025f69cef142
7
+ data.tar.gz: 7973890652597a1ef13db3d7945bee252732f5b6049b678a0ea4ba56535501a56b8978d0fb723aa0f7907ba528ef06ab911ec652ea3784eda5b356219001f5c8
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # MusicTheory
2
2
 
3
- TODO: Write a gem description
3
+ Learn Music through Ruby!
4
+
5
+ Based on my presentation at MtnWest Ruby Conference. Slides/link to come.
4
6
 
5
7
  ## Installation
6
8
 
@@ -20,7 +22,56 @@ Or install it yourself as:
20
22
 
21
23
  ## Usage
22
24
 
23
- TODO: Write usage instructions here
25
+ Play any of the sample songs by running them with ruby
26
+
27
+ ```
28
+ ruby samples/arpeggios.rb
29
+ ```
30
+
31
+
32
+ ``` ruby
33
+ require 'music_theory'
34
+ ```
35
+ Make new notes
36
+
37
+ ```
38
+ MusicTheory::Note.new
39
+ ```
40
+
41
+ Play Notes
42
+
43
+ ```
44
+ MusicTheory::Note.new.play
45
+ ```
46
+
47
+ Create scales
48
+
49
+ ```
50
+ MusicTheory::Scale.new
51
+ ```
52
+
53
+ Play Scales
54
+
55
+ ```
56
+ MusicTheory::Scale.new.play
57
+ ```
58
+
59
+ Play chords
60
+ ```
61
+ MusicTheory::Scale.new.chord.play
62
+ ```
63
+
64
+ Play third
65
+ ```
66
+ MusicTheory::Scale.new.third.play
67
+ ```
68
+
69
+ Play arpeggios
70
+ ```
71
+ MusicTheory::Scale.new.arpeggio.play
72
+ ```
73
+
74
+
24
75
 
25
76
  ## Contributing
26
77
 
@@ -29,3 +80,9 @@ TODO: Write usage instructions here
29
80
  3. Commit your changes (`git commit -am 'Add some feature'`)
30
81
  4. Push to the branch (`git push origin my-new-feature`)
31
82
  5. Create a new Pull Request
83
+
84
+
85
+ ## Thanks
86
+
87
+ 1. URUG community
88
+ 2. Alex Speller (for indirect inspiration)
@@ -1,3 +1,3 @@
1
1
  module MusicTheory
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: music_theory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Eggett