==convert2digi.py==

Program to convert a .WAV or .MP3 into compressed digi data.

usage: convert2digi.py [-h] [-f SAMPLEFREQUENCY] [-c COMPRESSION] [-r [REVIEW]] [-n] [-t TABLE] [-o OUTFILE] filename

positional arguments:
  filename              enter filename

options:
  -h, --help            show this help message and exit
  -f SAMPLEFREQUENCY, --samplefrequency SAMPLEFREQUENCY
                        sample frequency
  -c COMPRESSION, --compression COMPRESSION
                        compression factor
  -r [REVIEW], --review [REVIEW]
                        review quantization result for first values
  -n, --nopad           don't pad quantized values to next multiple of 256
  -t TABLE, --table TABLE
                        select volume table for target: 6581 (=default), 8580)
  -o OUTFILE, --outfile OUTFILE
                        name of the output file

Required software:
* ffmpeg converter is installed on the system and in the path


== make_sfx_digi.bat ==

usage: make_sfx_digi soundfile_to_convert [options]

Program to  compress  a .WAV or .MP3 file, ading a sample player routine and putting it into an executable C64 program.

Required software:
* cc65 installed and cl65 command is in the path


== 8bitdigiplayer.s ==

assembler routines to play 8 bit vector-quantized samples on a C64

The routine start_digi_play expects the highbyte of the digifile in the accumulator. Digis must be arranged page-aligned in memory,

The routine sets up an interrupt routine and returns. Check the value of digiplay_in_progress to determine if a digi is still playing (digiplay_in_progress is 1) or not (digiplay_in_progress is 0).
