Skip to content

Instantly share code, notes, and snippets.

View JonathanHarford's full-sized avatar
true(1): Do nothing, successfully.

Jonathan Harford JonathanHarford

true(1): Do nothing, successfully.
View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

"basics": {
"name": "Jonathan Harford",
"label": "",
"picture": "",
"email": "",
"phone": "(917)414-9391",
"degree": "",
"website": "",
"summary": "",
JonathanHarford /
Created October 16, 2023 18:31
Haunted gramophone
from pydub import AudioSegment
from pydub.playback import play
from pydub.generators import WhiteNoise
import random
sound = AudioSegment.from_wav('src.wav')
audio_len = len(sound)
base_frame_rate = sound.frame_rate
glitched = AudioSegment.empty()