[xiph-commits] r19032 - websites/opus-codec.org/examples
jm at svn.xiph.org
jm at svn.xiph.org
Wed Dec 4 12:40:54 PST 2013
Author: jm
Date: 2013-12-04 12:40:54 -0800 (Wed, 04 Dec 2013)
New Revision: 19032
Added:
websites/opus-codec.org/examples/sweep.wav
Modified:
websites/opus-codec.org/examples/index.shtml.en
Log:
Updates the sweep sample to 1.1 (also now uses a wav file)
Modified: websites/opus-codec.org/examples/index.shtml.en
===================================================================
--- websites/opus-codec.org/examples/index.shtml.en 2013-12-03 19:20:50 UTC (rev 19031)
+++ websites/opus-codec.org/examples/index.shtml.en 2013-12-04 20:40:54 UTC (rev 19032)
@@ -102,7 +102,7 @@
<tr>
<td colspan="3">
<br/>
- <center><audio id="sweepaudio" src="sweep.ogg" controls style="width:400px"></audio></center>
+ <center><audio id="sweepaudio" src="sweep.wav" controls style="width:400px"></audio></center>
</td>
</tr>
</table>
@@ -133,7 +133,7 @@
var stereo = document.getElementById("stereo");
var mono = document.getElementById("mono");
- if(time < 8.3) {
+ if(time < 6.14) {
stereo.style.display = "none";
mono.style.display = "";
} else {
@@ -143,16 +143,16 @@
}
var bandwidth = 4;
- if(time > 1.4) {
+ if(time > 1.06) {
bandwidth = 6;
}
- if(time > 3.8) {
+ if(time > 3.24) {
bandwidth = 8;
}
- if(time > 6.2) {
+ if(time > 4) {
bandwidth = 12;
}
- if(time > 10.6) {
+ if(time > 6.4) {
bandwidth = 20;
}
bandwidthGauge.setValue(bandwidth);
Added: websites/opus-codec.org/examples/sweep.wav
===================================================================
(Binary files differ)
Property changes on: websites/opus-codec.org/examples/sweep.wav
___________________________________________________________________
Added: svn:mime-type
+ audio/x-wav
More information about the commits
mailing list