Skip to content

Texas Instruments Speak & Spell Synthesizer(TMS5100), Linear Prediction Decoder Utility

Notifications You must be signed in to change notification settings

BrerDawg/ti_lpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aug 2024 v1.08

ti_lpc

Texas Instrument Speak & Spell synthesizer, renders rom sounds/vocal hex strings to PC sound hardware/sound files.

The Speak & Spell developed in the late 1970s made use of a TMS5100 digital signal processor chip (DSP) for speech decoding. Briefly: the chip contained glottal chirp sound source(vowels), white noise source(consonants,etc), an adjustable lattice filter and a D/A converter. Either of the 2 sound sources were fed in varying proportions to the adj lattice filter (which shaped them, the glottal source becoming formants), this then fed the D/A converter to produce analog audio. The chip was an amazing engineering achievement at that time. The speech encoding made use of linear prediction coding (LPC) which greatly reduced data rates and therefore chip count, this allowed cost effective mass production. The audio encoding was done at the factory and stored in seperate roms as bit strings. It is these rom bit strings which were read by the above mentioned chip that controlled its elements and produced fluid sound articulation. Two 16KB 8 bit roms were required to hold enough speech to make a clever useful educational tool. The bit strings which I call lpc strings below (hex byte strings), are segmented into frames, they contain which audio source to use, its period (pitch if a glottal source), amplitude gain, and filter coefficients.

The TMS5100 (aka TMC0280) evolved over the next few years with improvements in speech quality, e.g: TMS5110, TMS5200, TMS5220. Some difference are the glottal waveform shape and code lookup tables used for filter coefficients among other things. These changes make for incompatibility, so vocal rom strings for one version of chip won't work well or at all with other versions. This app has tables for 4 chip numbers mentioned, so try all 4 for best sound. You can also make changes to the tables for other chip versions not included.

Some of the code is re-purposed from other projects I've tinkered with over the years, so excuse the antiquated c style, evolving conventions and inefficiencies. Also note the code is not precise in sound reproduction to the hardware, but it sounds close enough.

Portions of this code come from the 'Speech library for Arduino' project: https://github.com/going-digital/Talkie, You will find many lpc strings in that project to try, they are within c code files, but this app will accept cut/pasted versions of them, just copy the hex strings and comma delimiters, remove array names, equal signs, braces and semicolons.

The app makes use of information from MAME project and the toil of numerous archivists(hackers), visit the mame site to see some amazing preservation coding.

Where pieces of code or ideas are originate from other people, the comments in source code will give links to who or where it came from.

Some history:- https://www.vintagecomputing.com/index.php/archives/528/vcg-interview-richard-wiggins-talks-speak-spell

Some hardware details:- http://furrtek.free.fr/index.php?a=speakandspell&ss=1&i=2

Side note:- Votrax produced a phoneme based (as opposed to LPC based) sythesizer around the time of the TMS development, e.g. the SC-01, refer: https://en.wikipedia.org/wiki/Votrax

Build

The code was developed with gcc on Ubuntu 20.04 64 bit, may work for Windows, but has not been tested some time.

For gui version:

Requires: RTAudio (pre v6.0.1, see below if linking beyond this version), alsa/pulseaudio/jack, and FLTK libraries for linking, fltk-1.3.4-2 or better should work.

[If you have RTAudio at/above v6.0.1, you need to use alternate versions of: 'gc_rtaudio.cpp' and 'gc_rtaudio.h', get these from my 'hrir_cmdline' repository.]

Uses fltk's fluid gui designer for layout of main window controls and some code is held within the fluid's 'fluid.fl' def file, fluid generated 'fluid.h' and 'fluid.cxx'.

To build gui executable, type: make

No installation is required.

If it built without error, then run: './ti_lpc' from a folder where permissions for execution have been enabled, the app will read/create a 'ti_lpc.ini' settings file, and two '.au' audio files in same folder.

For command line version:

The command line version is built by going into its folder and running make.

Usage

For gui version:

Hover over controls to see a hint at what they do.

Place Speak & Spell unzipped roms in a dir (Roms are optional, see below). Get them from a MAME rom site, e.g: snspell.zip. Then select their dir path with the 2 'Sel' buttons.

Speak & Spell roms come in pairs (see below regarding single roms), e.g:

USA rom0 file: tmc0351n2l.vsm
USA rom1 file: tmc0352n2l.vsm

UK rom0 file: cd2303.vsm //quick way to to hear difference is sounding the Z letter, Zed of UK, Zee for USA
UK rom1 file: cd2304.vsm

Note: Some units only had one Rom, these Roms are organised differently and their alphabet (if it was a Speak and Spell), various phrases and tone addresses are unknown, this code will not correctly show these roms. You will have to explore these roms using various controls provided to help map out addresses of where things are stored.

(Roms are optional, if you have hex/decimal speech strings you can use them as is without roms).

