Jump to content
IGNORED

Transylvania, a new version using TMS5220 synthetizer


jespol

Recommended Posts

Jespol,

 

Could you post the one of the source files (the output from QBOX with the BYTE data)? I'll give it a try. I'm sure it should work just fine.

 

I looked at the .bin files that you posted, but I can't/don't know how to convert them into a file that I can work with. I really need source code.

 

Mark

 

This is a little utility I wrote to convert a binary file to source code data statements.

I remember using it to do some tests with QBOX

 

post-16219-0-35442400-1349025545_thumb.jpg

 

bin2byte.zip

Edited by retroclouds
  • Like 1
Link to comment
Share on other sites

You're right... some samples are not present in the game because the real sound is worse, but the emulation sound was good !!!

In fact emulation of the 5220 is not totally reliable or it does not emulate some bugs of the TMS52200 (I vote for the second solution).

But all the samples in the game sound well (or not too bad).

 

You have the complete collection of samples we have generated from Qbox, but only some of them have been retained (cause of bad sound, french voice, or simply unused).

I dont't think that other elements could interrest you because the video processor TMS3556 is unknown in your country (and in the rest of the world), and the TMS7000 serie CPU has never been used in a TI computer... but it is a very interesting microcontroler (not fast but easy to code and it integrates all we need in a single chip).

 

I heard sounds you obtain with a Ti99. It is clear that the revision of the TMS5220 chip is different or the coefficient table in ROM is different. The result on an Exelvision machine is far better than the emulator, sounds are clear (with some exception) with good bass (Exelvision has added some kind of filters).

Edited by jespol
Link to comment
Share on other sites

so, if i understood well :

 

TI99 don't have TMS5220 but the previous version, TMS5200, labelled CD2501E-NL

and it's a huge difference in sound quality !

 

Unfortunally, i didn't found the CD2501e-NL datasheet to see if it's possible to remplace the original CD2501E-NL by the latest TMS5220 & roms, but i found a partial answer on WIKI :

 

TMS5220 (AKA CD2805E?): Improved version of the TMS5200, pin but not function compatible (has new LPC tables and a new chirp table); used on (later) Apple II Echo 2 cards, (rumor) on the very last run of TI 99/4A speech modules.

Edited by rocky007
Link to comment
Share on other sites

And we used a modified coefficient and chirp tables with QBOX, not the original one !

Last revision of 5220 is embedded in all exelvision computer (Exl100 and Exeltel): Exeltel allows to change the frequency (male/female voice) and adds a 6100 ROM chip (with many french words and some sounds).

Link to comment
Share on other sites

Yes... but with one major problem: TMS7000 CPU uses SRAM and not DRAM, and SRAM was very expensive... so the computer was built with only 2ko of SRAM and 32 or 64ko of DRAM for Video purpose. And the communication with the DRAM is via the TMS3556 video controller... and it is slow, very slow ! Hopefully some SRAM extensions exist (16ko cartridge and 32ko embedded in the floppy device).

 

The other main problem is elsewhere. At the same time appears a brand new computer: Amstrad CPC with its known great success in european countries... and in 1986 (when exeltel appears), the 16/32 Atari computers push the 8bit platform out.

Link to comment
Share on other sites

  • 2 years later...

So, how is the new speech conversion program coming along? Would it be possible to alternatively have it work with a different coding table? As far as I know, the architecture of the TI-99's speech synthesizer is pretty much the same as the TMS5220, it just uses a different coding table with is partly supported by QBOX, and slightly different parameters. The parameters would be as follows:

 

- The chip type would be a TMS5200/TMC0285 (look for SUBTYPE_TMS5200 in the file tms5110r.c which is part of the source code of MESS, there you will find the correct coding table).

- The sampling rate is 8000 Hz, and the frame length is 200 samples, so 40 frames occur per second. This is actually unsupported by QBOX which assumes 200 samples per frame for 10 kHz, but 160 samples per frame for 8 kHz, which in both cases would result in 50 frames per second. In order to process speech correctly with QBOX, in addition to supply the correct coding table (I have one if someone needs one), you'd have to first convert the source material to 8 kHz, then speed it up to 10 kHz and save it as that, feeding the result into QBOX and processing it as 10 kHz. It would be fine if your program would allow converting to the TMS5200 without using such tricks.

Link to comment
Share on other sites

No, it wasn't Mizapf. I answered to the text quoted here:

 

We have found sources of a modern encoder for LPC string, and we will try to adapt the output (and the algorithm) for TMS5220... I hope this new converter will enhance human and non human samples.

 

If anything, Mizapf is involved in speech output of M.E.S.S., as he's (or was?) the maintainer of the TI-99 driver of M.E.S.S. To that end, I've just downloaded M.E.S.S: 0.155 (the current version) to check its speech support, and it doesn't speak at all... maybe I just need a new set of the TI-99 ROM's, or I need to do something else. But it doesn't list a speech synthesizer under the "sound" devices anymore, so I suspect it doesn't support speech anymore.

Link to comment
Share on other sites

I'm indeed the current maintainer of the TI-99 drivers in MESS (note that we dropped the dots a while ago). Speech is certainly available in the current MESS release; you may have outdated ROMs or you did not activate speech. Go to ftp.whtech.com, folder /emulators/mess/roms, download ti99_complete.zip and unzip it into your rompath. Do not unzip the zip files inside that archive.

 

In order to enable speech you must plug in the speech synthesizer into the P-Box. From the command line, add

 

 

-peb:slot5 speech

 

if you want the speech synthesizer (plus adapter board) to be put into slot 5. Note that the slots have different options (slot 8 is reserved for the floppy controllers).

 

Michael

Link to comment
Share on other sites

OK, thank you! I managed to get it to work, and it sounds pretty nice now. I only think there's a bit of sampling noise on the speech... maybe a slight low-pass filter would do it good. It might already be enough to smooth out the transition of one sample to the next (I mean the samples that come out of the speech synthesizer at the 8 kHz rate).

 

I'm indeed the current maintainer of the TI-99 drivers in MESS (note that we dropped the dots a while ago). Speech is certainly available in the current MESS release; you may have outdated ROMs or you did not activate speech. Go to ftp.whtech.com, folder /emulators/mess/roms, download ti99_complete.zip and unzip it into your rompath. Do not unzip the zip files inside that archive.

 

In order to enable speech you must plug in the speech synthesizer into the P-Box. From the command line, add

-peb:slot5 speech

if you want the speech synthesizer (plus adapter board) to be put into slot 5. Note that the slots have different options (slot 8 is reserved for the floppy controllers).

 

Michael

Link to comment
Share on other sites

  • 8 months later...
  • 2 years later...
  • 1 year later...

OK, I did a bit of an experiment here in order to see how well the graphics would translate to the TI-99. I actually meant to convert the first picture that's seen in the video, but since I wanted the highest possible quality in the source material, I started with the Amiga version. But despite the Amiga supporting 32 (or more) colors at once on screen, it still dithers the graphics. And then I noticed that it actually doesn't start with the picture shown in the video, but in the woods by a stump, so that's the picture I converted. To clean it up, I first un-dithered it by using colors that are the average of the two colors that got mixed and filling the respective area with that color. Actually, for the stump picture, still only 8 colors are needed (plus the colors for the non-graphics area). I then ran the resulting picture through my converter program to see what the colors converted to, and I saw that three of the areas consisted of mainly one color with a few differently colored pixels sprinkled in, so next I filled those areas with that color (which is one of the colors supported by the TMS9918A) so that the areas remain solid.  There are, however, two dark areas which remain dithered because the TMS9918A doesn't support such dark colors. What's also evident is that there are problems with the black lines if they are separating two differently colored areas. But all in all, I think it doesn't look too bad, so I've attached the resulting picture which respects the resolution and colors of the TMS9918A as well as the assembler code for the pattern generator and color tables you need to display the picture on it.

In reality, from the way the pictures are drawn, I guess the author of the original game didn't really store bitmapped graphics, but rather "draw" and "fill" commands, where the fill also supports dithered colors, and then there are some shapes stamped over the drawn graphics. Thie probably saves some memory vs. bit mapped graphics.

Transylvania_TMS9918_result.PNG

Transylvania_TMS9918_asm.zip

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...