Skip to content

Instantly share code, notes, and snippets.

@sorcerykid
sorcerykid / stream.html
Created Oct 28, 2020
Apply effects to a live audio feed in JS
View stream.html
<audio crossorigin="anonymous" id="audio_source" controls preload="none" style="width:16em;padding:0;">
<source src="http://www.example.com:8000/sample?type=http&amp;nocache=4" type='audio/mpeg'>
</audio>
<script>
const AudioContext = window.AudioContext || window.webkitAudioContext;
const audio = document.querySelector( "audio" );
var convolverBuffer;
var convolverNode;
View init.lua
--------------------------------------------------------
-- Minetest :: Auth Redux Mod v2.1 (auth_rx)
--
-- See README.txt for licensing and release notes.
-- Copyright (c) 2017-2018, Leslie E. Krause
--
-- ./games/minetest_game/mods/auth_rx/filter.lua
--------------------------------------------------------
FILTER_TYPE_STRING = 11
View init.lua
--------------------------------------------------------
-- Minetest :: Auth Redux Mod v2.1 (auth_rx)
--
-- See README.txt for licensing and release notes.
-- Copyright (c) 2017-2018, Leslie E. Krause
--
-- ./games/just_test_tribute/mods/auth_rx/init.lua
--------------------------------------------------------
----------------------------
View creepy.html
I have been contributing code to Minetest for months, not just sitting on code.