Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (28 sloc) 1.62 KB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<input type="range" id="alpha" min="0.5" step="0.03" max="2" value="1" oninput="setAlpha(parseFloat(document.getElementById('alpha').value))" /><br/><br/>
<input type="text" id="position" value="0" />
<button type="button" onclick="setPosition(parseFloat(document.getElementById('position').value))" >Set position</button>
<br/><br/>
<button type="button" onclick="play()" >Play</button>
<button type="button" onclick="pause()" >Pause</button>
<button type="button" onclick="resetPVs()" >Reset Phase Vocoders</button>
<button type="button" onclick="resetPVs2()" >Reset Phase Vocoders 2</button>
<br/><br/>
<div id="filename"></div>
<div id="drop" style="padding: 30px; border-style: solid; border-width: 1px;">Drag & Drop <b>audio file</b> to load into the audio player</div>
<script type="text/javascript" src="jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="jensnockert-fft.js/lib/complex.js"></script>
<script type="text/javascript" src="jensnockert-fft.js/lib/real.js"></script>
<!--<script type="text/javascript" src="/web-worker-experiments/audio-worker-shim/build/audio-worker-shim.js"></script>
<script type="text/javascript" src="/web-worker-experiments/promise-decode-audio-data/build/promise-decode-audio-data.js"></script>-->
<script type="text/javascript" src="PV.js" ></script>
<script type="text/javascript" src="test.js" ></script>
</body>
</html>
You can’t perform that action at this time.