The 4 buttons on the right labelled: 'tms5100', 'tms5110', 'tms5200', 'tms5220', each load predefined code tables into editbox 'tms5xxx code tables', try each of these if speech is corrupted or the wrong pitch. Note: there were other chips made that are not included, but you could try these by pasting in values, next to appropriate param labels: If you have decimal values use param labels like: 'chirp=120, 255.....' If you have hex values use labels like: 'chirp_hx=0xaf, 0x12.......'

The left editbox 'Rom Contents' will show all the letters, numbers phrases, beeps and words in the selected rom pair, and their rom hex address (only for Speak & Spell rom pairs as these roms have a certain format and contain text that was shown on the unit's fluorescent display). The rom address itself needs to be right clicked on to make it sound (not the letter or word/sentence).

The larger middle editbox 'LPC hex byte strings' holds handy scratch area for lpc hex byte strings (one hex string per line, use a colon if you want to prefix a text label, e.g: 'isle: 45,AB,36,....', 8 bit only, it can handle c code formatting e.g: 0x45,0xab.. is ok, these likewise can be right clicked to sound. Notice whenever you sound, the edit boxes 'lpc hex' has a hex string place in it. This is the last sounded string (possibly extracted from a rom depending on what editbox you right clicked it), you can play it again by hitting the Play button to the right, there is also the editbox 'lpc decml' which allows decimal strings to be entered, its also filled in when you click the Play for 'lpc hex' and visa versa.

Speech roms exist for devices other than the Speak & Spell, these roms would still sound, but you will need the rom addresses where each vocal string resides. You can enter rom address in the 'addr' edit box and hit enter. There is also some buttons to shift an address by a fixed amounts to help explore and find lpc string locations, if you don't know their addresses (hover over buttons for a brief description). You'll have to select which TMS chip version the roms are coded for using the 4 buttons on right, e.g: 'tms5200'. There is also an address auto stepping function. Be aware that the 'zz_cummulative.au' sound file (described below) will grow large with auto stepping.

The app also generates a: 'zz_audio.au' sound file after each sounding, the filename, samplerate and gain can be changed as req. Also generated is a: 'zz_cummulative.au' sound file, always at 8KHz, it has all the soundings made since starting the app session.

Note: if you set an incorrect 'pc srate' (i.e: not matching your current pc's audio hardware samplerate) you will get pitch and duration errors (chipmunk/slo-mo).

Long strings of speech (>20 secs of voicing) will take some time to render and be heard, it may appear the app has locked up, but if you ran app from a command line you will see it's probably still processing audio by the console output.

Use 'AEdit' button to open your favourite audio editor, it runs a script/bat file and passes the saved .au audio filename you specified (or 'zz_audio.au'), edit the script or batch to call whatever audio app you prefer (script requires execution priveledges): (linux) 'open_audio_editor.sh'
(windows) 'open_audio_editor.bat'

To open the 'help.txt' file from Help menu, edit script below:
(linux) edit script file to call your favourite text editor (script requires execution priveledges): 'open_editor.sh' (e.g: gedit $1 &)
(windows) edit bat file to call your favourite text editor (script requires execution priveledges): 'open_editor.bat' (e.g: notepad %1)

You can use an (antique) program called: QBoxPro (with DosBox running Windows 3.11) to create a tms5220 lpc compatible binary file from a wave file. For an excellent guide, refer: http://furrtek.free.fr/index.php?a=speakandspell&ss=9&i=2

Select a binary file to play using 'B.File' button.

For command line version:

For the command line version the run app 'ti_lpc_cmd' or 'ti_lpc_cmd.exe', use --help option or read the 'ti_lpc_cmd_help.txt' for usage examples.

Graphs

The embedded graph shows various waveforms, cyan trace marks start of each speech frame, green is glottal pitch/white noise stimulus that feeds into lattice filter, yellow is rendered speech wfm (lattice filter o/p, 8KHz)

leftclick and drag to move trace on x-axis
select a sample on a trace firstly (this also gives you keybrd focus),

use mousewheel to change x scale.

press 'c' to zero y offset positions.

press 'a' and spin mousewheel to change y amplitude, on a per trace basis

press 'x' and spin mousewheel to change x position (or just drag), for all traces
press 'y' and spin mousewheel to change y position, on a per trace basis

The second graph in its own window shows the samplerate converted speech wfm, this is at the samplerate you have entered for your current PC audio hardware.
press 'h' for help on controlling this graph's trace.

Download audio file 'zz_audio.au' to hear a sample that this code produced.

ti_lpc_app

//some strings for different chips, place them in 'LPC byte strings' editbox, anything before the colon such as labels (as shown below) are removed on playing the string (play by right clicking on a line)

tms5100
isle: 45,AB,36,AE,D5,56,A7,3E,CA,D4,2A,EE,96,73,D5,55,57,5F,73,9C,6B,91,1E,27,FB,04,9F,34,A3,C6,CE,89,29,9A,A5,5F,EC,13,73,72,0D,CF,27,37,DE,7E,46,32,19,29,FA,FA,8C,20,B2,9A,7D,F3,9A,89,7B,8F,70,EF,36,13,F3,39,A5,DE,69,46,1A,3B,82,BB,F3,AC,73,CC,40,A2,43,44,4A,9F,76,3E,00,00,95 45,AB,36,AE,D5,56,A7,3E,CA,D4,2A,EE,96,73,D5,55,57,5F,73,9C,6B,91,1E,27,FB,04,9F,34,A3,C6,CE,89,29,9A,A5,5F,EC,13,73,72,0D,CF,27,37,DE,7E,46,32,19,29,FA,FA,8C,20,B2,9A,7D,F3,9A,89,7B,8F,70,EF,36,13,F3,39,A5,DE,69,46,1A,3B,82,BB,F3,AC,73,CC,40,A2,43,44,4A,9F,76,3E
color: 01,B8,33,96,80,CF,5B,11,2C,E1,F3,56,AA,2B,39,42,A6,4A,B7,94,7D,84,CA,39,54,5D,E7,CA,A5,64,AF,A2,EC,34,C3,4A,57,2B,DC,71,47,54,36,C7,A0,6A,9F,AC,6A,99,E6,C4,3A,C5,F8,36,A9,6A,78,BA,B5,65,D2,95,F1,F6,31,DC,15,5D,C9,45,73,EC,39,67,5F,7E,E9,F5,88,12,0B,44,B5,19 
neighbor:  2A,0A,21,D5,9A,B5,7C,88,3E,BB,6C,B3,09,86,59,1D,AD,73,35,B4,B5,6A,D9,29,F4,AA,A5,9C,24,9B,0E,41,57,6D,BD,B4,D3,A8,33,69,78,EA,6E,44,E0,34,A3,24,B3,B2,A4,3A,C5,5A,74,E4,25,86,9E,5A,B6,97,6D,CC,D6,CC,D2,4B,EB,F6,B1,B5,5B,9F,3A,EB,AA,37,DF,B4,DD,0B,C9,94,6E,EA,BA,67,5A,29,6B,1E
your score: 0C,58,AC,A5,C1,60,8A,EB,4C,86,D4,43,A3,61,B3,E9,D9,87,38,67,6A,1D,6D,2E,3E,C8,06,57,5D,6B,B2,90,8E,66,FA,92,76,60,33,C4,6C,25,ED,22,6E,AB,73,4A,BE,43,43,B4,A0,88,A6,87,25,EB,26,91,8B,0F,CF,C6,D4,2C,6F,5D,31,44,C4,EA,D9,59,73,88,55,5C,D0,CA,5B,02,73,B5,27,30,FA,B8,07,43,6B,EF,1A,6D,6D,9B,91,C3,35,43,BA,2C,A3,63,9A,37,A7,D9,B6,BB,E6,9C,74,77,CB,58,01,8C,51,11,C0,79,15,09,CC,D7,19,01,06,02,04,37,D3,BC,96,15,16,EA,B7,45,BE,DD,5D,AA,51,2B,7C,66,98,66,A7,D6,95,EE,09,55,7F,6D,88,3C,69,66,79,EA,E8,A3,4D,DD,4A,CB,AC,6F,5A,BA,B9,4E,DB,5E,BF,F4,42,20,8C,56,04,5C,33,C5,E0,01
fleur: 02,04,93,21,81,04,12,48,60,B4,A9,90,E5,9D,3A,EB,A4,4D,05,97,8B,54,43,BB,20,89,55,95,B7,D9,E6,DA,E1,75,D1,C8,9A,D0,33,CE,5C,4B,6A,B2,7A,64,67,A8,DC,D3,32,31,C2,22,63,E6,65,A6,5A,21,5E,65,E9,01


tms5110
FstnSeatBelt: 08,46,95,EE,22,B2,01,00,00,00,00,00,00,00,00,80,81,4C,54,19,08,82,2C,E5,C8,A2,9D,22,4D,8B,D5,9A,AB,DA,93,11,7B,16,11,B5,25,23,8C,6C,44,19,4F,7A,68,A1,5B,66,AB,7C,D2,43,09,93,9B,B2,79,1F,03,36,23,53,E0,17,51,06,5E,2F,23,60,F7,54,06,9A,4C,13,60,A8,54,06,72,48,19,A5,EA,76,69,F9,BC,46,35,6D,DA,F6,78,CD,6A,5B,AD,EC,F1,9A,4D,B7,5A,D9,EB,35,6B,08,0B,89,C5,6D,56,15,11,6E,A9,14,78,59,49,80,5F,42,05,F8,A5,55,81,17,58,5B,AC,32,54,C2,17,AE,56,B5,9B,9A,DF,1A,AD,6A,75,33,9B,55,6A,37,E8,19,6E,AF,D4,6E,D0,23,CC,5E,A9,55,62,79,98,D3,54,A3,E4,31,73,37,A9,15,41,69,ED,76,62,2B,A3,47,21,EE,98,35,66,F7,CE,D8,BA,A6,CD,A4,D2,64,B8,4B,59,C1,B7,EA,50,D6,B2,42,6A,B1,21,BF,65,C7,52,98,83,79,CB,CE,71,50,97,F2,96,55,FD,32,AE,EA,4F,AB,C4,42,0B,EB,A6,C0,49,CC,02,FC,12,28,C0,2F,6D,02,FC,DE,22,C0,EF,25,02,FC,D6,AA,C0,0F,11,2D,AE,18,42,C6,4F,46,5C,39,19,DC,DE,B4,B8,82,21,4E,3D,71,71,68,42,BF,5A,84,E2,D0,A6,A1,2A,1B,80,81,22,D5,80,01,6A,23,D7,AC,3A,55,4B,B6,AC,55,74,99,B4,AD,5D,AB,D8,74,0F,DD,BA,4E,71,9D,EE,B2,75,DD,CA,AB,3D,B8,5B,79,59,4C,9B,F1,DE,F2,0B,9D,09,95,AC,E5,67,5E,13,C6,DD,D0,8F,2A,DD,45,64,03,00,03,3F,3B,31,F0,4B,1B,03,BF,04,33,F0,4B,0A,03,BF,A4,3E
criticality: 08,46,95,EE,22,B2,01,00,00,00,00,00,00,00,00,20,ED,A9,8D,D1,A2,4F,5B,2D,19,4A,44,9F,31,B3,73,D5,92,CE,63,46,33,9A,A9,D9,C6,8C,61,25,92,FA,8E,99,D4,07,2D,E7,1B,33,8B,73,3A,F1,37,56,76,4B,BE,9C,6F,9C,52,9D,2A,AD,17,3D,6C,77,6F,1C,51,75,E2,6E,BD,1B,67,EF,5C,B2,6A,97,2E,D5,35,EB,94,6E,82,BD,72,D6,C9,C3,94,68,F8,AC,95,BA,56,49,B3,3A,2B,76,CD,3C,A1,D6,5A,6C,1A,62,3C,94,86,14,05,AE,5B,25,0E,A9,4B,54,4B,4F,EC,C0,0A,A1,AD,CC,DE,A1,42,4C,47,6E,D1,98,22,3A,AF,58,8D,9A,66,2E,5E,A9,3B,71,55,DD,52,72,55,30,69,EE,B6,E5,AA,A0,CA,CD,59,CB,55,61,65,98,D3,9E,57,6E,86,D3,D9,DB,8E,99,59,67,84,74,76,D9,8D,0A,B1,BA,ED,72,A8,D3,CA,BC,28,1D,17,AF,8C,2D,4B,6B,3E,5C,B9,68,D6,55,82,9F,76,A3,3C,2B,C5,52,6E,AE,AB,57,4C,31,24,CA,16,AF,58,43,88,A7,2E,5E,A9,F9,60,4B,5D,BD,72,D5,2D,5A,DE,66,95,2A,2B,CA,A9,CB,A8,8D,79,4D,90,FB,51,1B,B3,1E,47,F7,A3,15,A9,D3,4A,CE,DD,F0,B1,C2,D5,AC,A0,15,55,BA,8B,C8,06,10,20,DA,D0,94,4B,28,77,77,C7,AD,A5,C1,AD,29,B9,D7,4C,35,DC,DC,B3,9D,59,4D,8B,96,F5,5D,B3,FA,A0,A8,E8,5C,66,0B,C6,12,91,49,81,DD,DA,04,D8,7D,4B,80,59,B6,0C,18,79,AB,D5,9A,9C,34,34,4B,6B,C5,2E,C3,84,FA,D6,73,1A,C4,35,F5,A5,E7,96,A0,23,DE,4B,CF,C3,D1,4B,B2,97,56,7B,A0,A5,E4,43,2B,AA,74,17,91,0D,00,64,35,A9,1A,11,6D,C6,1E,C6,D1,A2,17,8F,36,5C,A0,46,3D,5E,AD,47,15,95,5E,B2,5A,B3,2A,26,B9,B8,F5,A6,5D,8D,FD,55,19,87,9B,AB,72,7E,05,16,42,63,E0,45,04,0A,00,18,08,AD,5D,80,D8,3B,15,48,A5,2C,85,1C,27,C4,D4,CB,8A,D9,87,6A,CB,DA,15,9B,2B,E7,94,B5,23,55,EF,A1,A6,6B,14,68,9C,63,B5,EA,53,CD,F4,CD,9A,25,28,47,C6,E2,36,5B,73,34,B3,CD,68,46,95,EE,22,B2,41,80,EA,2E,04,C8,79,24,F5,50,C6,C4,BC,65,9B,D1,76,AB,4A,9B,B2,A3,9E,09,E5,6D,E9,46,5B,A3,A2,6B,C2,F3,A9,9B,C5,B7,B8,1F,7C,8F,89,AE,76,3F,E9,1A,57,C9,62,5E,52,DD,26,92,16,C1,22,CA,5D,44,36,00,00,00,00,00,00,00,00,00,B8,D1,BD,71,44,D5,69,BD,1B,67,EF,5C,B2,6A,97,2E,D5,35,6B,95,6E,82,BD,72,D6,CA,C3,94,68,F8,AC,95,BA,56,49,B3,3A,2B,76,CD,3C,A1,D6,5A,6C,1A,62,3C,94,86,14,05,AE,5B,25,0E,A9,4B,54,4B,4F,EC,C0,0A,A1,AD,CC,DE,A1,42,4C,47,6A,D1,98,22,3A,AF,D8,AD,1B,85,EE,3B,71,68,55,49,DD,5A,62,55,58,69,DE,A4,C5,A6,31,2A,34,59,0B,4D,A3,57,68,B2,12,AA,C2,E8,B4,64,21,66,81,9D,1A,4D,50,14,C1,5D,44,64,03,08,90,98,DB,E8,4B,47,30,6B,9E,53,9B,0E,E5,F4,B5,A7,34,97,A2,15,6B,4E,69,B1,54,C3,D7,AC,5A,63,AA,97,2F,5E,AD,C6,50,4F,5F,BC,7A,F5,A9,5E,B6,BA,8C,6C,43,4A,C9,69,9A,C9,18,B7,48,D2,B6,4A,12,0B,95,4E,6B,D5,E8,E2,E1,BB,D6,AA,DE,C9,33,76,AD,D5,7C,90,79,EE,1A,B3,39,27,F7,DE,D8,46,F7,CE,8E,D3,0B,8D,A8,D2,5D,44,36,98,51,24,7A,69,D5,0A,73,E7,36,62,93,63,C0,0A,2E,1A,70,00,00,60,B6,57,9A,61,25,D7,ED,60,D4,D3,DD,69,5A,49,8B,A5,BB,B3,35,4B,30,73,D3,36,AB,37,1F,AA,61,7B,4E,EB,36,44,3B,37,AF,3A,7C,B2,64,AC,5E,65,F8,20,A9,5C,BD,CA,88,41,12,B1,7A,E5,9E,4C,D4,7C,F1,CA,35,9B,98,F9,AA,95,4B,0C,F6,F0,4E,2D,55,B3,AC,CE,B9,51,8A,2A,DD,45,64,03,08,90,BA,A3,02,79,A5,08,90,A6,F3,C8,29,26,45,51,D6,51,52,53,AE,A6,BC,A3,A7,E6,1C,43,79,DB,48,C5,29,87,FA,94,99,B2,51,37,ED,2A,3B,87,24,5B,DC,5B,6E,09,CD,BC,EC,2D,BC,EA,86,F1,38,9F,FB,25,0C,E3,4B,3E,F7,6B,58,81,E5,78,0F


tms5200
correct: 0x0E,0x70,0xC7,0x49,0x00,0x3E,0x86,0xA5,0x58,0x8D,0x2C,0x53,0xCD,0x76,0x8B,0x56,0x98,0x23,0x95,0xA2,0x99,0x6B,0x95,0x9B,0xDA,0xAC,0xCA,0x27,0x6D,0xF1,0x8D,0xBD,0xAB,0x59,0xF7,0x26,0xB5,0xBE,0x73,0x79,0x4D,0x90,0xDC,0xB9,0x21,0x0C,0x28,0x8F,0x91,0x29,0x47,0x00,0x00,0x01,0x0C,0xED,0xAA,0x80,0xE5,0xA2,0x05,0xD0,0x74,0x3B,0x02,0xBC,0x4B,0x7A,0x00,0x00
what's that: 0x00,0xA9,0x62,0xAD,0x1F,0x38,0x3A,0x9F,0x4A,0x87,0x7C,0x12,0x6D,0x73,0x2A,0xE7,0xE3,0x4D,0x3D,0xF5,0x29,0x6C,0xCF,0x64,0xAF,0xC4,0x37,0x6F,0x55,0xD0,0x69,0x92,0xEA,0x24,0x00,0x59,0x85,0x1B,0x20,0x84,0x34,0x06,0xF8,0xEC,0x82,0x00,0xED,0xCC,0x52,0xC1,0x6A,0x46,0x6A,0x26,0x3E,0x75,0x54,0x99,0x62,0xD2,0x7D,0x34,0x45,0x44,0xB1,0x72,0x7E,0x07,0x68,0x5C,0xE3,0x00,0x0F,0x6C,0x0D,0x50,0x00,0x19,0x01,0x34,0x71,0x76,0x45,0x8B,0x13,0x66,0x22,0x77,0x54,0xDE,0xBB,0xAB,0xF2,0xEA,0x53,0xF9,0x10,0x61,0x6A,0x6F,0x4E,0xE5,0x9A,0x87,0xC6,0x4C,0x39,0x45,0x8C,0x65,0x66,0xFE,0x78,0x65,0x3E,0xA7,0x7A,0x44,0xE9,0x95,0x85,0x5C,0xEA,0x1E,0x95,0x47,0x11,0x4B,0x99,0x69,0x4C,0x01,0x07,0x0C,0x13,0xA1,0x81,0x07,0x00,0x00
ready start: 0xAE,0x91,0x85,0xD3,0x32,0xB8,0xB5,0xC6,0x35,0x4E,0x09,0xCA,0x7E,0x6A,0xDF,0xB9,0xCC,0xB4,0xFB,0xA9,0xE2,0xD4,0x30,0xD5,0xEE,0xB7,0x5A,0x55,0xEA,0x5A,0x10,0x99,0xA5,0x55,0x31,0x1B,0x1B,0x4E,0xA6,0x55,0xE5,0xAE,0xCA,0xD2,0x9D,0x5A,0x55,0xA6,0x08,0x49,0x2D,0x8D,0xB5,0x6C,0x11,0xB0,0x54,0x9A,0x06,0x0C,0xB0,0x8C,0x45,0x29,0xBC,0x4A,0x53,0xCB,0x4E,0xA5,0xA9,0xC2,0x4C,0xD5,0xF2,0x1A,0xA0,0x03,0x35,0x05,0xFC,0xA9,0x6C,0x01,0x05,0xFC,0x1D,0x0C,0x10,0x80,0xA6,0xD2,0x4F,0x1E,0x43,0x44,0x86,0xB4,0xBD,0xC5,0xAD,0x4E,0xE5,0x8B,0x77,0x18,0x37,0x59,0x85,0x9F,0xE6,0xA5,0xBA,0x78,0x67,0x33,0x6D,0x91,0x9F,0x22,0x1D,0xE6,0xD0,0x45,0xDA,0x49,0x46,0xB8,0x2C,0x00,0x03,0x64,0x19,0xCA,0x80,0x26,x9B,0x11,0xE0,0x12,0x33,0x00,0xC0,0x03,0x00,0x00
cassette: 0x0E,0xF0,0x25,0x48,0x03,0x1A,0x68,0xB9,0x49,0xCD,0xE1,0x1D,0xAB,0x56,0x06,0x58,0xD6,0xCD,0x02,0x16,0x70,0xC0,0xB7,0x19,0x16,0x90,0x40,0xAB,0xDC,0x30,0xF7,0xE8,0xBA,0xBB,0xDE,0xF5,0x6C,0x46,0xED,0x9A,0x85,0x79,0xC7,0xA9,0x95,0xAC,0x40,0x03,0x1E,0x20,0x80,0x54,0xA9,0x18,0x78


tms5220
automatic: 6B,AC,A4,A7,82,FD,DD,F1,0E,67,68,B2,A2,83,72,1B,A0,52,65,03,FC,24,3A,EA,AD,CD,D5,4C,DB,A9,AB,76,4B,93,2D,67,28,A2,CC,C2,F3,8C,21,2B,D7,70,C9,D8,86,4A,8D,C6,35,49,E9,8B,54,29,76,37,63,C8,CE,DD,54,6A,9D,BA,C6,D2,D2,58,72,AB,5B,DE,72,35,35,5B,84,54,6D,D3,EE,90,11,EA,4E,5A,5B,53,AA,B3,2F,B9,D3,59,BB,6B,E5,94,35,7B,6F,E7,34,AD,D8,BA,17,81,22,94,BB,88,6C,00,03,B4,12,22,01,0E,FC,3F,62,13,7E,23,4C,22
inspector: 29,EB,5E,D9,32,27,9D,6E,FA,66,17,59,7D,DB,DB,B4,B6,7B,D0,CC,70,D2,DB,D6,0D,C7,38,AC,4D,D2,F0,0D,B3,A9,BB,73,C0,4F,E9,11,F0,80,02,86,52,01,03,44,EA,7A,A2,1A,43,D3,6C,F3,4D,6F,DA,B2,56,0C,82,AD,31,29,44,28,77,11,D9,00,E0,80,ED,3C,46,5F,EB,A0,B4,F8,2D,53,F5,27,B0,EC,3F,6F,69,2F,B1,50,4E,F2,86,B3,86,13,18,F5,17,DF,F0,96,65,58,C9,59,FC,F7,FF,6E,8A,42,6C,D5,9A

afternoon: 0xC7,0xCE,0xCE,0x3A,0xCB,0x58,0x1F,0x3B,0x07,0x9D,0x28,0x71,0xB4,0xAC,0x9C,0x74,0x5A,0x42,0x55,0x33,0xB2,0x93,0x0A,0x09,0xD4,0xC5,0x9A,0xD6,0x44,0x45,0xE3,0x38,0x60,0x9A,0x32,0x05,0xF4,0x18,0x01,0x09,0xD8,0xA9,0xC2,0x00,0x5E,0xCA,0x24,0xD5,0x5B,0x9D,0x4A,0x95,0xEA,0x34,0xEE,0x63,0x92,0x5C,0x4D,0xD0,0xA4,0xEE,0x58,0x0C,0xB9,0x4D,0xCD,0x42,0xA2,0x3A,0x24,0x37,0x25,0x8A,0xA8,0x8E,0xA0,0x53,0xE4,0x28,0x23,0x26,0x13,0x72,0x91,0xA2,0x76,0xBB,0x72,0x38,0x45,0x0A,0x46,0x63,0xCA,0x69,0x27,0x39,0x58,0xB1,0x8D,0x60,0x1C,0x34,0x1B,0x34,0xC3,0x55,0x8E,0x73,0x45,0x2D,0x4F,0x4A,0x3A,0x26,0x10,0xA1,0xCA,0x2D,0xE9,0x98,0x24,0x0A,0x1E,0x6D,0x97,0x29,0xD2,0xCC,0x71,0xA2,0xDC,0x86,0xC8,0x12,0xA7,0x8E,0x08,0x85,0x22,0x8D,0x9C,0x43,0xA7,0x12,0xB2,0x2E,0x50,0x09,0xEF,0x51,0xC5,0xBA,0x28,0x58,0xAD,0xDB,0xE1,0xFF,0x030xC7,0xCE,0xCE,0x3A,0xCB,0x58,0x1F,0x3B,0x07,0x9D,0x28,0x71,0xB4,0xAC,0x9C,0x74,0x5A,0x42,0x55,0x33,0xB2,0x93,0x0A,0x09,0xD4,0xC5,0x9A,0xD6,0x44,0x45,0xE3,0x38,0x60,0x9A,0x32,0x05,0xF4,0x18,0x01,0x09,0xD8,0xA9,0xC2,0x00,0x5E,0xCA,0x24,0xD5,0x5B,0x9D,0x4A,0x95,0xEA,0x34,0xEE,0x63,0x92,0x5C,0x4D,0xD0,0xA4,0xEE,0x58,0x0C,0xB9,0x4D,0xCD,0x42,0xA2,0x3A,0x24,0x37,0x25,0x8A,0xA8,0x8E,0xA0,0x53,0xE4,0x28,0x23,0x26,0x13,0x72,0x91,0xA2,0x76,0xBB,0x72,0x38,0x45,0x0A,0x46,0x63,0xCA,0x69,0x27,0x39,0x58,0xB1,0x8D,0x60,0x1C,0x34,0x1B,0x34,0xC3,0x55,0x8E,0x73,0x45,0x2D,0x4F,0x4A,0x3A,0x26,0x10,0xA1,0xCA,0x2D,0xE9,0x98,0x24,0x0A,0x1E,0x6D,0x97,0x29,0xD2,0xCC,0x71,0xA2,0xDC,0x86,0xC8,0x12,0xA7,0x8E,0x08,0x85,0x22,0x8D,0x9C,0x43,0xA7,0x12,0xB2,0x2E,0x50,0x09,0xEF,0x51,0xC5,0xBA,0x28,0x58,0xAD,0xDB,0xE1,0xFF,0x03
twenty: 0x01,0x98,0xD1,0xC2,0x00,0xCD,0xA4,0x32,0x20,0x79,0x13,0x04,0x28,0xE7,0x92,0xDC,0x70,0xCC,0x5D,0xDB,0x76,0xF3,0xD2,0x32,0x0B,0x0B,0x5B,0xC3,0x2B,0xCD,0xD4,0xDD,0x23,0x35,0xAF,0x44,0xE1,0xF0,0xB0,0x6D,0x3C,0xA9,0xAD,0x3D,0x35,0x0E,0xF1,0x0C,0x8B,0x28,0xF7,0x34,0x01,0x68,0x22,0xCD,0x00,0xC7,0xA4,0x04,0xBB,0x32,0xD6,0xAC,0x56,0x9C,0xDC,0xCA,0x28,0x66,0x53,0x51,0x70,0x2B,0xA5,0xBC,0x0D,0x9A,0xC1,0xEB,0x14,0x73,0x37,0x29,0x19,0xAF,0x33,0x8C,0x3B,0xA7,0x24,0xBC,0x42,0xB0,0xB7,0x59,0x09,0x09,0x3C,0x96,0xE9,0xF4,0x58,0xFF,0x0F0x01,0x98,0xD1,0xC2,0x00,0xCD,0xA4,0x32,0x20,0x79,0x13,0x04,0x28,0xE7,0x92,0xDC,0x70,0xCC,0x5D,0xDB,0x76,0xF3,0xD2,0x32,0x0B,0x0B,0x5B,0xC3,0x2B,0xCD,0xD4,0xDD,0x23,0x35,0xAF,0x44,0xE1,0xF0,0xB0,0x6D,0x3C,0xA9,0xAD,0x3D,0x35,0x0E,0xF1,0x0C,0x8B,0x28,0xF7,0x34,0x01,0x68,0x22,0xCD,0x00,0xC7,0xA4,0x04,0xBB,0x32,0xD6,0xAC,0x56,0x9C,0xDC,0xCA,0x28,0x66,0x53,0x51,0x70,0x2B,0xA5,0xBC,0x0D,0x9A,0xC1,0xEB,0x14,0x73,0x37,0x29,0x19,0xAF,0x33,0x8C,0x3B,0xA7,0x24,0xBC,0x42,0xB0,0xB7,0x59,0x09,0x09,0x3C,0x96,0xE9,0xF4,0x58,0xFF,0x0F

(lpc gen by QBoxPro)
kilo pictures: 30,9A,E4,A3,34,B2,CA,69,9A,D6,4E,D3,36,A7,6B,46,27,D8,DB,9C,A1,68,9B,60,6F,73,FA,22,6D,53,B4,CD,19,A2,CA,75,D6,35,67,08,B2,36,94,9B,8C,C1,9B,1E,15,A9,3B,06,AB,66,CC,38,4E,1B,8D,9E,09,95,C8,63,B4,A6,27,94,E3,8E,C1,DA,9A,54,4A,72,7A,EF,B2,53,A9,CD,E9,7D,F0,4A,E3,CE,A7,8B,59,33,D1,FA,9C,26,65,AE,60,DB,7C,9A,58,38,53,62,F3,69,52,C1,4A,8D,4D,A7,CA,05,2B,B5,56,9F,2A,57,EC,D0,5E,7D,AA,5C,B0,DD,6B,F1,29,4B,C3,72,EF,45,A7,AC,03,43,35,17,9F,B2,56,34,F3,58,9C,DC,12,D9,2C,B3,C9,28,87,63,67,8B,3A,AB,2A,96,4D,66,EA,AC,AA,78,11,E9,8D,3B,BA,62,9D,B4,66,4A,1B,32,4E,F7,AE,49,06,28,20,C7,00,57,89,3A,E0,18,09,07,54,9E,36,FA,2C,C3,23,B8,69,EB,BD,ED,30,D7,C6,AD,B7,AE,D3,83,5A,8F,CE,A5,8C,70,EE,BC,BA,90,2D,43,F5,F5,E9,53,E4,6A,D5,D5,A7,CF,91,B2,C3,1E,9F,3E,05,B5,A8,5C,72,FA,62,CC,2D,7A,6E,E9,B3,4A,B5,CC,3A,0C,08,D6,42,00,49,69,3A,20,5A,CD,33,F4,A0,A9,54,73,4F,5F,9D,26,CB,CC,2D,63,B2,1A,92,5B,25,8C,45,9B,AB,47,9D,30,76,A3,A6,E6,4D,04,D0,BC,AA,01,92,D6,38,4D,0B,56,AC,55,F7,74,2D,78,93,75,DD,D3,17,E7,25,39,51,CF,90,4D,B4,7B,D7,39,43,31,DE,62,53,FB,F4,D9,75,A8,77,DD,D3,67,55,65,5A,73,4E,9F,74,95,69,D7,3D,5D,B2,63,EA,3D,E5,F4,59,66,9A,54,DD,D1,0F,9C,A9,EA,4D,14,50,60,85,02,26,B6,18,DD,64,61,6E,5E,65,75,49,65,88,77,94,D1,25,19,21,DA,56,DB,90,84,A5,78,3A,2D,43,14,5A,12,E1,34,F5,4E,44,B9,47,EC,30,78,9E,99,69,71,DD,12,A9,56,86,C5,05,18,C9,F4,E5,1C,D6,64,24,2D,A8,4A,D4,DC,53,F7,A2,C6,96,F7,4E,D3,2A,99,56,CF,3D,4D,2B,68,9E,33,A5,8C,AD,A1,6A,F4,1C,06,38,23,25,80,22,39,1C,30,93,8A,03,D6,9A,08,C0,DC,53,01,98,BB,22,00,63,AA,1A,A0,37,F6,33,B5,46,66,D6,4B,CF,5C,33,46,46,2F,6E,73,0A,94,5D,3D,A9,CD,B5,B0,9A,46,93,36,97,40,11,D1,4B,DA,5C,1D,9B,56,D5,29,73,93,12,5A,3D,47,01,15,6A,28,E0,2B,52,05,7C,A7,22,80,AB,8C,05,70,8C,89,00,8E,30,13,C0,12,A6,04,E8,C2,ED,01