Skip to content

Instantly share code, notes, and snippets.

View 2xAA's full-sized avatar
👨‍💻
doin a code

Sam Wray 2xAA

👨‍💻
doin a code
View GitHub Profile
@2xAA
2xAA / LSDJprep.py
Last active June 23, 2016 20:58
Double the speed of LSDJ samples that are over 2.843 seconds, but less than double that for valid sample lengths with the LSD-Patcher for LSDJ.
import wave
import os
import glob
import contextlib
Change_RATE = 2
EXPORT_DIR = './LSDJprep/'
VALID_RESPONSES = ('yes', 'y')
# the maximum length file LSDJ can have in a kit