Skip to content

Instantly share code, notes, and snippets.

View patagonaa's full-sized avatar
🏳️‍🌈

Patrick patagonaa

🏳️‍🌈
View GitHub Profile
@RavuAlHemio
RavuAlHemio / exmp3.py
Created May 9, 2014 09:02
find and extract MP3 files from a binary file
#!/usr/bin/env python3
from math import floor
import struct
mp3_bit_rates = {
0b0001: 32000,
0b0010: 40000,
0b0011: 48000,
0b0100: 56000,
0b0101: 64000,