FrenkelS / keensource456tandy

Commander Keen 4 Tandy 320x200 16 color source code port
GNU General Public License v2.0
19 stars 1 forks source link

Add Tandy DAC sound effects / music #7

Open FrenkelS opened 2 years ago

FrenkelS commented 2 years ago

There's a request for playing proper music on the Tandy DAC.

FrenkelS commented 2 years ago

The game plays music at 560 Hz. I've tried to convert mp3s to 560 Hz and 1120 Hz, but it sounds horrible.

FrenkelS commented 2 years ago

Maybe sound effects are possible.

NY00123 commented 2 years ago

A sample rate of 49716 Hz should be close to an OPL's output. Recordings of music and sound effects can be downsampled before they become usable for the Tandy DAC.

The usual caveat related to the impact of OPL music on OPL sound effects still holds: https://pckf.com/viewtopic.php?t=1012 https://www.youtube.com/watch?v=td3-zGWc5hc