updating docs to UserMedia instead of Microphone

[skip ci]
This commit is contained in:
Yotam Mann 2017-01-08 15:58:58 -05:00
parent 285f6a0af4
commit 11d6da77cc
2 changed files with 2 additions and 2 deletions

View file

@ -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
*/

View file

@ -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