Skip to content

Instantly share code, notes, and snippets.

View Cyberes's full-sized avatar
💭
💀 Deceased (as of Jan, 2022)

Cyberes

💭
💀 Deceased (as of Jan, 2022)
View GitHub Profile
@Cyberes
Cyberes / slideshow-to-beat.py
Last active July 10, 2024 09:26
Sync a slideshow to every single beat in a song.
#!/usr/bin/env python3
import argparse
import random
import cv2
import librosa
import numpy as np
from moviepy.editor import *
from scipy.signal import butter, lfilter
from scipy.signal import find_peaks
* g o a t s e x * g o a t s e x * g o a t s e x *
g g
o / \ \ / \ o
a| | \ | | a
t| `. | | : t
s` | | \| | s
e \ | / / \\\ --__ \\ : e
x \ \/ _--~~ ~--__| \ | x
* \ \_-~ ~-_\ | *
g \_ \ _.--------.______\| | g