Sha256: d2ec588a5b654897e0c3f45fa042874ca12df36cd5179c7a772148ab7f2a11d7

Contents?: true

Size: 234 Bytes

Versions: 31

Compression:

Stored size: 234 Bytes

Contents

class Numeric

  #:doc:
  #
  # +mtopch+: MIDI note to pitch class converter
  #
  # interprets its receiver as a MIDI note and returns its corresponing pitch class
  #
  #:nodoc:

  def mtopch

    (self - ZMP).semitopch

  end

end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
ruby-mext-0.21.6 lib/mext/numeric/mtopch.rb
ruby-mext-0.21.5 lib/mext/numeric/mtopch.rb
ruby-mext-0.21.4 lib/mext/numeric/mtopch.rb
ruby-mext-0.21.3 lib/mext/numeric/mtopch.rb
ruby-mext-0.21.2 lib/mext/numeric/mtopch.rb
ruby-mext-0.21.1 lib/mext/numeric/mtopch.rb
ruby-mext-0.21.0 lib/mext/numeric/mtopch.rb
ruby-mext-0.20.1 lib/mext/numeric/mtopch.rb
ruby-mext-0.20.0 lib/mext/numeric/mtopch.rb
ruby-mext-0.19.0 lib/mext/numeric/mtopch.rb
ruby-mext-0.18.3 lib/mext/numeric/mtopch.rb
ruby-mext-0.18.2 lib/mext/numeric/mtopch.rb
ruby-mext-0.18.1 lib/mext/numeric/mtopch.rb
ruby-mext-0.18.0 lib/mext/numeric/mtopch.rb
ruby-mext-0.17.0 lib/mext/numeric/mtopch.rb
ruby-mext-0.16.2 lib/mext/numeric/mtopch.rb
ruby-mext-0.16.1 lib/mext/numeric/mtopch.rb
ruby-mext-0.16.0 lib/mext/numeric/mtopch.rb
ruby-mext-0.15.3 lib/mext/numeric/mtopch.rb
ruby-mext-0.15.2 lib/mext/numeric/mtopch.rb