[Scummvm-tracker] [ScummVM :: Bugs] #15043: FREESCAPE: CPC sounds are not implemented

ScummVM :: Bugs trac at scummvm.org
Sun Dec 15 19:06:04 UTC 2024


#15043: FREESCAPE: CPC sounds are not implemented
------------------------+--------------------------------
Reporter:  neuromancer  |       Owner:  neuromancer
    Type:  defect       |      Status:  new
Priority:  normal       |   Component:  Engine: Freescape
 Version:               |  Resolution:
Keywords:               |        Game:
------------------------+--------------------------------
Comment (by neuromancer):

 Adding support using ay3891x emulated functions is too hard. There are two
 options to do it, none of them are actually good:

 * We could try to reverse engineer each sound and reimplement it directly
 on ScummVM (similar to other freescape releases). This is too hard and
 time consuming.

 * We could try to emulate the specific sound routine adding a more general
 Z80 emulation. While this could work and the sound routine are already
 identified, it will require to add a large amount of code for the
 emulation of sounds. It is not feasible.

 The best solution is to record each sound for each CPC game as a small wav
 file, and reproduce it directly from the code. It is feasible to do it
 since the freescape engine allows to use set of fixed sounds (usually
 around 30 or less per game). This is easy to implement (it's already
 there) and it does not require to add a lot of code (just some small mono-
 channel wav files). While is a bit of pain to record, cut and save each
 one, it is a much better solution.

 I already started working on recording the Dark Side CPC sounds and some
 sounds are already working. The emulator used for recording is caprice32
 (https://github.com/ColinPitrat/caprice32).
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15043#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list