music-transcription 0.17.0 → 0.17.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: 8585079e44d770cd9b479c84c0ecc3e9271cc024
4
- data.tar.gz: a8eb0336f24ddc38d6a4db9ef455cb257dbf0bdd
3
+ metadata.gz: f5a8173f71d182fdb10c274aa8aa4be1084313fc
4
+ data.tar.gz: 0ff97739c5721cdc104f627fe221b920e3f63f6f
5
5
  SHA512:
6
- metadata.gz: c2553a91e355ae72e6a8323e6bea35ee13e52d3bcd83b107d29e898bee273b4fcea220c1a3215df26e5ea563e310ce5b180f27d7fe18cde73e3adbc0d2b73b45
7
- data.tar.gz: 23e06712c82eb5dd92c4be0f77562ff2c3ed89ad6a2e2b6ce889194e7aa287c1a33b778c727a7c4d5c217defe2e6fcdc1e0da35e070a39d1337bb030d655af93
6
+ metadata.gz: 1f021993759bce36baeb58e0123a7ce74a2b3c6663a308b6fc02e78c643a0af666056406be5e847102b80729b938366c494669390bd152450e726b456238dc8a
7
+ data.tar.gz: d746f77a31bf4b795bfffaef789fdd4ba828bd9e29aede3fa305f31c52e7570401309e5b205bfa93d0646c9f50ca4d5853a156aeccaf4c6c3cfc32bb7aeb20db
data/examples/song2.rb CHANGED
@@ -18,7 +18,7 @@ score = Score.new(FOUR_FOUR, 120) do |s|
18
18
  end
19
19
 
20
20
  s.parts[3] = Part.new(Dynamics::MF) do |p|
21
- notes = notes("/8 /4G5 /2F5 /4 /4F5 /2Eb5 /4 /4Eb5 /2Eb5 /8 /2Eb5 /2F5")
21
+ p.notes = notes("/8 /4G5 /2F5 /4 /4F5 /2Eb5 /4 /4Eb5 /2Eb5 /8 /2Eb5 /2F5")
22
22
  end
23
23
  end
24
24
 
data/examples/song2.yml CHANGED
@@ -163,7 +163,143 @@ parts:
163
163
  start_dynamic: 0.625
164
164
  dynamic_changes: {}
165
165
  3: !ruby/object:Music::Transcription::Part
166
- notes: []
166
+ notes:
167
+ - !ruby/object:Music::Transcription::Note
168
+ duration: !ruby/object:Rational
169
+ denominator: 8
170
+ numerator: 1
171
+ pitches: []
172
+ articulation: :normal
173
+ accented: false
174
+ links: {}
175
+ - !ruby/object:Music::Transcription::Note
176
+ duration: !ruby/object:Rational
177
+ denominator: 4
178
+ numerator: 1
179
+ pitches:
180
+ - !ruby/object:Music::Transcription::Pitch
181
+ octave: 5
182
+ semitone: 7
183
+ cent: 0
184
+ total_cents: 6700
185
+ articulation: :normal
186
+ accented: false
187
+ links: {}
188
+ - !ruby/object:Music::Transcription::Note
189
+ duration: !ruby/object:Rational
190
+ denominator: 2
191
+ numerator: 1
192
+ pitches:
193
+ - !ruby/object:Music::Transcription::Pitch
194
+ octave: 5
195
+ semitone: 5
196
+ cent: 0
197
+ total_cents: 6500
198
+ articulation: :normal
199
+ accented: false
200
+ links: {}
201
+ - !ruby/object:Music::Transcription::Note
202
+ duration: !ruby/object:Rational
203
+ denominator: 4
204
+ numerator: 1
205
+ pitches: []
206
+ articulation: :normal
207
+ accented: false
208
+ links: {}
209
+ - !ruby/object:Music::Transcription::Note
210
+ duration: !ruby/object:Rational
211
+ denominator: 4
212
+ numerator: 1
213
+ pitches:
214
+ - !ruby/object:Music::Transcription::Pitch
215
+ octave: 5
216
+ semitone: 5
217
+ cent: 0
218
+ total_cents: 6500
219
+ articulation: :normal
220
+ accented: false
221
+ links: {}
222
+ - !ruby/object:Music::Transcription::Note
223
+ duration: !ruby/object:Rational
224
+ denominator: 2
225
+ numerator: 1
226
+ pitches:
227
+ - !ruby/object:Music::Transcription::Pitch
228
+ octave: 5
229
+ semitone: 3
230
+ cent: 0
231
+ total_cents: 6300
232
+ articulation: :normal
233
+ accented: false
234
+ links: {}
235
+ - !ruby/object:Music::Transcription::Note
236
+ duration: !ruby/object:Rational
237
+ denominator: 4
238
+ numerator: 1
239
+ pitches: []
240
+ articulation: :normal
241
+ accented: false
242
+ links: {}
243
+ - !ruby/object:Music::Transcription::Note
244
+ duration: !ruby/object:Rational
245
+ denominator: 4
246
+ numerator: 1
247
+ pitches:
248
+ - !ruby/object:Music::Transcription::Pitch
249
+ octave: 5
250
+ semitone: 3
251
+ cent: 0
252
+ total_cents: 6300
253
+ articulation: :normal
254
+ accented: false
255
+ links: {}
256
+ - !ruby/object:Music::Transcription::Note
257
+ duration: !ruby/object:Rational
258
+ denominator: 2
259
+ numerator: 1
260
+ pitches:
261
+ - !ruby/object:Music::Transcription::Pitch
262
+ octave: 5
263
+ semitone: 3
264
+ cent: 0
265
+ total_cents: 6300
266
+ articulation: :normal
267
+ accented: false
268
+ links: {}
269
+ - !ruby/object:Music::Transcription::Note
270
+ duration: !ruby/object:Rational
271
+ denominator: 8
272
+ numerator: 1
273
+ pitches: []
274
+ articulation: :normal
275
+ accented: false
276
+ links: {}
277
+ - !ruby/object:Music::Transcription::Note
278
+ duration: !ruby/object:Rational
279
+ denominator: 2
280
+ numerator: 1
281
+ pitches:
282
+ - !ruby/object:Music::Transcription::Pitch
283
+ octave: 5
284
+ semitone: 3
285
+ cent: 0
286
+ total_cents: 6300
287
+ articulation: :normal
288
+ accented: false
289
+ links: {}
290
+ - !ruby/object:Music::Transcription::Note
291
+ duration: !ruby/object:Rational
292
+ denominator: 2
293
+ numerator: 1
294
+ pitches:
295
+ - !ruby/object:Music::Transcription::Pitch
296
+ octave: 5
297
+ semitone: 5
298
+ cent: 0
299
+ total_cents: 6500
300
+ articulation: :normal
301
+ accented: false
302
+ links: {}
167
303
  start_dynamic: 0.625
168
304
  dynamic_changes: {}
169
305
  program: !ruby/object:Music::Transcription::Program
@@ -16,6 +16,6 @@ parts:
16
16
  start_dynamic: 0.625
17
17
  dynamic_changes: {}
18
18
  3:
19
- notes: ''
19
+ notes: /8 /4G5 /2F5 /4 /4F5 /2Eb5 /4 /4Eb5 /2Eb5 /8 /2Eb5 /2F5
20
20
  start_dynamic: 0.625
21
21
  dynamic_changes: {}
@@ -2,6 +2,6 @@
2
2
  module Music
3
3
  module Transcription
4
4
  # music-transcription version
5
- VERSION = "0.17.0"
5
+ VERSION = "0.17.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: music-transcription
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
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-26 00:00:00.000000000 Z
11
+ date: 2014-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler