Jump to content



Photo
- - - - -

HC-55516


  • Please log in to reply
7 replies to this topic

#1 FrankT

FrankT

    Enthusiast

  • Members
  • PipPipPip
  • 396 posts
  • Location:England

  • Flag: United Kingdom

  • Favorite Pinball: The Flintstones (although I'll play any pinball machine!)

Posted 21 October 2016 - 03:51 PM

After some investigation, I found that before the DCS board, Williams used the HC-55516 CVSD decoder to play pre-recorded speech on their machines. Is anyone able to tell me what bit-rate or sample-rate those chips used, and, if possible, the number of bits it works with?



#2 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,748 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 21 October 2016 - 07:43 PM

Yes, i do!  :)

 

As i just recently tweaked it a lot within the PinMAME core and improved its quality a bit.

 

Here is a nice video by Jeri Ellsworth:

 

 

In principle there is no fixed bit or sample rate really, thats the cool part, so the same chip was used to create the ultra-low-bit-rate speech of Gorgar and the okayish speech of Twilight Zone.

So, depending on the clockrate of the chip (which could even be varied during playing, but in practice is almost not in the pinballs at least), there are new bits streaming in, which are then processed by the CVSD-module (https://en.wikipedia...elta_modulation).

So its roughly kinda like ADPCM, but not exactly the same, and there is also no decoder or encoder for these things that i know of, except for the chip itself (this is actually the cool part of the design, the decoder can also be abused as encoder!), and different from the video claims above (which is doing it purely digital with simple algorithms), also a lot of analog circuitry effects come into play which are not fully understood in the emulation yet (that's why for example the damn Xenon emu is still so scratchy, grrrr! :)).

In terms of 'sample rate', its kinda comparable to cover frequencies from 1000Hz up to maybe 8000Hz or so in the machines it was used in, but one also cannot really say it like that in general.


Edited by toxie, 21 October 2016 - 07:47 PM.


#3 FrankT

FrankT

    Enthusiast

  • Members
  • PipPipPip
  • 396 posts
  • Location:England

  • Flag: United Kingdom

  • Favorite Pinball: The Flintstones (although I'll play any pinball machine!)

Posted 22 October 2016 - 08:49 AM

Well, that's good to know! I was wondering if there was a way to emulate it in sound editing.



#4 FrankT

FrankT

    Enthusiast

  • Members
  • PipPipPip
  • 396 posts
  • Location:England

  • Flag: United Kingdom

  • Favorite Pinball: The Flintstones (although I'll play any pinball machine!)

Posted 23 October 2016 - 01:27 PM

...there is no way, is there? I don't know how to do it, I was hoping somebody else would?



#5 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,748 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 23 October 2016 - 05:47 PM

during my research i found some programs that were supposed to be able to, but either the links were dead or they were actually not doing what they were supposed to do..  :/



#6 FrankT

FrankT

    Enthusiast

  • Members
  • PipPipPip
  • 396 posts
  • Location:England

  • Flag: United Kingdom

  • Favorite Pinball: The Flintstones (although I'll play any pinball machine!)

Posted 23 October 2016 - 09:26 PM

What programs did you find?



#7 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,748 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 24 October 2016 - 07:06 AM

http://www.xentec.be.../vox_studio.htm

http://liquidsdr.org/doc/cvsd/

http://sox.sourceforge.net/

are working ones.

 

The problem here is that these programs/libs are a bit simplistic in their CVSD (de-)compression, which means that they cannot faithfully represent the HC-55516 chip due to its internal effects (decay and ramp up of the integrator and step size).

Then you would also have to locate start/end and clockrate of each of the samples in the sound ROM itself, which i think are hardcoded into the program ROM (but i'm no specialist there).

 

But maybe you can still try to simply insert a sound rom into one of these and see what happens.


Edited by toxie, 24 October 2016 - 07:06 AM.


#8 FrankT

FrankT

    Enthusiast

  • Members
  • PipPipPip
  • 396 posts
  • Location:England

  • Flag: United Kingdom

  • Favorite Pinball: The Flintstones (although I'll play any pinball machine!)

Posted 24 October 2016 - 10:40 AM

Alright, I'll experiment with these, see what I can get out of them.