()
| 691 | |
| 692 | |
| 693 | var main_Main = function Main() { |
| 694 | _classCallCheck(this, Main); |
| 695 | |
| 696 | this.input = audiocontext["a" ].createGain(); |
| 697 | this.output = audiocontext["a" ].createGain(); |
| 698 | |
| 699 | this.limiter = audiocontext["a" ].createDynamicsCompressor(); |
| 700 | this.limiter.threshold.value = -3; |
| 701 | this.limiter.ratio.value = 20; |
| 702 | this.limiter.knee.value = 1; |
| 703 | this.audiocontext = audiocontext["a" ]; |
| 704 | this.output.disconnect(); |
| 705 | |
| 706 | this.input.connect(this.limiter); |
| 707 | |
| 708 | this.limiter.connect(this.output); |
| 709 | |
| 710 | this.meter = audiocontext["a" ].createGain(); |
| 711 | this.fftMeter = audiocontext["a" ].createGain(); |
| 712 | this.output.connect(this.meter); |
| 713 | this.output.connect(this.fftMeter); |
| 714 | |
| 715 | this.output.connect(this.audiocontext.destination); |
| 716 | |
| 717 | this.soundArray = []; |
| 718 | |
| 719 | this.parts = []; |
| 720 | |
| 721 | this.extensions = []; |
| 722 | }; |
| 723 | |
| 724 | |
| 725 | var p5sound = new main_Main(); |
nothing calls this directly
no test coverage detected