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
// ==UserScript== | |
// @name botb custom + donload grabber | |
// @author DEFENSE MECHANISM | |
// @version 0.4 | |
// @namespace http://battleofthebits.org/ | |
// @description Alternate layout and css for battleofthebits | |
// @updateURL https://github.com/defensem3ch/userscripts/raw/main/botb%20custom.user.js | |
// @downloadURL https://github.com/defensem3ch/userscripts/raw/main/botb%20custom.user.js | |
// @homepage https://defensemech.com | |
// @match https://battleofthebits.org/* |
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
# Concatenate wav files into one evenly spaced wav file | |
# Requires sox and PySox https://github.com/rabitt/pysox | |
# License: Public domain | |
import sox, os | |
def combine_files(folder, files, out_filename, sample_rate, channels, bit_depth): | |
combine = sox.Combiner() | |
combine.convert(sample_rate, channels, bit_depth) | |
out_files = [f"{folder}/{file}" for file in files] |
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
#!/bin/bash | |
# A collection of FFmpeg filterchains which can be used to create a stylised | |
# 'CRT screen' effect on given input, specialized for raw AVI and WAV output | |
# from BGB Gameboy emulator. | |
# | |
# Includes basic demonstration FFmpeg command which takes "$1" input | |
# of video and audio files without extensions | |
# | |
# Requires: |