class InevitableCacophony::Phrase

Attributes

notes[R]
tempo[R]

Public Class Methods

new(*notes, tempo: raise) click to toggle source

@param notes [Array<Note>] The notes to play (what you'd write on the bar lines, mostly) @param tempo [Numeric] Tempo in beats per minute.

# File lib/inevitable_cacophony/phrase.rb, line 9
def initialize(*notes, tempo: raise)
        @tempo = tempo
        @notes = notes
end