).innerHTML = val;
                volume = val;
            }

            function getSampleRate() {
                if (typeof Module === 'undefined') return;
                var sampleRate = Module._getSampleRate();
            }

            var isiOS = /iPad|iPhone|iPod|CriOS/.test(navigator.userAgent) && !window.MSStream;
            var isInitialized = false;
            var isAudioContextUnlocked = true;

            var htmlGreenLED  = "<div class=\"led-green\"></div>";
            var htmlRedLED 