mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
correcting spelling
This commit is contained in:
parent
dc8111665f
commit
8ed7a87b45
1 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ define(["Tone/core/Tone", "Tone/core/Buffer", "Tone/source/Source", "Tone/core/G
|
|||
if (this.curve === "linear"){
|
||||
this._gainNode.gain.linearRampToValueAtTime(this._gain, time + fadeInTime);
|
||||
} else {
|
||||
this._gainNode.gain.exponentialAppraochValueAtTime(this._gain, time, fadeInTime);
|
||||
this._gainNode.gain.exponentialApproachValueAtTime(this._gain, time, fadeInTime);
|
||||
}
|
||||
} else {
|
||||
this._gainNode.gain.setValueAtTime(gain, time);
|
||||
|
@ -273,7 +273,7 @@ define(["Tone/core/Tone", "Tone/core/Buffer", "Tone/source/Source", "Tone/core/G
|
|||
if (this.curve === "linear"){
|
||||
this._gainNode.gain.linearRampToValueAtTime(0, time);
|
||||
} else {
|
||||
this._gainNode.gain.exponentialAppraochValueAtTime(0, startFade, fadeOutTime);
|
||||
this._gainNode.gain.exponentialApproachValueAtTime(0, startFade, fadeOutTime);
|
||||
}
|
||||
} else {
|
||||
this._gainNode.gain.setValueAtTime(0, time);
|
||||
|
|
Loading…
Reference in a new issue