Sha256: a7d215ef8e071145a25477ff7c7667e2fd5097d6f7cc76ee68b13bf86ca1ea37

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

require 'rspec'
require 'music-transcription'

include Music::Transcription

class Samples
  SAMPLE_PART = Part.new(
    :notes => [
      Note.new(
        :duration => 0.25,
        :intervals => [
          Interval.new( :pitch => C1 ),
          Interval.new( :pitch => D1 ),
        ]
      )
    ],
    :loudness_profile => profile(
      0.5, {
        1.0 => linear_change(1.0, 2.0)
      }
    )
  )
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
music-transcription-0.3.0 spec/spec_helper.rb