| |
Digi Converter and Player V1.0 [2023] |
Released At :
Vintage Computing Carinthia $20
Credits :
Download :
Look for downloads on external sites:
Pokefinder.org
Summary Submitted by wil on 16 April 2023
Using Pex Mahoney Tufvesson's method, it is possible to play samples with 8 bits on the C64. These tools assist in converting and preparing the data and feature a player routine for an 8kHz player suitable for compact digis in games.
Part of the toolset is for Windows only, but the main component is a Python script running on any system featuring Python 3.x.
The zip file contains the following parts:
==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
== cld.exe ==
cbm binary linker from Daniel Kahlin, used by make_sfx_digi.bat
== 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). |
|
|
|
| Search CSDb |
| Navigate | |
|
| Detailed Info | |
|
| Fun Stuff | |
· Goofs · Hidden Parts · Trivia
|
|
| Forum | |
|
| Info on other sites | |
|
| Support CSDb | |
|
| |
|