Skip to content

Instantly share code, notes, and snippets.

View bowlercaptain's full-sized avatar

Robert Mock bowlercaptain

View GitHub Profile
/*************************************************
SHARECART1000 helper script:
This script reads/writes data according to the
shared savegame file specified here:
http://sharecart1000.com/
Put this script on some game object in your
scene. You can use a sample text file in the
sharecart format and assign it to the property
@bowlercaptain
bowlercaptain / readme.txt
Last active April 23, 2017 05:38 — forked from anonymous/readme.txt
title
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@bowlercaptain
bowlercaptain / readme.txt
Last active April 29, 2017 22:30 — forked from anonymous/readme.txt
title
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@bowlercaptain
bowlercaptain / readme.txt
Last active August 28, 2017 05:11 — forked from anonymous/readme.txt
title
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@bowlercaptain
bowlercaptain / spectralRotation.py
Last active May 19, 2024 00:22 — forked from Ravarcheon/spectralRotation.py
Ravarcheon's 90-degree spectrogram rotation but with non-overwriting filenames.
import numpy as np
import soundfile as sf
from scipy.fftpack import fft, ifft
from pathlib import Path
def rotateSignal(signal,flip):
if flip:
signal = signal[::-1]
x = np.concatenate((signal, signal[1:][::-1])) # concatenating the array with a reverse of itself makes it such that the fourier transform doesn't layer over a reversed version of itself in the inverse fft