This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# script to extract music from a pico-8 | |
# requires exporting sounds from the pico-8 first! | |
# run as: python extract-music.py mygame.p8 sound%d.wav music%d.wav | |
# by eevee, do what you like with this code | |
from __future__ import print_function | |
import argparse | |
import struct | |
import wave | |