O1Library Docs
Fall 2023
Docs API

# Pause

o1.sound.midi.Pause$
object Pause extends MusicElem

This object is a `MusicElem` that represents a short pause in the music.

## Attributes

Graph
Supertypes
  trait MusicElem
  class Object
  trait Matchable
  class Any
Self type
  Pause.type

## Members list

### Value members

#### Concrete methods

override def toString: String

Returns a string description of a pause.

Returns a string description of a pause.

## Attributes

Definition Classes
  Any

#### Concrete fields

val length: Int

The length of the pause is 2: twice the length of the shortest playable MIDI sound.

The length of the pause is 2: twice the length of the shortest playable MIDI sound.

## Attributes