nolibgs_hello_worlds/hello_cdda
ABelliqueux 87176920d7 Get rid of libds 2021-11-13 20:09:31 +01:00
..
audio cdda: smaller audio samples 2021-07-11 10:54:26 +02:00
Makefile Generate CDDA example bin/cue wia makefile 2021-07-17 14:52:47 +02:00
README.md Add STR playback example 2021-07-23 19:45:11 +02:00
hello_cdda.c Get rid of libds 2021-11-13 20:09:31 +01:00
isoconfig.xml Generate CDDA example bin/cue wia makefile 2021-07-17 14:52:47 +02:00
system.cnf Add CDDA playback example 2021-07-10 17:56:33 +02:00

README.md

Compiling

You need mkpsxiso in your $PATH to generate a PSX disk image. Typing

make

in a terminal will compile and generate the bin/cue files.

Typing

make cleansub

will clean the current directory

Creating the disk image

mkpsxiso -y isoconfig.xml

Using ffmpeg to generate a CDDA compliant Wav file

Needed Specification : RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz

Conversion

ffmpeg -i input.mp3 -acodec pcm_s16le -ac 2 -ar 44100 output.wav

Merging two mono audio channels into one stereo channel

ffmpeg -i herb.wav.new -filter_complex "[0:a][0:a]amerge=inputs=2[a]" -map "[a]" herbi.wav

Adding the audio track to the CD

Add a track section after your data track in isoconfig.xml :

<track type="audio" source="file.wav"/>

Music credits

Track 1 : Beach Party by Kevin MacLeod Link: https://incompetech.filmmusic.io/song/3429-beach-party License: https://filmmusic.io/standard-license

Track 2: Funk Game Loop by Kevin MacLeod Link: https://incompetech.filmmusic.io/song/3787-funk-game-loop License: https://filmmusic.io/standard-license