Chord

final case class Chord(notes: Seq[MusicElem]) extends MusicElem

Each instance of this class represents a combination of simultaneous Notes or other MusicElems.

Value parameters:
notes

the MusicElems that play simultanously in this chord

Companion:
object
trait Product
trait Equals
trait MusicElem
class Object
trait Matchable
class Any

Value members

Concrete methods

override def toString: String

Returns a string description of the note.

Returns a string description of the note.

Definition Classes

Inherited methods

Inherited from:
Product

Concrete fields

lazy val length: Int

the duration of the chord: how long it takes to play its longest element

the duration of the chord: how long it takes to play its longest element