Sha256: 17951b04448052bf3fa88a9c35dbe2b4a974303c653f43e0897f98bd75aee113

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

require 'rspec'
require 'music-transcription'

include Music::Transcription
include Music::Transcription::Pitches

class Samples
  SAMPLE_PART = Part.new(
    Dynamics::P,
    notes: [
      Note::Quarter.new([ C1, D1 ]),
      Note::Quarter.new([ C2, D2 ]),
      Note::Whole.new([ C3, D3 ])
    ],
    dynamic_changes: {1.0 => Change::Immediate.new(Dynamics::MP)}
  )
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
music-transcription-0.7.1 spec/spec_helper.rb
music-transcription-0.7.0 spec/spec_helper.rb