Music

object Music

This companion object of class Music provides additional options for creating Music objects.

Companion:
class
trait Product
trait Mirror
class Object
trait Matchable
class Any
Music.type

Type members

Inherited types

The names of the product elements

The names of the product elements

Inherited from:
Mirror

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def fromString(musicString: String): Music

Constructs a music object from the given string, which must follow the format specified in the package overview. An IllegalArgumentException is thrown if it doesn’t. (This is equivalent to parsing the string with parse.)

Constructs a music object from the given string, which must follow the format specified in the package overview. An IllegalArgumentException is thrown if it doesn’t. (This is equivalent to parsing the string with parse.)

Givens

Extensions

Extensions

extension (noteData: StringContext)
def music(embeddedBits: Any*): Music

Enables the creation of Music objects via literals such as music"cdefg".

Enables the creation of Music objects via literals such as music"cdefg".