forked from andigamesandmusic/Reverb.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1224 lines (1122 loc) · 108 KB
/
index.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Reverb.js</title>
<!-- Disable word wrapping for best readability -->
<link href="data:image/x-icon;base64,AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAEAAAAAAAAAAAAAAAEAAAAAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" rel="icon" type="image/x-icon" />
<style>
/*! The MIT License (MIT)
Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
https://github.com/sindresorhus/github-markdown-css */
@font-face {font-family: icon-anchor; src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAYcAA0AAAAACjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAca8vGTk9TLzIAAAFMAAAARAAAAFZG1VHVY21hcAAAAZAAAAA+AAABQgAP9AdjdnQgAAAB0AAAAAQAAAAEACICiGdhc3AAAAHUAAAACAAAAAj//wADZ2x5ZgAAAdwAAADRAAABEKyikaNoZWFkAAACsAAAAC0AAAA2AtXoA2hoZWEAAALgAAAAHAAAACQHngNFaG10eAAAAvwAAAAQAAAAEAwAACJsb2NhAAADDAAAAAoAAAAKALIAVG1heHAAAAMYAAAAHwAAACABEAB2bmFtZQAAAzgAAALBAAAFu3I9x/Nwb3N0AAAF/AAAAB0AAAAvaoFvbwAAAAEAAAAAzBdyYwAAAADP2IQvAAAAAM/bz7t4nGNgZGFgnMDAysDB1Ml0hoGBoR9CM75mMGLkYGBgYmBlZsAKAtJcUxgcPsR8iGF2+O/AEMPsznAYKMwIkgMA5REMOXicY2BgYGaAYBkGRgYQsAHyGMF8FgYFIM0ChED+h5j//yEk/3KoSgZGNgYYk4GRCUgwMaACRoZhDwCs7QgGAAAAIgKIAAAAAf//AAJ4nHWMMQrCQBBF/0zWrCCIKUQsTDCL2EXMohYGSSmorScInsRGL2DOYJe0Ntp7BK+gJ1BxF1stZvjz/v8DRghQzEc4kIgKwiAppcA9LtzKLSkdNhKFY3HF4lK69ExKslx7Xa+vPRVS43G98vG1DnkDMIBUgFN0MDXflU8tbaZOUkXUH0+U27RoRpOIyCKjbMCVejwypzJJG4jIwb43rfl6wbwanocrJm9XFYfskuVC5K/TPyczNU7b84CXcbxks1Un6H6tLH9vf2LRnn8Ax7A5WQAAAHicY2BkYGAA4teL1+yI57f5ysDNwgAC529f0kOmWRiYVgEpDgYmEA8AUzEKsQAAAHicY2BkYGB2+O/AEMPCAAJAkpEBFbAAADgKAe0EAAAiAAAAAAQAAAAEAAAAAAAAKgAqACoAiAAAeJxjYGRgYGBhsGFgYgABEMkFhAwM/xn0QAIAD6YBhwB4nI1Ty07cMBS9QwKlQapQW3VXySvEqDCZGbGaHULiIQ1FKgjWMxknMfLEke2A+IJu+wntrt/QbVf9gG75jK577Lg8K1qQPCfnnnt8fX1NRC/pmjrk/zprC+8D7tBy9DHgBXoWfQ44Av8t4Bj4Z8CLtBL9CniJluPXASf0Lm4CXqFX8Q84dOLnMB17N4c7tBo1AS/Qi+hTwBH4rwHHwN8DXqQ30XXAS7QaLwSc0Gn8NuAVWou/gFmnjLrEaEh9GmDdDGgL3B4JsrRPDU2hTOiMSuJUIdKQQayiAth69r6akSSFqIJuA19TrzCIaY8sIoxyrNIrL//pw7A2iMygkX5vDj+G+kuoLdX4GlGK/8Lnlz6/h9MpmoO9rafrz7ILXEHHaAx95s9lsI7AHNMBWEZHULnfAXwG9/ZqdzLI08iuwRloXE8kfhXYAvE23+23DU3t626rbs8/8adv+9DWknsHp3E17oCf+Z48rvEQNZ78paYM38qfk3v/u3l3u3GXN2Dmvmvpf1Srwk3pB/VSsp512bA/GG5i2WJ7wu430yQ5K3nFGiOqgtmSB5pJVSizwaacmUZzZhXLlZTq8qGGFY2YcSkqbth6aW1tRmlaCFs2016m5qn36SbJrqosG4uMV4aP2PHBmB3tjtmgN2izkGQyLWprekbIntJFing32a5rKWCN/SdSoga45EJykyQ7asZvHQ8PTm6cslIpwyeyjbVltNikc2HTR7YKh9LBl9DADC0U/jLcBZDKrMhUBfQBvXRzLtFtjU9eNHKin0x5InTqb8lNpfKv1s1xHzTXRqgKzek/mb7nB8RZTCDhGEX3kK/8Q75AmUM/eLkfA+0Hi908Kx4eNsMgudg5GLdRD7a84npi+YxNr5i5KIbW5izXas7cHXIMAau1OueZhfj+cOcP3P8MNIWLyYOBuxL6DRylJ4cAAAB4nGNgYoAALjDJyIAOWMCiTIxMLDmZedkABtIBygAAAA==) format('woff');}
.markdown-body hr:after,.markdown-body hr:before{display:table;content:""}.markdown-body{-webkit-text-size-adjust:100%;text-size-adjust:100%;color:#333;font-family:"Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:16px;line-height:1.6;word-wrap:break-word;box-sizing:border-box;min-width:200px;max-width:980px;margin:0 auto;padding:45px}.markdown-body ol,.markdown-body td,.markdown-body th,.markdown-body ul{padding:0}.markdown-body strong{font-weight:700}.markdown-body h1{margin:.67em 0}.markdown-body img{border:0}.markdown-body hr{box-sizing:content-box}.markdown-body input{color:inherit;margin:0;line-height:normal;font:13px/1.4 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}.markdown-body html input[disabled]{cursor:default}.markdown-body input[type=checkbox]{box-sizing:border-box;padding:0}.markdown-body *{box-sizing:border-box}.markdown-body a{background-color:transparent;color:#4078c0;text-decoration:none}.markdown-body a:active,.markdown-body a:hover{outline:0;text-decoration:underline}.markdown-body hr:after{clear:both}.markdown-body blockquote{margin:0}.markdown-body h1,.markdown-body h2{padding-bottom:.3em;border-bottom:1px solid #eee}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body code{font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace}.markdown-body pre{font:12px Consolas,"Liberation Mono",Menlo,Courier,monospace;word-wrap:normal}.markdown-body .select::-ms-expand{opacity:0}.markdown-body .octicon{font:normal normal normal 16px/1 icon-anchor;display:inline-block;text-decoration:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-body .octicon-link:before{content:'\f05c'}.markdown-body>:first-child{margin-top:0!important}.markdown-body>:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .anchor{display:inline-block;padding-right:2px;margin-left:-18px}.markdown-body .anchor:focus{outline:0}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:1em;margin-bottom:16px;font-weight:700;line-height:1.4}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:#000;vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1{font-size:2.25em;line-height:1.2}.markdown-body h1 .anchor{line-height:1}.markdown-body h2{font-size:1.75em;line-height:1.225}.markdown-body h2 .anchor{line-height:1}.markdown-body h3{font-size:1.5em;line-height:1.43}.markdown-body h3 .anchor,.markdown-body h4 .anchor{line-height:1.2}.markdown-body h4{font-size:1.25em}.markdown-body h5 .anchor,.markdown-body h6 .anchor{line-height:1.1}.markdown-body h5{font-size:1em}.markdown-body h6{font-size:1em;color:#777}.markdown-body blockquote,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul{margin-top:0;margin-bottom:16px}.markdown-body hr{overflow:hidden;background:#e7e7e7;height:4px;padding:0;margin:16px 0;border:0}.markdown-body ol,.markdown-body ul{padding-left:2em}.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:700}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body blockquote{padding:0 15px;color:#777;border-left:4px solid #ddd}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body table{border-collapse:collapse;border-spacing:0;display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all}.markdown-body table th{font-weight:700}.markdown-body table td,.markdown-body table th{padding:6px 13px;border:1px solid #ddd}.markdown-body table tr{background-color:#fff;border-top:1px solid #ccc}.markdown-body table tr:nth-child(2n){background-color:#f8f8f8}.markdown-body img{max-width:100%;box-sizing:content-box;background-color:#fff}.markdown-body code{padding:.2em 0;margin:0;font-size:85%;background-color:rgba(0,0,0,.04);border-radius:3px}.markdown-body code:after,.markdown-body code:before{letter-spacing:-.2em;content:"\00a0"}.markdown-body pre>code{padding:0;margin:0;font-size:100%;word-break:normal;white-space:pre;background:0 0;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:#272821;border-radius:3px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body pre code{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body pre code:after,.markdown-body pre code:before{content:normal}.markdown-body .pl-c{color:#969896}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:#0086b3}.markdown-body .pl-e,.markdown-body .pl-en{color:#795da3}.markdown-body .pl-s .pl-s1,.markdown-body .pl-smi{color:#333}.markdown-body .pl-ent{color:#63a35c}.markdown-body .pl-k{color:#a71d5d}.markdown-body .pl-pds,.markdown-body .pl-s,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sra,.markdown-body .pl-sr .pl-sre{color:#183691}.markdown-body .pl-v{color:#ed6a43}.markdown-body .pl-id{color:#b52a1d}.markdown-body .pl-ii{background-color:#b52a1d;color:#f8f8f8}.markdown-body .pl-sr .pl-cce{color:#63a35c;font-weight:700}.markdown-body .pl-ml{color:#693a17}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{color:#1d3e81;font-weight:700}.markdown-body .pl-mq{color:teal}.markdown-body .pl-mi{color:#333;font-style:italic}.markdown-body .pl-mb{color:#333;font-weight:700}.markdown-body .pl-md{background-color:#ffecec;color:#bd2c00}.markdown-body .pl-mi1{background-color:#eaffea;color:#55a532}.markdown-body .pl-mdr{color:#795da3;font-weight:700}.markdown-body .pl-mo{color:#1d3e81}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px Consolas,"Liberation Mono",Menlo,Courier,monospace;line-height:10px;color:#555;vertical-align:middle;background-color:#fcfcfc;border:1px solid #ccc;border-bottom-color:#bbb;border-radius:3px;box-shadow:inset 0 -1px 0 #bbb}.markdown-body:after,.markdown-body:before{display:table;content:""}.markdown-body:after{clear:both}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item+.task-list-item{margin-top:3px}.markdown-body .task-list-item input{margin:0 .35em .25em -1.6em;vertical-align:middle}.markdown-body :checked+.radio-label{z-index:1;position:relative;border-color:#4078c0}
/*! Monokai Sublime style. Derived from Monokai by noformnocontent
http://nn.mit-license.org/ */
.hljs{display:block;overflow-x:auto;padding:.5em;background:#23241f}.hljs,.hljs-subst,.hljs-tag{color:#f8f8f2}.hljs-emphasis,.hljs-strong{color:#a8a8a2}.hljs-bullet,.hljs-link,.hljs-literal,.hljs-number,.hljs-quote,.hljs-regexp{color:#ae81ff}.hljs-code,.hljs-section,.hljs-selector-class,.hljs-title{color:#a6e22e}.hljs-strong{font-weight:700}.hljs-emphasis{font-style:italic}.hljs-attr,.hljs-keyword,.hljs-name,.hljs-selector-tag{color:#f92672}.hljs-attribute,.hljs-symbol{color:#66d9ef}.hljs-class .hljs-title,.hljs-params{color:#f8f8f2}.hljs-addition,.hljs-built_in,.hljs-builtin-name,.hljs-selector-attr,.hljs-selector-id,.hljs-selector-pseudo,.hljs-string,.hljs-template-variable,.hljs-type,.hljs-variable{color:#e6db74}.hljs-comment,.hljs-deletion,.hljs-meta{color:#75715e}
/*! "Fork me on GitHub" CSS ribbon v0.1.1 | MIT License
https://github.com/simonwhitaker/github-fork-ribbon-css */
.github-fork-ribbon{position:absolute;padding:2px 0;background-color:#a00;background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,0)),to(rgba(0,0,0,.15)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,.15));background-image:-moz-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,.15));background-image:-ms-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,.15));background-image:-o-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,.15));background-image:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.15));-webkit-box-shadow:0 2px 3px 0 rgba(0,0,0,.5);-moz-box-shadow:0 2px 3px 0 rgba(0,0,0,.5);box-shadow:0 2px 3px 0 rgba(0,0,0,.5);font:700 13px "Helvetica Neue",Helvetica,Arial,sans-serif;z-index:9999;pointer-events:auto}.github-fork-ribbon a,.github-fork-ribbon a:hover{color:#fff;text-decoration:none;text-shadow:0 -1px rgba(0,0,0,.5);text-align:center;width:200px;line-height:20px;display:inline-block;padding:2px 0;border-width:1px 0;border-style:dotted;border-color:#fff;border-color:rgba(255,255,255,.7)}.github-fork-ribbon-wrapper{width:150px;height:150px;position:absolute;overflow:hidden;top:0;z-index:9999;pointer-events:none}.github-fork-ribbon-wrapper.fixed{position:fixed}.github-fork-ribbon-wrapper.left{left:0}.github-fork-ribbon-wrapper.right{right:0}.github-fork-ribbon-wrapper.left-bottom{position:fixed;top:inherit;bottom:0;left:0}.github-fork-ribbon-wrapper.right-bottom{position:fixed;top:inherit;bottom:0;right:0}.github-fork-ribbon-wrapper.right .github-fork-ribbon{top:42px;right:-43px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.github-fork-ribbon-wrapper.left .github-fork-ribbon{top:42px;left:-43px;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg)}.github-fork-ribbon-wrapper.left-bottom .github-fork-ribbon{top:80px;left:-43px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.github-fork-ribbon-wrapper.right-bottom .github-fork-ribbon{top:80px;right:-43px;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg)}
</style>
<script type="text/javascript">
/*! highlight.js v9.0.0 | BSD3 License | git.io/hljslicense */
!function(e){"undefined"!=typeof exports?e(exports):(self.hljs=e({}),"function"==typeof define&&define.amd&&define("hljs",[],function(){return self.hljs}))}(function(e){function n(e){return e.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">")}function t(e){return e.nodeName.toLowerCase()}function r(e,n){var t=e&&e.exec(n);return t&&0==t.index}function a(e){return/^(no-?highlight|plain|text)$/i.test(e)}function i(e){var n,t,r,i=e.className+" ";if(i+=e.parentNode?e.parentNode.className:"",t=/\blang(?:uage)?-([\w-]+)\b/i.exec(i))return E(t[1])?t[1]:"no-highlight";for(i=i.split(/\s+/),n=0,r=i.length;r>n;n++)if(E(i[n])||a(i[n]))return i[n]}function o(e,n){var t,r={};for(t in e)r[t]=e[t];if(n)for(t in n)r[t]=n[t];return r}function u(e){var n=[];return function r(e,a){for(var i=e.firstChild;i;i=i.nextSibling)3==i.nodeType?a+=i.nodeValue.length:1==i.nodeType&&(n.push({event:"start",offset:a,node:i}),a=r(i,a),t(i).match(/br|hr|img|input/)||n.push({event:"stop",offset:a,node:i}));return a}(e,0),n}function c(e,r,a){function i(){return e.length&&r.length?e[0].offset!=r[0].offset?e[0].offset<r[0].offset?e:r:"start"==r[0].event?e:r:e.length?e:r}function o(e){function r(e){return" "+e.nodeName+'="'+n(e.value)+'"'}l+="<"+t(e)+Array.prototype.map.call(e.attributes,r).join("")+">"}function u(e){l+="</"+t(e)+">"}function c(e){("start"==e.event?o:u)(e.node)}for(var s=0,l="",f=[];e.length||r.length;){var g=i();if(l+=n(a.substr(s,g[0].offset-s)),s=g[0].offset,g==e){f.reverse().forEach(u);do c(g.splice(0,1)[0]),g=i();while(g==e&&g.length&&g[0].offset==s);f.reverse().forEach(o)}else"start"==g[0].event?f.push(g[0].node):f.pop(),c(g.splice(0,1)[0])}return l+n(a.substr(s))}function s(e){function n(e){return e&&e.source||e}function t(t,r){return new RegExp(n(t),"m"+(e.cI?"i":"")+(r?"g":""))}function r(a,i){if(!a.compiled){if(a.compiled=!0,a.k=a.k||a.bK,a.k){var u={},c=function(n,t){e.cI&&(t=t.toLowerCase()),t.split(" ").forEach(function(e){var t=e.split("|");u[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof a.k?c("keyword",a.k):Object.keys(a.k).forEach(function(e){c(e,a.k[e])}),a.k=u}a.lR=t(a.l||/\b\w+\b/,!0),i&&(a.bK&&(a.b="\\b("+a.bK.split(" ").join("|")+")\\b"),a.b||(a.b=/\B|\b/),a.bR=t(a.b),a.e||a.eW||(a.e=/\B|\b/),a.e&&(a.eR=t(a.e)),a.tE=n(a.e)||"",a.eW&&i.tE&&(a.tE+=(a.e?"|":"")+i.tE)),a.i&&(a.iR=t(a.i)),void 0===a.r&&(a.r=1),a.c||(a.c=[]);var s=[];a.c.forEach(function(e){e.v?e.v.forEach(function(n){s.push(o(e,n))}):s.push("self"==e?a:e)}),a.c=s,a.c.forEach(function(e){r(e,a)}),a.starts&&r(a.starts,i);var l=a.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([a.tE,a.i]).map(n).filter(Boolean);a.t=l.length?t(l.join("|"),!0):{exec:function(){return null}}}}r(e)}function l(e,t,a,i){function o(e,n){for(var t=0;t<n.c.length;t++)if(r(n.c[t].bR,e))return n.c[t]}function u(e,n){if(r(e.eR,n)){for(;e.endsParent&&e.parent;)e=e.parent;return e}return e.eW?u(e.parent,n):void 0}function c(e,n){return!a&&r(n.iR,e)}function g(e,n){var t=N.cI?n[0].toLowerCase():n[0];return e.k.hasOwnProperty(t)&&e.k[t]}function h(e,n,t,r){var a=r?"":x.classPrefix,i='<span class="'+a,o=t?"":"</span>";return i+=e+'">',i+n+o}function p(){if(!L.k)return n(M);var e="",t=0;L.lR.lastIndex=0;for(var r=L.lR.exec(M);r;){e+=n(M.substr(t,r.index-t));var a=g(L,r);a?(B+=a[1],e+=h(a[0],n(r[0]))):e+=n(r[0]),t=L.lR.lastIndex,r=L.lR.exec(M)}return e+n(M.substr(t))}function d(){var e="string"==typeof L.sL;if(e&&!R[L.sL])return n(M);var t=e?l(L.sL,M,!0,y[L.sL]):f(M,L.sL.length?L.sL:void 0);return L.r>0&&(B+=t.r),e&&(y[L.sL]=t.top),h(t.language,t.value,!1,!0)}function b(){return void 0!==L.sL?d():p()}function v(e,t){var r=e.cN?h(e.cN,"",!0):"";e.rB?(k+=r,M=""):e.eB?(k+=n(t)+r,M=""):(k+=r,M=t),L=Object.create(e,{parent:{value:L}})}function m(e,t){if(M+=e,void 0===t)return k+=b(),0;var r=o(t,L);if(r)return k+=b(),v(r,t),r.rB?0:t.length;var a=u(L,t);if(a){var i=L;i.rE||i.eE||(M+=t),k+=b();do L.cN&&(k+="</span>"),B+=L.r,L=L.parent;while(L!=a.parent);return i.eE&&(k+=n(t)),M="",a.starts&&v(a.starts,""),i.rE?0:t.length}if(c(t,L))throw new Error('Illegal lexeme "'+t+'" for mode "'+(L.cN||"<unnamed>")+'"');return M+=t,t.length||1}var N=E(e);if(!N)throw new Error('Unknown language: "'+e+'"');s(N);var w,L=i||N,y={},k="";for(w=L;w!=N;w=w.parent)w.cN&&(k=h(w.cN,"",!0)+k);var M="",B=0;try{for(var C,j,I=0;;){if(L.t.lastIndex=I,C=L.t.exec(t),!C)break;j=m(t.substr(I,C.index-I),C[0]),I=C.index+j}for(m(t.substr(I)),w=L;w.parent;w=w.parent)w.cN&&(k+="</span>");return{r:B,value:k,language:e,top:L}}catch(O){if(-1!=O.message.indexOf("Illegal"))return{r:0,value:n(t)};throw O}}function f(e,t){t=t||x.languages||Object.keys(R);var r={r:0,value:n(e)},a=r;return t.forEach(function(n){if(E(n)){var t=l(n,e,!1);t.language=n,t.r>a.r&&(a=t),t.r>r.r&&(a=r,r=t)}}),a.language&&(r.second_best=a),r}function g(e){return x.tabReplace&&(e=e.replace(/^((<[^>]+>|\t)+)/gm,function(e,n){return n.replace(/\t/g,x.tabReplace)})),x.useBR&&(e=e.replace(/\n/g,"<br>")),e}function h(e,n,t){var r=n?w[n]:t,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(r)&&a.push(r),a.join(" ").trim()}function p(e){var n=i(e);if(!a(n)){var t;x.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):t=e;var r=t.textContent,o=n?l(n,r,!0):f(r),s=u(t);if(s.length){var p=document.createElementNS("http://www.w3.org/1999/xhtml","div");p.innerHTML=o.value,o.value=c(s,u(p),r)}o.value=g(o.value),e.innerHTML=o.value,e.className=h(e.className,n,o.language),e.result={language:o.language,re:o.r},o.second_best&&(e.second_best={language:o.second_best.language,re:o.second_best.r})}}function d(e){x=o(x,e)}function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("pre code");Array.prototype.forEach.call(e,p)}}function v(){addEventListener("DOMContentLoaded",b,!1),addEventListener("load",b,!1)}function m(n,t){var r=R[n]=t(e);r.aliases&&r.aliases.forEach(function(e){w[e]=n})}function N(){return Object.keys(R)}function E(e){return e=(e||"").toLowerCase(),R[e]||R[w[e]]}var x={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},R={},w={};return e.highlight=l,e.highlightAuto=f,e.fixMarkup=g,e.highlightBlock=p,e.configure=d,e.initHighlighting=b,e.initHighlightingOnLoad=v,e.registerLanguage=m,e.listLanguages=N,e.getLanguage=E,e.inherit=o,e.IR="[a-zA-Z]\\w*",e.UIR="[a-zA-Z_]\\w*",e.NR="\\b\\d+(\\.\\d+)?",e.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BNR="\\b(0b[01]+)",e.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BE={b:"\\\\[\\s\\S]",r:0},e.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[e.BE]},e.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[e.BE]},e.PWM={b:/\b(a|an|the|are|I|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},e.C=function(n,t,r){var a=e.inherit({cN:"comment",b:n,e:t,c:[]},r||{});return a.c.push(e.PWM),a.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),a},e.CLCM=e.C("//","$"),e.CBCM=e.C("/\\*","\\*/"),e.HCM=e.C("#","$"),e.NM={cN:"number",b:e.NR,r:0},e.CNM={cN:"number",b:e.CNR,r:0},e.BNM={cN:"number",b:e.BNR,r:0},e.CSSNM={cN:"number",b:e.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},e.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[e.BE,{b:/\[/,e:/\]/,r:0,c:[e.BE]}]},e.TM={cN:"title",b:e.IR,r:0},e.UTM={cN:"title",b:e.UIR,r:0},e});hljs.registerLanguage("xml",function(s){var t="[A-Za-z0-9\\._:-]+",e={b:/<\?(php)?(?!\w)/,e:/\?>/,sL:"php"},r={eW:!0,i:/</,r:0,c:[e,{cN:"attr",b:t,r:0},{b:"=",r:0,c:[{cN:"string",c:[e],v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s\/>]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xsl","plist"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},s.C("<!--","-->",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{name:"style"},c:[r],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{name:"script"},c:[r],starts:{e:("<"+"/script>"),rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},e,{cN:"meta",b:/<\?\w+/,e:/\?>/,r:10},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"name",b:/[^\/><\s]+/,r:0},r]}]}});hljs.registerLanguage("javascript",function(e){return{aliases:["js"],k:{keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},e.ASM,e.QSM,{cN:"string",b:"`",e:"`",c:[e.BE,{cN:"subst",b:"\\$\\{",e:"\\}"}]},e.CLCM,e.CBCM,{cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{b:/</,e:/>\s*[);\]]/,r:0,sL:"xml"}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:[e.CLCM,e.CBCM]}],i:/\[|%/},{b:/\$[(.]/},{b:"\\."+e.IR,r:0},{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#/}});
hljs.initHighlightingOnLoad();
</script>
</head>
<body>
<div class="github-fork-ribbon-wrapper right">
<div class="github-fork-ribbon">
<a href="https://github.com/burnson/Reverb.js">Fork me on GitHub</a>
</div>
</div>
<article class="markdown-body">
<h1>Reverb.js</h1>
<p><b>Reverb.js</b> is a Web Audio API extension for creating reverb nodes and
an accompanying impulse-response reverb library. You can quickly load any of
the provided impulse responses or use your own.</p>
<p>The Web Audio API does not specifically include a reverb node type.
Instead, it has something better: a <i>convolution node</i>! Convolution is a
mathematical transformation that combines an impulse response and a dry signal
to yield a wet signal. Reverberation is easy to model with impulse responses
since most reverberation has a linear response (contains little distortion).
Impulse responses for simulating reverberation are often generated by recording
a percussive noise or frequency sweep in a space. Does this all sound
convoluted? Well, technically, it is!</p>
<p>This project is dedicated to the public domain via the CC0 license.
However, most of the impulse responses are copyright and come with their
own licenses (many are Creative Commons), so if you end up redistributing
these, please make sure you follow the applicable licenses mentioned in the
attributions.</p>
<p>The following examples demonstrate different reverbs using
<a href="javascript:testReverb('', 'scale');">a scale played on an
oscillator-based synth</a> or
<a href="javascript:testReverb('', 'piece');">the Bach C Minor Prelude from
WTC I</a> played on piano by
<a href="https://www.welltemperedclavier.org">Kimiko Ishizaka</a>.
For more details about using Reverb.js, go see
<a href="https://github.com/burnson/Reverb.js">the project</a>.</p>
<!--BEGIN REVERBJS-->
<script type="text/javascript">
/*global ArrayBuffer, Uint8Array, window, XMLHttpRequest*/
var reverbjs = {
extend : function (audioContext) {
function decodeBase64ToArrayBuffer(input) {
function encodedValue(input, index) {
var encodedCharacter, x = input.charCodeAt(index);
if (index < input.length) {
if (x >= 65 && x <= 90) {
encodedCharacter = x - 65;
} else if (x >= 97 && x <= 122) {
encodedCharacter = x - 71;
} else if (x >= 48 && x <= 57) {
encodedCharacter = x + 4;
} else if (x === 43) {
encodedCharacter = 62;
} else if (x === 47) {
encodedCharacter = 63;
} else if (x !== 61) {
console.log('base64 encountered unexpected character code: ' + x);
}
}
return encodedCharacter;
}
if (input.length === 0 || (input.length % 4) > 0) {
console.log('base64 encountered unexpected length: ' + input.length);
return;
}
var padding = input.match(/[=]*$/)[0].length,
decodedLength = input.length * 3 / 4 - padding,
buffer = new ArrayBuffer(decodedLength),
bufferView = new Uint8Array(buffer),
encoded = [],
d = 0,
e = 0,
i;
while (d < decodedLength) {
for (i = 0; i < 4; i += 1) {
encoded[i] = encodedValue(input, e);
e += 1;
}
bufferView[d] = (encoded[0] * 4) + Math.floor(encoded[1] / 16);
d += 1;
if (d < decodedLength) {
bufferView[d] = ((encoded[1] % 16) * 16) + Math.floor(encoded[2] / 4);
d += 1;
}
if (d < decodedLength) {
bufferView[d] = ((encoded[2] % 4) * 64) + encoded[3];
d += 1;
}
}
return buffer;
}
function decodeAndSetupBuffer(node, arrayBuffer, callback) {
audioContext.decodeAudioData(arrayBuffer, function (audioBuffer) {
console.log('Finished decoding audio data.');
node.buffer = audioBuffer;
if (typeof callback === "function" && audioBuffer !== null) {
callback(node);
}
}, function (e) {
console.log('Could not decode audio data: ' + e);
});
}
audioContext.createReverbFromBase64 = function (audioBase64, callback) {
var reverbNode = audioContext.createConvolver();
decodeAndSetupBuffer(reverbNode, decodeBase64ToArrayBuffer(audioBase64),
callback);
return reverbNode;
};
audioContext.createSourceFromBase64 = function (audioBase64, callback) {
var sourceNode = audioContext.createBufferSource();
decodeAndSetupBuffer(sourceNode, decodeBase64ToArrayBuffer(audioBase64),
callback);
return sourceNode;
};
audioContext.createReverbFromUrl = function (audioUrl, callback) {
console.log('Downloading impulse response from ' + audioUrl);
var reverbNode = audioContext.createConvolver(),
request = new XMLHttpRequest();
request.open('GET', audioUrl, true);
request.onreadystatechange = function () {
if (request.readyState === 4 && request.status === 200) {
console.log('Downloaded impulse response');
decodeAndSetupBuffer(reverbNode, request.response, callback);
}
};
request.onerror = function (e) {
console.log('There was an error receiving the response: ' + e);
reverbjs.networkError = e;
};
request.responseType = 'arraybuffer';
request.send();
return reverbNode;
};
audioContext.createSourceFromUrl = function (audioUrl, callback) {
console.log('Downloading sound from ' + audioUrl);
var sourceNode = audioContext.createBufferSource(),
request = new XMLHttpRequest();
request.open('GET', audioUrl, true);
request.onreadystatechange = function () {
if (request.readyState === 4 && request.status === 200) {
console.log('Downloaded sound');
decodeAndSetupBuffer(sourceNode, request.response, callback);
}
};
request.onerror = function (e) {
console.log('There was an error receiving the response: ' + e);
reverbjs.networkError = e;
};
request.responseType = 'arraybuffer';
request.send();
return sourceNode;
};
audioContext.createReverbFromBase64Url = function (audioUrl, callback) {
console.log('Downloading base64 impulse response from ' + audioUrl);
var reverbNode = audioContext.createConvolver(),
request = new XMLHttpRequest();
request.open('GET', audioUrl, true);
request.onreadystatechange = function () {
if (request.readyState === 4 && request.status === 200) {
console.log('Downloaded impulse response');
decodeAndSetupBuffer(reverbNode,
decodeBase64ToArrayBuffer(request.response),
callback);
}
};
request.onerror = function (e) {
console.log('There was an error receiving the response: ' + e);
reverbjs.networkError = e;
};
request.send();
return reverbNode;
};
audioContext.createSourceFromBase64Url = function (audioUrl, callback) {
console.log('Downloading base64 sound from ' + audioUrl);
var sourceNode = audioContext.createBufferSource(),
request = new XMLHttpRequest();
request.open('GET', audioUrl, true);
request.onreadystatechange = function () {
if (request.readyState === 4 && request.status === 200) {
console.log('Downloaded sound');
decodeAndSetupBuffer(sourceNode,
decodeBase64ToArrayBuffer(request.response),
callback);
}
};
request.onerror = function (e) {
console.log('There was an error receiving the response: ' + e);
reverbjs.networkError = e;
};
request.send();
return sourceNode;
};
}
};
</script><!--END REVERBJS-->
<script type="text/javascript">
var reverb, reverbGain, masterGain, source, sourceGain, context;
function dBToGain(dB) {
return (dB <= -100) ? 0 : Math.pow(10, dB / 10);
}
function initializeIfNecessary () {
if (typeof context === 'undefined') {
context = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(context);
masterGain = context.createGain();
masterGain.gain.value = 1;
masterGain.connect(context.destination);
}
}
function midiNoteNumberToFrequency (midiNoteNumber) {
return 55 * Math.pow(2, (midiNoteNumber - 33) / 12);
}
function play(what) {
if (typeof source !== 'undefined' && source.started === true) {
source.stop();
source.started = false;
}
if (what == 'scale') {
playScale();
} else if (what == 'piece') {
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
source = context.createSourceFromUrl(sourceUrl, function() {
source.connect(reverb);
source.start();
source.started = true;
})
}
}
function playScale () {
var i, loudness = 0.1;
var notesGoingUp = [60, 62, 64, 65, 67, 69, 71, 72]
var notesGoingDown = [48, 47, 45, 43, 41, 40, 38, 36];
var s = context.currentTime;
for (i = 0; i < notesGoingUp.length; i++) {
scheduleSynthNote(notesGoingUp[i], s + 0.1 + i * 0.5, 0.25, loudness);
scheduleSynthNote(notesGoingDown[i], s + 0.1 + i * 0.5, 0.25, loudness);
}
}
function scheduleOscillator(type, note, startTime, duration, gain, shape) {
var gainShaper = context.createGain();
gainShaper.gain.value = 0;
gainShaper.gain.setValueAtTime(0, startTime);
for (var i in shape) {
var g = dBToGain(shape[i].dB) * gain;
var t = startTime + shape[i].time * duration;
gainShaper.gain.linearRampToValueAtTime(g, t);
}
gainShaper.connect(reverb);
var oscillator = context.createOscillator();
oscillator.type = type;
oscillator.frequency.value = midiNoteNumberToFrequency(note);
oscillator.start(startTime);
oscillator.stop(startTime + duration);
oscillator.connect(gainShaper);
}
function scheduleSynthNote (note, start, duration, gain) {
gain /= dBToGain(-55);
scheduleOscillator('triangle', note, start, duration, gain,
[{time:0.05, dB:-65},{time:0.95, dB:-65},{time:1.0, dB:-100}]);
scheduleOscillator('sawtooth', note + 12, start, duration, gain,
[{time:0.05, dB:-55},{time:0.95, dB:-60},{time:1.0, dB:-100}]);
scheduleOscillator('sine', note + 24, start, duration, gain,
[{time:0.2, dB:-58},{time:0.95, dB:-58},{time:1.0, dB:-100}]);
scheduleOscillator('square', note + 48, start, duration, gain,
[{time:0.2, dB:-75},{time:0.95, dB:-75},{time:1.0, dB:-100}]);
}
function shutdownReverbGracefully () {
if (context && reverbGain) {
reverbGain.gain.setValueAtTime(0.5, context.currentTime + 0.1);
reverbGain.gain.linearRampToValueAtTime(0, context.currentTime + 0.2);
}
}
function shutdownGracefully () {
if (context) {
var start = context.currentTime, length = 0.01, progress = 0, i = 0;
while (progress <= 1 && i < 10000) {
masterGain.gain.value = 1 - progress;
progress = (context.currentTime - start) / length;
i += 1;
}
}
}
function testReverb (url, what) {
initializeIfNecessary();
shutdownReverbGracefully();
setTimeout(function() {
if (url !== '') {
reverbGain = context.createGain();
reverbGain.gain.value = 0.5;
reverbGain.connect(masterGain);
reverb = context.createReverbFromUrl(url, function() { play(what); });
reverb.connect(reverbGain);
} else {
reverbGain = context.createGain();
reverbGain.gain.value = 0.5;
reverbGain.connect(masterGain);
reverb = reverbGain;
play(what);
}
}, 500);
}
window.onbeforeunload = shutdownGracefully;
</script>
<!--BEGIN GENERATED-->
<h2>AbernyteGrainSilo <a href="javascript:testReverb('http://reverbjs.org/Library/AbernyteGrainSilo.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/AbernyteGrainSilo.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/AbernyteGrainSilo.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/abernyte-grain-silo<br/><br/>"A concrete structure standing approximately 20m in height by by 5m in diameter the silo proved to have a fantastic reverberation quality close to 6 seconds from initial impulse to the sound dying away. Opportunist recording of balloon burst IR captured using an Alesis Palmtrack portbale recorder. Having passed this disused grain silo on the way to Errol brickworks I made a mental note to stop and explore on the way home. The silo probably a structure from the 60's or 70's is a typical cylindrical building but with a flat roof."<br/><br/>License for this content: Attribution Non-commercial Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/AbernyteGrainSilo.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>ArbroathAbbeySacristy <a href="javascript:testReverb('http://reverbjs.org/Library/ArbroathAbbeySacristy.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ArbroathAbbeySacristy.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ArbroathAbbeySacristy.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/arbroath-abbey-sacristy<br/><br/>"Arbroath Abbey is a testament to the integration of piety and politics by Scotland’s medieval monarchs. It was founded in 1178 by King William I ‘the Lion’, ostensibly as a memorial to his childhood friend Thomas Becket, Archbishop of Canterbury, who was murdered in 1170. It also helped him to expand his authority in the north-east of Scotland, and to demonstrate his right to rule. William invited the Tironensian monks from Kelso Abbey, near the English border, to establish the monastery. When he died in 1214, his body was buried before the high altar. Traditionally, Scottish monarchs had been laid to rest at the royal mausoleum at Dunfermline Abbey. The legacy of William’s efforts is an outstandingly beautiful building. It has suffered much damage, but remains an important symbol and landmark."<br/>http://www.historic-scotland.gov.uk/propertyresults/propertyabout.htm?PropID=PL_013&PropName=Arbroath%20Abbey<br/><br/>License for this content: Attribution Non-commercial Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/ArbroathAbbeySacristy.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>Basement <a href="javascript:testReverb('http://reverbjs.org/Library/Basement.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/Basement.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/Basement.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/basement<br/><br/>"My first attempt at creating an impulse. Basement is a wood shop, and has a nice sound. 9 positions. Shure SM57 and speaker were compensated for manually, so results may not be perfectly accurate, but it sounds all right to my ears. This is ORTF."<br/><br/>License for this content: Public Domain Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/Basement.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>DomesticLivingRoom <a href="javascript:testReverb('http://reverbjs.org/Library/DomesticLivingRoom.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/DomesticLivingRoom.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/DomesticLivingRoom.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/domestic-living-room<br/><br/>"Domestic living room, recorded in front of speaker, at the back of the room, and in the adjacent room. Cutoff at 16kHz due to hardware constraints."<br/><br/>License for this content: Public Domain Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/DomesticLivingRoom.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>ElvedenHallLordsCloakroom <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallLordsCloakroom.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallLordsCloakroom.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallLordsCloakroom.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/elveden-hall-suffolk-england<br/><br/>"Various rooms of Elveden Hall, captured in 2001 on Sony D10 DAT using pair of AKG 451s in XY, and starter's pistol. The Hall, formerly the private residence of the Maharajah Duleep Singh and then the first Lord Iveagh, had at the time of these recordings not been lived in for decades. Elveden Hall, which was enlarged to its present size by Lord Iveagh at the end of the 19th century, consists of three floors in two enormous wings flanking a dramatic Marble Hall (which has featured as a location in films such as Eyes Wide Shut and Tomb Raider). The IRs offered here are a small subset of dozens made throughout the entire building, attempting to document every accessible room and closet, as part of research in a collaboration between artists Matt Rogalsky and Chlöe Steele entitled PERFECT IMPERFECT."<br/><br/>License for this content: Attribution Non-commercial No Derivatives Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/ElvedenHallLordsCloakroom.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>ElvedenHallMarbleHall <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallMarbleHall.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallMarbleHall.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallMarbleHall.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/elveden-hall-suffolk-england<br/><br/>"Various rooms of Elveden Hall, captured in 2001 on Sony D10 DAT using pair of AKG 451s in XY, and starter's pistol. The Hall, formerly the private residence of the Maharajah Duleep Singh and then the first Lord Iveagh, had at the time of these recordings not been lived in for decades. Elveden Hall, which was enlarged to its present size by Lord Iveagh at the end of the 19th century, consists of three floors in two enormous wings flanking a dramatic Marble Hall (which has featured as a location in films such as Eyes Wide Shut and Tomb Raider). The IRs offered here are a small subset of dozens made throughout the entire building, attempting to document every accessible room and closet, as part of research in a collaboration between artists Matt Rogalsky and Chlöe Steele entitled PERFECT IMPERFECT."<br/><br/>License for this content: Attribution Non-commercial No Derivatives Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/ElvedenHallMarbleHall.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>ElvedenHallSmokingRoom <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallSmokingRoom.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallSmokingRoom.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallSmokingRoom.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/elveden-hall-suffolk-england<br/><br/>"Various rooms of Elveden Hall, captured in 2001 on Sony D10 DAT using pair of AKG 451s in XY, and starter's pistol. The Hall, formerly the private residence of the Maharajah Duleep Singh and then the first Lord Iveagh, had at the time of these recordings not been lived in for decades. Elveden Hall, which was enlarged to its present size by Lord Iveagh at the end of the 19th century, consists of three floors in two enormous wings flanking a dramatic Marble Hall (which has featured as a location in films such as Eyes Wide Shut and Tomb Raider). The IRs offered here are a small subset of dozens made throughout the entire building, attempting to document every accessible room and closet, as part of research in a collaboration between artists Matt Rogalsky and Chlöe Steele entitled PERFECT IMPERFECT."<br/><br/>License for this content: Attribution Non-commercial No Derivatives Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/ElvedenHallSmokingRoom.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>ElvedenHallVisitorsCloakroom <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallVisitorsCloakroom.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallVisitorsCloakroom.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ElvedenHallVisitorsCloakroom.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/elveden-hall-suffolk-england<br/><br/>"Various rooms of Elveden Hall, captured in 2001 on Sony D10 DAT using pair of AKG 451s in XY, and starter's pistol. The Hall, formerly the private residence of the Maharajah Duleep Singh and then the first Lord Iveagh, had at the time of these recordings not been lived in for decades. Elveden Hall, which was enlarged to its present size by Lord Iveagh at the end of the 19th century, consists of three floors in two enormous wings flanking a dramatic Marble Hall (which has featured as a location in films such as Eyes Wide Shut and Tomb Raider). The IRs offered here are a small subset of dozens made throughout the entire building, attempting to document every accessible room and closet, as part of research in a collaboration between artists Matt Rogalsky and Chlöe Steele entitled PERFECT IMPERFECT."<br/><br/>License for this content: Attribution Non-commercial No Derivatives Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/ElvedenHallVisitorsCloakroom.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>EmptyApartmentBedroom <a href="javascript:testReverb('http://reverbjs.org/Library/EmptyApartmentBedroom.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/EmptyApartmentBedroom.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/EmptyApartmentBedroom.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/empty-apartment-bedroom<br/><br/>"An Impulse Response I recorded in the bedroom of an empty apartment close to my house. Recorded with an H4n, source was a handclap. Recorded at 96kHz/24-bit."<br/><br/>License for this content: Public Domain Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/EmptyApartmentBedroom.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>ErrolBrickworksKiln <a href="javascript:testReverb('http://reverbjs.org/Library/ErrolBrickworksKiln.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ErrolBrickworksKiln.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/ErrolBrickworksKiln.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/errol-brickworks-errol-perth-and-kinross<br/><br/>"Errol Brickworks situated on the outskirts of Errol Village, Perth and Kinross is now a Mackies potato crisps factory but two kilns remain. The works dates to 1870 and remained active until the mid nineties. The structure of the kilns looked like large brick built yurts, with the external walls below the dome strapped in metal casing. The internal dimensions are 6.5m to the height of the dome form the centre of the floor by 5.8m in diameter. Mackies staff allowed access to one of the kilns on the day of our visit. Two techniques were employed, a sine sweep recording using Apple's Impulse Response Utility software and a balloon pop recorded using a portable Alesis Palmtrack. Initially the reverberation characteristic appeared to be unremarkable having very little decay time, however upon wondering around inside the kiln a pronounced pre-delay was evident. Whilst standing close to the opposite wall from the entrance noise made by Paul near the entrance appeared to reverberate around the outside wall creating an effect similar to the whispering gallery found in the dome of St Paul's Cathedral in London, all be it more subtle."<br/><br/>License for this content: Attribution Non-commercial Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/ErrolBrickworksKiln.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>FalklandPalaceRoyalTennisCourt <a href="javascript:testReverb('http://reverbjs.org/Library/FalklandPalaceRoyalTennisCourt.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/FalklandPalaceRoyalTennisCourt.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/FalklandPalaceRoyalTennisCourt.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/falkland-palace-royal-tennis-court<br/><br/>"These impulse responses were recorded in a tennis court with no roof. The court is designed for Real Tennis, or Caitch and can be found at Falkland Palace in Fife. It was originally built for King James V of Scotland and construction began in 1539."<br/><br/>License for this content: Attribution Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/FalklandPalaceRoyalTennisCourt.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>HamiltonMausoleum <a href="javascript:testReverb('http://reverbjs.org/Library/HamiltonMausoleum.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/HamiltonMausoleum.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/HamiltonMausoleum.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/hamilton-mausoleum<br/><br/>"Construction on the Hamilton Mausoleum, Hamilton, Scotland, built for the 10th Duke of Hamilton, started in 1842 and was completed in 1858. It is constructed of marble and sandstone and is surmounted by a dome 36m in height, with two main spaces, a crypt in the lower section, and a chapel that was supposed to be used for worship. However the construction materials, size, shape and dimensions of the latter result in a complex, dense and very long reverberation, and hence render it almost useless for speech presentation. In fact the Guinness Book of World Records claims that the Hamilton Mausoleum has the longest “echo” of any building, recorded on 27 May 1994 as taking 15s for the sound of the reverberation caused by slamming one of the main doors to die away to nothing. The space is now often used by recording musicians for its unique acoustic properties. The interior of Hamilton Mausoleum is approximately octagonal in plan, with a diameter of 18 m. Each side of the octagon is either a plane wall or a further semicircular alcove. The results presented below having the microphone assembly in the centre and the source placed to one side, just outside one of the alcoves, giving a source-receiver distance of 4.8 m."<br/><br/>License for this content: Attribution Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/HamiltonMausoleum.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>InsidePiano <a href="javascript:testReverb('http://reverbjs.org/Library/InsidePiano.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/InsidePiano.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/InsidePiano.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>Recorded by William Andrew Burnson (2013)<br/>An impulse response recorded from just outside a Yamaha baby grand piano with the damper pedal down.<br/><br/>Attribution Share Alike Creative Commons<br/>http://creativecommons.org/licenses/by-sa/3.0/
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/InsidePiano.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>KinoullAisle <a href="javascript:testReverb('http://reverbjs.org/Library/KinoullAisle.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/KinoullAisle.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/KinoullAisle.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/kinoull-aisle-perth<br/><br/>"IR field recording trip Kinoull Aisle, Perth. A 16th century chapel on the site of one of the oldest known churches in Perth. The Aisle houses a monument to the Earl of Kinoull, Lord Chancellor Hay, an impressive stone sculpture nearly 6 metres in height. Thanks to the monument and the recessed windows and door the chapel has a smooth linear reverberation characteristic approximately 2 seconds long."<br/><br/>License for this content: Attribution Non-commercial Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/KinoullAisle.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>LadyChapelStAlbansCathedral <a href="javascript:testReverb('http://reverbjs.org/Library/LadyChapelStAlbansCathedral.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/LadyChapelStAlbansCathedral.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/LadyChapelStAlbansCathedral.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/lady-chapel-st-albans-cathedral<br/><br/>"This data consists of 2 sets of impulse responses measured in the Lady Chapel at St Albans Cathedral. Measurements were taken at two different source and receiver positions, A and B. The positions of the sources and receivers for the two configurations, A and B, can be are described in the attached diagram. Each set consists of a 4 channel B-format response, a 2-channel ORTF stereo response, a 2-channel binaural stereo response and a 5-channel discrete microphone response (5.0) based on the Williams MMA microphone technique. Construction of the cathedral was started by the Normans in 1077 and hundreds of years of construction have resulted in a mixture of different architectural styles. The Lady Chapel is an example of architecture from the Decorated Gothic Period and was completed in 1327."<br/><br/>License for this content: Attribution Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/LadyChapelStAlbansCathedral.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>MaesHowe <a href="javascript:testReverb('http://reverbjs.org/Library/MaesHowe.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/MaesHowe.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/MaesHowe.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>http://www.openairlib.net/auralizationdb/content/maes-howe<br/><br/>"Maes-Howe, Orkney, is one of the finest chambered cairns in Europe, and is dated to 3000BC. Prior work in the acoustics of ancient sites explores how the resonances exhibited therein might have affected regular human ritual and interaction with the space. It has been hypothesized that as these resonances are within the lower male vocal range, they may have been used in ritual to accentuate aspects of the voice. Unlike many similar ancient structures that have been studied to date, Maes Howe lends itself to the presence of strong modal frequencies. It is almost cubic in shape, of dimension 4.6m, with walls made from large, flat slabs of stone, resulting in smooth reflecting surfaces rather than more commonly found irregular placement of smaller stones."<br/><br/>License for this content: Attribution Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/MaesHowe.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>MidiverbMark2Preset29 <a href="javascript:testReverb('http://reverbjs.org/Library/MidiverbMark2Preset29.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/MidiverbMark2Preset29.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/MidiverbMark2Preset29.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>Recorded by William Andrew Burnson (2011)<br/>An impulse response recorded from preset 29 on an Alesis Midiverb II.<br/><br/>Attribution Share Alike Creative Commons<br/>http://creativecommons.org/licenses/by-sa/3.0/
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/MidiverbMark2Preset29.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>PerthCityHallBalcony <a href="javascript:testReverb('http://reverbjs.org/Library/PerthCityHallBalcony.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/PerthCityHallBalcony.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/PerthCityHallBalcony.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/perth-city-hall<br/><br/>"Perth City Hall is a prominently-sited civic building beside the A-listed St John’s Kirk, and within Perth’s former market place. It was listed category B on 26 August 1977 and is within the Perth Central Conservation Area. It has been redundant since 2005. The memorial stone was laid by Lord Provost Cuthbert in 1909 and the design exhibited at the Royal Scottish Academy in 1912. The architects, appointed after competition, were H. E. Clifford and Thomas Lunan. Clifford was one of a generation of Glasgow-based architects influenced by the architecture of the Ecole des Beaux-Arts in Paris, and this is reflected in the building’s architectural style. It has coupled giant Ionic columns and sculptural enrichments, while the interior has a galleried large main hall and a correspondingly classical character. (Historic Scotland)<br/>"<br/><br/>License for this content: Attribution Non-commercial Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/PerthCityHallBalcony.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>PurnodesRailroadTunnel <a href="javascript:testReverb('http://reverbjs.org/Library/PurnodesRailroadTunnel.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/PurnodesRailroadTunnel.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/PurnodesRailroadTunnel.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/railroad-tunnel-purnodes-tunnel<br/><br/>"IR collected in a 80 meters railway tunnel. 48K-32bit-stereo"<br/><br/>License for this content: Public Domain Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/PurnodesRailroadTunnel.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>R1NuclearReactorHall <a href="javascript:testReverb('http://reverbjs.org/Library/R1NuclearReactorHall.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/R1NuclearReactorHall.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/R1NuclearReactorHall.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/r1-nuclear-reactor-hall<br/><br/>"Built in 1954, the R1 Nuclear Reactor has not been used since 1970. However, the reactor hall still remains. It is found 25 metres underneath the KTH Royal Institute of Technology, near to Stolkholm."<br/><br/>License for this content: Attribution Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/R1NuclearReactorHall.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>SaintLawrenceChurchMolenbeekWersbeekBelgium <a href="javascript:testReverb('http://reverbjs.org/Library/SaintLawrenceChurchMolenbeekWersbeekBelgium.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/SaintLawrenceChurchMolenbeekWersbeekBelgium.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/SaintLawrenceChurchMolenbeekWersbeekBelgium.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/saint-lawrence-church-molenbeek-wersbeek-belgium<br/><br/>"This impulse response was made with a 4 sec sinesweep playing in the middle of the altar of the church with 2 spaced (70cm) omni DPA 4060 microphones in front of the altar. The recording was done in 96kHz 24bit."<br/><br/>License for this content: Public Domain Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/SaintLawrenceChurchMolenbeekWersbeekBelgium.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>SpokaneWomansClub <a href="javascript:testReverb('http://reverbjs.org/Library/SpokaneWomansClub.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/SpokaneWomansClub.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/SpokaneWomansClub.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/spokane-womans-club<br/><br/>"The Spokane Woman's Club hall is a highly reflective space with bare walls, a hardwood floor and a curved ceiling. The space is roughly 84'x42' with an average ceiling height of about 16'. The sweep was recorded before an event and deconvolved with Voxengo's Deconvolver. The IR turned out very well. It allowed for seamless transition between the room sound recorded during a number of events, and the IR reverb used during post-production."<br/><br/>License for this content: Attribution Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/SpokaneWomansClub.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>SportsCentreUniversityOfYork <a href="javascript:testReverb('http://reverbjs.org/Library/SportsCentreUniversityOfYork.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/SportsCentreUniversityOfYork.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/SportsCentreUniversityOfYork.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/sports-centre-university-york<br/><br/>"These measurements were made in a large sports hall in the sports centre at York university. The reverberation tail is very long."<br/><br/>License for this content: Attribution Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/SportsCentreUniversityOfYork.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>StairwayUniversityOfYork <a href="javascript:testReverb('http://reverbjs.org/Library/StairwayUniversityOfYork.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/StairwayUniversityOfYork.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/StairwayUniversityOfYork.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/st-marys-abbey-reconstruction<br/><br/>"The abbey of St. Mary was mostly destroyed during the dissolution under the rule of Henry VIII and now only ruins remain. These ruins can be found in the Museum Gardens adjacent to the river Ouse in York city. Virtual models of this now derelict church were built using measurements taken from scaled plans and other sources of architectural evidence. Impulse responses were then created using ray-based room acoustic modelling software. Three different models of the church were used with increasing levels of detail in their geometric structure, referred to as Phase 1, Phase 2 and Phase 3. The work was carried out as part of a Bachelor of Engineering project at the Audiolab in the University of York."<br/><br/>License for this content: Attribution Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/StairwayUniversityOfYork.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>StAndrewsChurch <a href="javascript:testReverb('http://reverbjs.org/Library/StAndrewsChurch.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/StAndrewsChurch.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/StAndrewsChurch.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib (2004)<br/>http://www.openairlib.net/auralizationdb/content/st-andrews-church<br/><br/>"St Andrew’s Church, built in the 14th Century, has one of the finest examples of in-situ acoustic jars (vases or pots) in the UK. These jars were common to European church construction in the late Middle Ages and are said to be based on the ideas of Roman architect Vitruvius, who discussed the use of resonant jars in the design of amphitheatres to provide clarity of voice presentation. They are designed as Helmholtz resonators, giving narrow band energy absorption according to the natural frequency of the jar although there is little conclusive acoustical evidence to show that they behave as designed. Studies suggest that the success or otherwise of these devices depends on the number of jars used and their placement, as well as the characteristics of the building and jars themselves. In anechoic and reverberant chambers the absorption effects of such jars are weak and highly selective, although can be significant below 200Hz. Together with their additional diffusive effects, the jars potentially help to eliminate strong normal modes and hence can be made effective with careful tuning and positioning. St Andrew’s Church has 11 jars placed high in the chancel, 6 in the north wall and 5 in the south, arranged at irregular intervals such that there are no directly opposite pairs."<br/><br/>Attribution Share Alike Creative Commons<br/>http://creativecommons.org/licenses/by-sa/3.0/<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/StAndrewsChurch.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>StMarysAbbeyReconstructionPhase1 <a href="javascript:testReverb('http://reverbjs.org/Library/StMarysAbbeyReconstructionPhase1.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/StMarysAbbeyReconstructionPhase1.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/StMarysAbbeyReconstructionPhase1.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/st-marys-abbey-reconstruction<br/><br/>"The abbey of St. Mary was mostly destroyed during the dissolution under the rule of Henry VIII and now only ruins remain. These ruins can be found in the Museum Gardens adjacent to the river Ouse in York city. Virtual models of this now derelict church were built using measurements taken from scaled plans and other sources of architectural evidence. Impulse responses were then created using ray-based room acoustic modelling software. Three different models of the church were used with increasing levels of detail in their geometric structure, referred to as Phase 1, Phase 2 and Phase 3. The work was carried out as part of a Bachelor of Engineering project at the Audiolab in the University of York."<br/><br/>License for this content: Attribution Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/StMarysAbbeyReconstructionPhase1.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);
});
</script>
<a href="javascript:sourceNode.start()">Test</a>
</code></pre>
<h2>StMarysAbbeyReconstructionPhase2 <a href="javascript:testReverb('http://reverbjs.org/Library/StMarysAbbeyReconstructionPhase2.m4a', 'scale');">(synth)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/StMarysAbbeyReconstructionPhase2.m4a', 'piece');">(piano)</a> <a href="javascript:testReverb('http://reverbjs.org/Library/StMarysAbbeyReconstructionPhase2.m4a', 'stop');">(stop)</a></h2>
<h3>Attribution</h3><p>By OpenAirLib<br/><br/>http://www.openairlib.net/auralizationdb/content/st-marys-abbey-reconstruction<br/><br/>"The abbey of St. Mary was mostly destroyed during the dissolution under the rule of Henry VIII and now only ruins remain. These ruins can be found in the Museum Gardens adjacent to the river Ouse in York city. Virtual models of this now derelict church were built using measurements taken from scaled plans and other sources of architectural evidence. Impulse responses were then created using ray-based room acoustic modelling software. Three different models of the church were used with increasing levels of detail in their geometric structure, referred to as Phase 1, Phase 2 and Phase 3. The work was carried out as part of a Bachelor of Engineering project at the Audiolab in the University of York."<br/><br/>License for this content: Attribution Share Alike Creative Commons license<br/>
</p>
<h3>Usage</h3>
<pre><code><script src="http://reverbjs.org/reverb.js"></script>
<script>
// 1) Setup your audio context (once) and extend with Reverb.js.
var audioContext = new (window.AudioContext || window.webkitAudioContext)();
reverbjs.extend(audioContext);
// 2) Load the impulse response; upon load, connect it to the audio output.
var reverbUrl = "http://reverbjs.org/Library/StMarysAbbeyReconstructionPhase2.m4a";
var reverbNode = audioContext.createReverbFromUrl(reverbUrl, function() {
reverbNode.connect(audioContext.destination);
});
// 3) Load a test sound; upon load, connect it to the reverb node.
var sourceUrl = "http://reverbjs.org/Library/SampleBachCMinorPrelude.m4a";
var sourceNode = audioContext.createSourceFromUrl(sourceUrl, function() {
sourceNode.connect(reverbNode);