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
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() |