-
fadeTo(value, time)
-
Parameters:
Name |
Type |
Description |
value |
number
|
|
time |
Tone.Time
|
(relative to 'now') |
- Source:
-
notationToSeconds(notation, bpm, timeSignature) → {number}
-
convert notation format strings to seconds
Parameters:
Name |
Type |
Argument |
Description |
notation |
string
|
|
|
bpm |
number
|
<optional>
|
|
timeSignature |
number
|
<optional>
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
number
-
<abstract> pause(time)
-
Parameters:
Name |
Type |
Description |
time |
Tone.Time
|
|
- Source:
-
receive(channelName)
-
recieve the input from the desired channelName to the input gain of 'this' node.
Parameters:
Name |
Type |
Description |
channelName |
string
|
|
- Inherited From:
- Source:
-
send(channelName, amount) → {GainNode}
-
send signal to a channel name
Parameters:
Name |
Type |
Description |
channelName |
string
|
|
amount |
number
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
GainNode
-
setVolume(value)
-
Parameters:
Name |
Type |
Description |
value |
number
|
|
- Source:
-
<abstract> start(time)
-
Parameters:
Name |
Type |
Description |
time |
Tone.Time
|
|
- Source:
-
<abstract> stop(time)
-
Parameters:
Name |
Type |
Description |
time |
Tone.Time
|
|
- Source:
-
toFrequency(time) → {number}
-
convert a time to a frequency
Parameters:
Name |
Type |
Description |
time |
Tone.Time
|
|
- Inherited From:
- Source:
Returns:
the time in hertz
-
Type
-
number
-
toSeconds(time, bpm, timeSignature)
-
convert Tone.Time into seconds
unlike the method which it overrides, this takes into account
transporttime and musical notation
Parameters:
Name |
Type |
Argument |
Description |
time |
Tone.Time
|
|
|
bpm |
number
|
<optional>
|
|
timeSignature |
number
|
<optional>
|
|
- Inherited From:
- Source:
-
toTransportTime(seconds, bpm, timeSignature) → {string}
-
Convert seconds to the closest transportTime in the form
measures:quarters:sixteenths
Parameters:
Name |
Type |
Argument |
Description |
seconds |
Tone.Time
|
|
|
bpm |
number
|
<optional>
|
|
timeSignature |
number
|
<optional>
|
|
- Inherited From:
- Source:
Returns:
-
Type
-
string
-
transportTimeToSeconds(transportTime, bpm, timeSignature) → {number}
-
convert transportTime into seconds
i.e.:
4:2:3 == 4 measures + 2 quarters + 3 sixteenths
Parameters:
Name |
Type |
Argument |
Description |
transportTime |
string
|
|
|
bpm |
number
|
<optional>
|
|
timeSignature |
number
|
<optional>
|
|
- Inherited From:
- Source:
Returns:
seconds
-
Type
-
number