Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
  You are not logged in - nap
Digi Converter and Player V1.0   [2023]

Digi Converter and Player V1.0 Released by :
Wil

Release Date :
15 April 2023

Type :
Other Platform C64 Tool

Released At :
Vintage Computing Carinthia $20

User rating:awaiting 8 votes (5 left)   See votestatistics

Credits :
Code .... Wil of Vintage Computing Carinthia

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
Advanced
Navigate
Prev - Random - Next
Detailed Info
· Summaries (1)
· User Comments (2)
· Production Notes
Fun Stuff
· Goofs
· Hidden Parts
· Trivia
Forum
· Discuss this release
Info on other sites
· demozoo.org
Support CSDb
Help keep CSDb running:



Funding status:




About this site:
CSDb (Commodore 64 Scene Database) is a website which goal is to gather as much information and material about the scene around the commodore 64 computer - the worlds most popular home computer throughout time. Here you can find almost anything which was ever made for the commodore 64, and more is being added every day. As this website is scene related, you can mostly find demos, music and graphics made by the people who made the scene (the sceners), but you can also find a lot of the old classic games here. Try out the search box in the top right corner, or check out the CSDb main page for the latest additions.
Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.085 sec.