mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
latencyHint example
[skip ci]
This commit is contained in:
parent
13dcaf7676
commit
68ac2bb0da
1 changed files with 4 additions and 1 deletions
|
@ -385,9 +385,12 @@ define(["Tone/core/Tone", "Tone/signal/TimelineSignal", "Tone/core/TimelineState
|
|||
* "playback" (prioritizes sustained playback), "balanced" (balances
|
||||
* latency and performance), and "fastest" (lowest latency, might glitch more often).
|
||||
* @type {String|Seconds}
|
||||
* @memberOf Tone.Clock
|
||||
* @memberOf Tone.Clock#
|
||||
* @name latencyHint
|
||||
* @static
|
||||
* @example
|
||||
* //set the lookAhead to 0.3 seconds
|
||||
* Tone.Clock.latencyHint = 0.3;
|
||||
*/
|
||||
Object.defineProperty(Tone.Clock, "latencyHint", {
|
||||
get : function(){
|
||||
|
|
Loading…
Reference in a new issue