Skip to content

Instantly share code, notes, and snippets.

@biggestsonicfan
biggestsonicfan / srcd_wav_extract.py
Created June 14, 2023 02:35
Extract .wav data from .srcd files
import os
import sys
import argparse
parser = argparse.ArgumentParser(description='Extract *.wav files from *.srcd files.')
parser.add_argument('-i', dest='input', type=str, help='Input directory of *.srcd files.', required=True)
parser.add_argument('-o', dest='output', type=str, help='Ouput directory of *.wav files. (Subdirectory "wav" in input used by default)')
def main():
args = parser.parse_args()