Skip to content

python implementation of the WTPA2 sample packer/extracter

Notifications You must be signed in to change notification settings

scragz/wtpa2-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

wtpa2-python

python implementation of the WTPA2 sample packer/extractor

Commands take the form of python wtpa2.py COMMAND ARGUMENTS

Currently supported commands:

  • pack - create a WTPA2 readable binary file from a list of AIFF files and directories
  • packmap - create a WTPA2 readable binary file from a file that is a list of AIFFs where each line(-1) corresponds to a sample slot
  • extract - extract all samples from a WTPA2 formatted binary file or raw device to a target directory. An optional argument can be supplied to limit the number of sample slots examined

Usage

Here are some example uses:

python wtpa2.py pack samples.bin file1.aiff dir1/ dir2/ file2.aiff
python wtpa2.py packmap samples.bin samples.txt
python wtpa2.py extract samples.bin samples/
python wtpa2.py extract --slots 8 /dev/sdc samples/

About

python implementation of the WTPA2 sample packer/extracter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%