Skip to content
Tone.js

TimelineValue

internal class ↳ extends Tone

Represents a single value which is gettable and settable in a timed way

new TimelineValue(initialValue: Type)

Parameters

  • initialValue Type

    The value to return if there is no scheduled values

read-only

name: string

The name of the class

Default: "TimelineValue"

get(time: number): Type

Get the value at the given time

Parameters

  • time number

Returns Type

set(value: Type, time: number): this

Set the value at the given time

Parameters

  • value Type
  • time number

Returns this