Chord

o1.sound.midi.Chord
See theChord companion object
final case class Chord(notes: Seq[MusicElem]) extends MusicElem

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

Parameters

notes

the MusicElems that play simultanously in this chord

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait MusicElem
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string description of the note.

Returns a string description of the note.

Attributes

Definition Classes
Any

Inherited methods

Attributes

Inherited from:
Product

Attributes

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

Attributes