This file contains hidden or 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
#!/usr/bin/env python3 -- | |
# -*- coding: utf-8 -*- | |
# | |
# munch.py - The only .it packer you'll need (eventually) | |
# by Ben "GreaseMonkey" Russell, 2011 - PUBLIC DOMAIN | |
# updates to python3 provided by .exe - thank you!!! | |
# | |
# ok the hype about IT214 compression was getting out of hand. | |
# it finally decompresses AND compresses samples correctly. | |
# i believe all IT214-related bugs have been ironed out with a chainsaw. |
This file contains hidden or 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.com/ | |
// @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.com/* |
This file contains hidden or 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 hidden or 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: |