Skip to content

Instantly share code, notes, and snippets.

View reticivis-net's full-sized avatar

Melody reticivis-net

View GitHub Profile
@reticivis-net
reticivis-net / autotune.py
Last active August 13, 2021 07:33
a friendly function/API for PyAutoTune, a python binding for autotalent
from struct import pack
from wave import open
import AutoTune
import numpy as np
def autotune(IN: str, OUT: str, CONCERT_A: float = 440, FIXED_PITCH: float = 0.0, FIXED_PULL: float = 0.1,
KEY: str = "c", CORR_STR: float = 1.0, CORR_SMOOTH: float = 0.0, PITCH_SHIFT: float = 0.0,
SCALE_ROTATE: int = 0, LFO_DEPTH: float = 0.0, LFO_RATE: float = 1.0, LFO_SHAPE: float = 0.0,
@reticivis-net
reticivis-net / delloem.bat
Created August 20, 2021 03:17
Sets registry flags to dell ones to trick Dell Mobile Connect to think your PC is a dell pc.
echo Setting OEMID in RegEdit...
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Store" /v OEMID /f /t REG_SZ /d DELL
echo Setting SCMID in RegEdit
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Store" /v StoreContentModifier /f /t REG_SZ /d DELL_Xps
@reticivis-net
reticivis-net / databend.py
Created January 27, 2022 03:18
simple python script that uses FFmpeg to perform databending
import fractions
import subprocess
import json
# input settings
infile = "in.gif"
outfile = "out.mp4"
# databend settings
effect = "biquad"