Skip to content

Commit

Permalink
removing toFixed since output might be array
Browse files Browse the repository at this point in the history
  • Loading branch information
tambien committed Jul 26, 2020
1 parent 6b5daa7 commit a25fd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tone/component/analysis/Meter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface MeterOptions extends MeterBaseOptions {
* // connect mic to the meter
* mic.connect(meter);
* // the current level of the mic
* setInterval(() => console.log(meter.getValue().toFixed(2) + " db"), 100);
* setInterval(() => console.log(meter.getValue()), 100);
* @category Component
*/
export class Meter extends MeterBase<MeterOptions> {
Expand Down

0 comments on commit a25fd28

Please sign in to comment.