class String

Public Instance Methods

to_d()
Alias for: to_duration
to_ds(pattern=" ")
Alias for: to_durations
to_dur()
Alias for: to_duration
to_duration() click to toggle source
# File lib/music-transcription/parsing/convenience_methods.rb, line 43
def to_duration
  Music::Transcription::Duration.parse(self)
end
Also aliased as: to_dur, to_d
to_durations(pattern=" ") click to toggle source
# File lib/music-transcription/parsing/convenience_methods.rb, line 49
def to_durations pattern=" "
  Music::Transcription::Duration.split_parse(self, pattern)
end
Also aliased as: to_durs, to_ds
to_durs(pattern=" ")
Alias for: to_durations
to_meter() click to toggle source
# File lib/music-transcription/parsing/convenience_methods.rb, line 75
def to_meter
  Music::Transcription::Meter.parse(self)
end
to_n()
Alias for: to_note
to_note() click to toggle source
# File lib/music-transcription/parsing/convenience_methods.rb, line 65
def to_note
  Music::Transcription::Note.parse(self)
end
Also aliased as: to_n
to_notes(pattern=" ") click to toggle source
# File lib/music-transcription/parsing/convenience_methods.rb, line 70
def to_notes pattern=" "
  Music::Transcription::Note.split_parse(self, pattern)
end
Also aliased as: to_ns
to_ns(pattern=" ")
Alias for: to_notes
to_p()
Alias for: to_pitch
to_pitch() click to toggle source
# File lib/music-transcription/parsing/convenience_methods.rb, line 55
def to_pitch 
  Music::Transcription::Pitch.parse(self)
end
Also aliased as: to_p
to_pitches(pattern=" ") click to toggle source
# File lib/music-transcription/parsing/convenience_methods.rb, line 60
def to_pitches pattern=" "
  Music::Transcription::Pitch.split_parse(self, pattern)
end
Also aliased as: to_ps
to_ps(pattern=" ")
Alias for: to_pitches
to_segment() click to toggle source
# File lib/music-transcription/parsing/convenience_methods.rb, line 79
def to_segment
  Music::Transcription::Segment.parse(self)
end