forked from overtone/overtone.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demos.html
67 lines (48 loc) · 1.84 KB
/
demos.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!-- include SM2 library -->
<!-- required -->
<link rel="stylesheet" type="text/css" href="/style/inlineplayer.css" />
<link rel="stylesheet" type="text/css" href="/style/360player.css" />
<link rel="stylesheet" type="text/css" href="/style/360player-visualization.css" />
<!--[if IE]><script type="text/javascript"
src="script/excanvas.js"></script><![endif]-->
<script type="text/javascript" src="/js/berniecode-animator.js"></script>
<script type="text/javascript" src="/js/soundmanager2.js"></script>
<script type="text/javascript" src="/js/360player.js"></script>
<script type="text/javascript" src="/js/inlineplayer.js"></script>
<!-- configure it for your use -->
<script type="text/javascript">
soundManager.url = '/swf/'; // directory where SM2 .SWFs live
// soundManager.useHTML5Audio = true;
/*
soundManager.onload = function() {
soundManager.createSound('jam','/media/jam.mp3');
soundManager.play('jam');
};
*/
soundManager.useFastPolling = true; // increased JS callback frequency, combined useHighPerformance = true
threeSixtyPlayer.config.scaleFont = (navigator.userAgent.match(/msie/i)?false:true);
threeSixtyPlayer.config.showHMSTime = true;
threeSixtyPlayer.config.useWaveformData = true;
threeSixtyPlayer.config.useEQData = true;
if (threeSixtyPlayer.config.useWaveformData) {
soundManager.flash9Options.useWaveformData = true;
}
if (threeSixtyPlayer.config.useEQData) {
soundManager.flash9Options.useEQData = true;
}
if (threeSixtyPlayer.config.usePeakData) {
soundManager.flash9Options.usePeakData = true;
}
threeSixtyPlayer.config.useFavIcon = false;
</script>
<div id="sm2-container"></div>
<h3>Demo Sounds</h3>
<div>
<div class="ui360 ui360-vis">
<a href="/media/jam.mp3">jam</a>
</div>
</div>
<ul>
<li><a href="/media/808.mp3">TR-808</a></li>
<li><a href="/media/numbers.mp3">numbers</a></li>
</ul>