Update README.md

This commit is contained in:
Jason Bou-Samra
2024-03-13 19:30:55 +11:00
committed by GitHub
parent 73bffa2e25
commit e64db60a45
+14 -12
View File
@@ -1,23 +1,23 @@
TinyMOD **<p>TinyMOD<br>**
Written by Tammo "kb" Hinrichs in 2007 Written by Tammo "kb" Hinrichs in 2007<br>
This source code is hereby placed into the public domain. Use, distribute, This source code is hereby placed into the public domain. Use, distribute,
modify, misappropriate and generally abuse it as you wish. Giving credits modify, misappropriate and generally abuse it as you wish. Giving credits
would be nice of course. would be nice of course.</p>
This player includes an Amiga Paula chip "emulation" that faithfully recreates <p>This player includes an Amiga Paula chip "emulation" that faithfully recreates
how it sounds when a sample is resampled using a master clock of 3.5 MHz. Yes, how it sounds when a sample is resampled using a master clock of 3.5 MHz. Yes,
rendering at this rate and downsampling to the usual 48KHz takes quite a bit rendering at this rate and downsampling to the usual 48KHz takes quite a bit
of CPU. Feel free to replace this part with some conventional mixing routines of CPU. Feel free to replace this part with some conventional mixing routines
if authenticity isn't your goal and you really need Protracker MOD support if authenticity isn't your goal and you really need Protracker MOD support
for any other reason... for any other reason...</p>
The code should be pretty portable, all OS/platform dependent stuff is <p>The code should be pretty portable, all OS/platform dependent stuff is
at the top. Code for testing is at the bottom. at the top. Code for testing is at the bottom.</p>
You'll need some kind of sound output that calls back the player providing <p>You'll need some kind of sound output that calls back the player providing
it a stereo interleaved single float buffer to write into (0dB=1.0). it a stereo interleaved single float buffer to write into (0dB=1.0).</p>
Changelog: <p>Changelog:</p>
2024-03-09: (modifications by Jason Bou-Samra) 2024-03-09: (modifications by Jason Bou-Samra)
* changes to main() routine to make executable from Linux command line interface * changes to main() routine to make executable from Linux command line interface
@@ -33,6 +33,8 @@
* included some external header files * included some external header files
* cleanups * cleanups
2007-12-06: first "release". Note to self: Don't post stuff on pouet.net when drunk. 2007-12-06:
* first "release". Note to self: Don't post stuff on pouet.net when drunk.
TO COMPILE: g++ -o tinymod `pkg-config --libs alsa` tinymod.cpp -lm -L . -l:libportaudio.a TO COMPILE:<br>
type **make** or **g++ -o tinymod `pkg-config --libs alsa` tinymod.cpp -lm -L . -l:libportaudio.a** on the command line