music-performance 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a23852ba661480abbe444655624348721ebd9f04
4
- data.tar.gz: 9209a4b27ed5f8744c51c0de27bd4e64204a6c0a
3
+ metadata.gz: 9468f8a66527fdaeeef355fb3ad19ce0754fe6b8
4
+ data.tar.gz: 0bff795e2876dca20d18388738e5afa0b9708ca0
5
5
  SHA512:
6
- metadata.gz: a50ae08d84a58392556d5a6e6d42263e353776ad32aac0e940dff4bdba5a7ed49bd67374eaa5b26fefb1cf1411ce13213376872dce62958c9157ada234480c8e
7
- data.tar.gz: b332cd190bae9518cdb9510f9665dbaa24953d829dd30ea6357926528a408e98ea665a86db692182df0e611f4e8dd5038d1cc4970657d39ccbc24ff157987d8a
6
+ metadata.gz: 17a85f08eebcc023d37f700a3cae1c1eafdb74c8add03c4ef0e95dfe45c77579c69f7229a0ba5d01a584c6458dbcc23995026a418fad1821bafcd9067c428016
7
+ data.tar.gz: 8861077c21324f38ff4b9fa599aa85a171203a145335009b64b0163a19165cfdf1465b96d9d139a7088bb06f12119ddb56907bb8cf46e26230c4ba257d5a4590
@@ -109,7 +109,7 @@ class PartSequencer
109
109
 
110
110
  # Name the track and instrument
111
111
  track.name = part_name
112
- track.instrument = MIDI::GM_PATCH_NAMES[0]
112
+ track.instrument = MIDI::GM_PATCH_NAMES[program]
113
113
 
114
114
  # Add a volume controller event (optional).
115
115
  track.events << MIDI::Controller.new(channel, MIDI::CC_VOLUME, 127)
@@ -2,6 +2,6 @@
2
2
  module Music
3
3
  module Performance
4
4
  # music-performance version
5
- VERSION = "0.4.1"
5
+ VERSION = "0.4.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: music-performance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Tunnell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-31 00:00:00.000000000 Z
11
+ date: 2014-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler