zgomot 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -188,6 +188,8 @@ An chord progression in a key of F# dorian at octave 5 with notes of half note l
188
188
  * <tt>inv!(number)</tt>: The inversion number. A value of zero will leave the chord unchanged, 1 is the first inversion and 2 is the second. Higher inversions just shift the chord to a higher octave.
189
189
  * <tt>rev!</tt>: Reverse the order in which the notes are played. Only noticeable if the chords in the progression are also arpeggiated.
190
190
 
191
+ Progressions internally are arrays of notes so all methods supported by the Ruby <tt>Array</tt> class are also supported.
192
+
191
193
  == Note Progressions
192
194
 
193
195
  Note Progressions are similar to chord progressions but are composed of notes instead of chords. Most of the options and transformation are the same. To define a Note Progression use,
@@ -215,6 +217,8 @@ An note progression in a key of F# dorian at octave 5 with notes of half note le
215
217
  * <tt>bpm!(bpm)</tt>: change the bits per minute at which the chord is played.
216
218
  * <tt>octave!(ocatve)</tt>: change the octave of all notes in the progression.
217
219
 
220
+ Progressions internally are arrays of notes so all methods supported by the Ruby <tt>Array</tt> class are also supported.
221
+
218
222
  == Patterns
219
223
 
220
224
  Patterns are heterogeneous arrays of notes, chords, Chord Progressions and Note Progressions. Operations applied to the pattern will be delegated to the appropriate elements of the pattern array. Patterns also support all methods supported by Ruby the <tt>Array</tt> class.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -49,7 +49,7 @@ module Zgomot::Midi
49
49
  pat.seq.each do |p|
50
50
  p.time = clock.current_time
51
51
  p.channel = number
52
- @pattern << p.clone
52
+ @pattern << Marshal.load(Marshal.dump(p))
53
53
  clock.update(p.length_to_sec)
54
54
  end; self
55
55
  end
data/zgomot.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{zgomot}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Troy Stribling"]
12
- s.date = %q{2010-12-01}
12
+ s.date = %q{2011-04-03}
13
13
  s.default_executable = %q{zgomot}
14
14
  s.email = %q{troy.stribling@gmail.com}
15
15
  s.executables = ["zgomot"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zgomot
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Troy Stribling
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-01 00:00:00 -05:00
18
+ date: 2011-04-03 00:00:00 -04:00
19
19
  default_executable: zgomot
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency