This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// What can I say? THX(TM) runs deep! | |
// @channels 2 | |
// @duration 8 | |
var targets = [ | |
29.0, 87.5, 116.0, 175.0, 233.0, | |
350.0, 524.0, 880.0, 1048, 1760, | |
29.0, 87.5, 116.0, 175.0, 233.0, | |
350.0, 524.0, 880.0, 1048, 1760, | |
29.0, 87.5, 116.0, 175.0, 233.0, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var context = new AudioContext(); | |
navigator.webkitGetUserMedia({ | |
audio: true | |
}, function (stream) { | |
var source = context.createMediaStreamSource(stream); | |
source.channelCount = context.destination.maxChannelCount; | |
source.connect(context.destination); | |
}, function (error) { | |
console.log(error); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @channels 3 | |
// @sampleRate 128000 | |
// @duration 1.5 | |
function pitchToFrequency(pitch) { | |
return 440 * Math.pow(2, (Math.floor(pitch)-69)/12); | |
} | |
function pitchToPlaybackRate(pitch) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function() { | |
var _isCompressorReductionAudioParam = | |
typeof (new OfflineAudioContext(1, 1, 44100)).createDynamicsCompressor().reduction | |
=== 'object'; | |
AudioContext.prototype._createDynamicsCompressor = | |
AudioContext.prototype.createDynamicsCompressor; | |
OfflineAudioContext.prototype._createDynamicsCompressor = | |
OfflineAudioContext.prototype.createDynamicsCompressor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: https://bugs.chromium.org/p/chromium/issues/detail?id=840866 | |
1 https://www.dailydot.com/debug/chrome-autoplay-block-games/ | |
2 https://dood.al/pinktrombone/ | |
3 http://ianiselsewhere.com/fivestrings/ | |
4 https://mattmakesgames.itch.io/celesteclassic | |
5 https://www.kpopp.io/games/ten-mississippi.html | |
6 https://ded.increpare.com/~locus/glances/ | |
7 https://www.shadertoy.com/view/Xds3Rr | |
8 https://experiments.withgoogle.com/ |