mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
updating docs to UserMedia instead of Microphone
[skip ci]
This commit is contained in:
parent
285f6a0af4
commit
11d6da77cc
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ define(["Tone/core/Tone", "Tone/component/Follower", "Tone/signal/GreaterThan"],
|
|||
* @param {Time=} release The follower's release time
|
||||
* @example
|
||||
* var gate = new Tone.Gate(-30, 0.2, 0.3).toMaster();
|
||||
* var mic = new Tone.Microphone().connect(gate);
|
||||
* var mic = new Tone.UserMedia().connect(gate);
|
||||
* //the gate will only pass through the incoming
|
||||
* //signal when it's louder than -30db
|
||||
*/
|
||||
|
|
|
@ -13,7 +13,7 @@ define(["Tone/core/Tone", "Tone/component/Analyser"], function(Tone){
|
|||
* @param {Number} smoothing The amount of smoothing applied between frames.
|
||||
* @example
|
||||
* var meter = new Tone.Meter();
|
||||
* var mic = new Tone.Microphone().start();
|
||||
* var mic = new Tone.UserMedia().start();
|
||||
* //connect mic to the meter
|
||||
* mic.connect(meter);
|
||||
* //the current level of the mic input
|
||||
|
|
Loading…
Reference in a new issue