background image

Содержание VoxBox TRS-80

Страница 1: ...VOXBOX Speech Recognition Device Catalog Number 26 1181 Radio hack TRS BO MICRO COMPUTER SYSTEM CUSTOM MANUFACTURED IN U S A FOR RADIO SHACK S5 A DIVISION OF TANDY CORPORATION ...

Страница 2: ......

Страница 3: ...nguage driver program and three application programs Using the examples and instructions in this manual you can write your own programs for custom applications Use the training mode to teach the VOXBOX up to 32 words or phrases each word phrase up to 1 2 seconds long Re train it at any time to recognize a different 32 word vocabulary in any language Note Speech recognition is a new technology In f...

Страница 4: ...e Driver Program 5 3 Hints on Using VoxBox 7 4 Running the Application Programs 8 5 How to Write Your Own Application Programs 21 Appendices A Modifying the Driver Program parameters 29 B Table Summary of Important Addresses 30 C Device Specifications 31 ...

Страница 5: ...X Take care to make the correction properly 4 Connect the power supply mini plug into the back of the VOXBOX 5 Plug the VOXBOX power supply into a source of 120 VAC 6 Follow the power up instructions below REMOVE DOOR OVER TRS 80 CARD EDGE CONNECT VOXBOX CONNECTORIZED CABLE WITH CABLE EXITING BOTTOM OF CONNECTOR PLUG POWER UNIT IN HERE VOXBOX POWER UNIT PLUG INTO 120 VAC OUTLET POWER ON OFF SWITCH...

Страница 6: ...te the connection properly 4 Connect the power supply mini plug into the back of the VOXBOX 5 Plug the VOXBOX power supply into a source of 120 VAC 6 Follow the power up instructions below VOXBOX CABLE TO EXPANSION INTERFACE CABLE EXITS FROM BOTTOM OF CONNECTOR EXPANSION INTERFACE VIDEO DISPLAY NOT SHOWN PLUG POWER UNIT IN HERE VOXBOX POWER UNIT PLUG INTO 120 VAC OUTLET POWER ON OFF SWITCH IN ON M...

Страница 7: ...e highest RAM addresses in your machine There are three different machine language tapes SP16 SP32 SP48 corresponding to the three possible memory sizes 16K 32K and 48K RAM 1 Turn on the VOXBOX The Power Button is on the rear of the case at the left 2 Turn on any other peripherals you are going to use 3 Turn on the Computer as usual TRSDOS users should load and execute the BASIC interpreter 4 Now ...

Страница 8: ...ns programs The driver program will remain intact until you turn off the computer or replace the contents of the highest 4096 RAM bytes in your computer Pressing RESET will not affect the driver program But always reserve memory as in the preceding table Saving the Driver Program on Disk With a disk system you can save the driver program SPnn in a disk file Use the TAPEDISK utility program describ...

Страница 9: ...ching your lips Movement of the microphone introduces additional variations into the system which increase the chance of recognition mistakes When VOXBOX is ready for you to talk press the push to talk button on the Mic release the button when you have finished pronouncing the word or phrase Speak slowly and distinctly into the Mic using as little inflection as possible You will need to pronounce ...

Страница 10: ...in the upper left corner of the Screen when it is listening This means it is time for you to press the push to talk button and say the appropriate word or phrase To interrupt the Computer while it is waiting for speech input hold down the HHacid key while you speak into the Mic Loading the Programs All the programs are designed to run under LEVELIIBASIC If you are operating under TRSDOS type BASIC...

Страница 11: ...el a complete sequence and begin over again with the word PART OK To accept an entry after visual verification SAVE To signal the end of the entry program After training the system you may enter part numbers and quantities by entries of the following form PART digit digit QUANTITY digit digit OK For example PART 123 QUANTITY 45 OK OK signals the system to enter this data If you or the system makes...

Страница 12: ... system makes an entry mistake you can clear a digit by saying BACKSPACE After saying FIRE the computer will compute the 10 second burn and display elapsed time in seconds distance to the moon in miles per hour and pounds of fuel remaining Good Luck Plot Program This program shows you a plot of your voice This is the raw data which the computer works with to recognize words The top plot is a measu...

Страница 13: ...OSUB 7000s REM I NIT WORD LIST 120 PRINT VOICE DATA ENTRY INVENTORY 125 PRINT DEMO PROGRAM 130 PRINT 1 35 PRINT CODE FUNCTION 137 PRINT 140 PRINT i S TRAIN 150 PRINT 2 i ENTER INVENTORY 180 PRINT 190 INPUT C 200 GOSUB 9000 s REM CLEAR SCREEN 210 ON C GOTO 1 000 2000 220 GOTO 120 1 000 P R I NT RA I N I NG MODE 1002 POKE 16526 1003 POKE 16527 Rl 1004 X USR 0 1010 PRINT 1020 PRINT PLEASE SAY THE FOL...

Страница 14: ...T SPEECH 2122 IF W SCRATCH THEN 2800 2125 IF W BACKSPACE THEN 2600 2130 IF W QUANI 1 t V THEN 2300 2140 IF ASC W 47 AND ABC W 58 THEN 2200 2150 IF ASC W 64 AND ASC W 68 THEN 2200 2160 IF W THEN 2200 2165 C C 1 2170 GOTO 2120 2200 PRINTQDjW 2205 U U 2220 D D 2 2230 GOTO 2120 2300 PRINTS D QUANTITY 5 2302 L1 C L1 C 4 2305 Z D 2 LEN W 4 2310 D Z 2320 P1 C QUANTITY L1 C 20 2325 U 0 2330 GOSUB 6000 233...

Страница 15: ...HEN 2120 2740 OC 1 2745 U U i 2750 GOTO 2330 2800 PRINT SPRINT SCRATCH 28 1 P R I NT 85 1 2 ST R I NG 32 2820 GOTO 2005 6000 POKE 16526 3 6010 POKE 16527 5 Rl 6015 SET 0 0 6020 X USR 0 6025 RESET 0 0 6030 X PEEK B1 6040 IF X V THEN 6000 6050 W WD X 6052 C C 1 P 1 C W L 1 C 2 LEN W 6080 RETURN 7000 REM INITIALIZE TABLES 70 1 WD 1 SCRAT CH 7020 WD 2 PART 7030 WD 3 QUANT I T Y 7040 WD 4 0K 7050 WD 5 ...

Страница 16: ... 14 6 7150 WD 15 7 7160 WD 16 8 7170 WD 17 9 7180 WD 18 7190 WD 19 A 7200 WD 20 B 7220 WD 21 PART 7230 WD 22 OK 7240 WD 23 5 7250 WD 24 9 7260 WD 25 1 7270 WD 26 2 7280 WD 27 6 7290 WD 28 7 7300 WD 29 BACKSPACES 73 10 WD 30 PART 9000 PR I NTS 1 CHR 3D CHR 28 5 CHR 23 REITURN 10000 CLS 14 ...

Страница 17: ...AVE TO LAND MANUALLY 190 PRINT SET BURN RATE OF ROCKET TO ANY VAI _UE 200 PRINT BY ENTERING ONE DIGIT AT A TIME TIL YOU 205 PRINT GET THE VALUE YOU WANT THEN SAY FIRE 208 PRINT SAY BACKSPACE TO ERASE THE LAST DIGIT 209 PRINT YOU LL SEE THE NEW POSITION WEIGHT ETC 210 PRINT UPDATED AFTER EACH BURN FIRST 220 PRINT WE TRAIN THE SYSTEM ON THE DIGITS TYpE 230 PRINT ANY KEY TO GET STARTED 250 A INKEY sl...

Страница 18: ... 565 GOTO 450 568 PRINT 3448 P1 447 570 IF M N 0 001 THEN 650 580 IF T 001 THEN 440 590 S TSIF M N S K THEN 610 600 S M N K 610 GOSUB 840 IF I 0 THEN 760 620 IF W 0 THEN 640 630 IF J 0 THEN 790 640 GOSUB 750 GOTO 570 650 PRINT3704 FUEL OUT AT L SECONDS 660 S V SQR V V 2 A G G 670 V V G S L L S 680 W 3600 V 690 PRINTS 768 ON MOON AT 5L5 SECONDS IMPACT VELOCITY W MPH 700 IF W 1 2 THEN PRINT3832 PERF...

Страница 19: ... 5 844 Ti Q 1 2 1 0 1 6 0 l 12 0 1 20 0 30 850 I A G S S 2 V S Z S Tl 855 RETURN 1000 RESET 0 0 1010 IF X 20 OR X 21 THEN 568 REM ENTER 102B IF X 23 THEN 450s REM TRY AGAIN 1030 REM BACKSPACE 1040 PRINT QP1 1050 P1 P1 1 1060 IF PK448 THEN PI 447 1070 K INT K 10 1080 GOTO 450 2000 FOR 1 0 TO 1 2005 PRINT 31 92 F IRE 2010 POKE Bl 20 I 2020 POKE 16526 0 2030 POKE 16527 R 1 2040 X USR 0 2050 IF PEEK B...

Страница 20: ...1 9462 L 1 1 8795 B2 1 9425 GOTO 90 80 R 1 1 1 2 s B 1 29690 s L 1 30357 62 29727 GOTO 90 90 CLS 100 PRINT 350 SPEAK 110 POKE BlfO 120 POKE 16526 0 130 POKE 16527 Rl 140 X USR 0 150 CLS 160 L PEEK L1 1 65 P R I NTS 1 1 4 LEN 5 L 170 B B2 180 FOR 1 10 TO L 10 190 IF PEEK B 0 THEN X l ELSE X 0 200 SET IjX 210 IF PEEK B 1 0 THEN X l ELSE X 0 220 SET IiX 4 230 SET I i 47 PEEK B 2 4 240 SET 47 PEEK B 3...

Страница 21: ...rograms you should assume that some misunderstanding will occur and provide for checks on the data or verification of what was said at selected points in your program and have the program allow for correction if that is important and required as is done in the INVENTORY demo Technically speaking VOXBOX is a speaker trained isolated word speech recognition system with a 32 word vocabulary Speaker t...

Страница 22: ...Figure 3 Training Index not stored in memory is used to specify individual words in the table i During Training VOXBOX analyzes each spoken word and stores its characteristics in this table 32 Training Sample of Word Training Sample of Word 1 Not recognized FIGURE 3 20 ...

Страница 23: ...ginning of the program once it must be followed by training Training accepts known spoken words and extracts features from these words which are stored away for future comparison with unknown words during recognition During training a training index number TR 0 to 31 is given to identify the specific word sample Recognition identifies unknown words spoken to VOXBOX It may be called as frequently a...

Страница 24: ...48 5 MS 40 IF MS 16 THEN AD 1 i GOTO 80 50 IF MS 32 THEN AD 176 GOTO 80 60 IF MS 48 THEN AD 240 s GOTO 80 70 80 GOTO POKE 35 1652 6 6 90 POKE 165 11 1 AD 100 X USR 0 i SYSTEM Training Entry at Relocation 0 Before you can recognize words you must train the unit on your or the intended user s speech patterns The training subroutines do this The training subroutine must be called once for each word o...

Страница 25: ...E 16526 1040 POKE 16527 AD 1050 POKE TA TR 1060 X USR 0 1070 IF PEEKn A THEN GOTO 1090 1080 RETURN 1090 PRINT ERROR PLEASE REPEAT 1100 GOTO 1030 After executing X USR 0 line 1060 the VOXBOX will be listening Parameters from that word will be stored away associated with the training index TR The word or phrase spoken may be up to 1 5 seconds long with one or more embedded silences not exceeding 0 1...

Страница 26: ...ees error can result from using the unit in a noisy environment To interrupt the system return to BASIC monitor while waiting for a speech input press down the BREAK key and say a word into the microphone such as break This will cause a break to occur To use the recognition routine first set up a USR routine with entry at Relocation 3 Then call the USR routine when you want the user say the word o...

Страница 27: ...210 REM TR INDEX W STRING ARRAY 220 DIM W 32 230 W 0 0 240 W 1 1 250 W 2 2 260 W 3 3 270 W 4 4 280 W 5 5 290 W 6 YES 300 W 7 NO 310 W 8 PERHAPS 320 W 9 FASTER 330 W 10 SLOWER 340 FOR TR 0 TO 10 350 PRINT SAY W TR 360 GOSUB 1000 REM TRAIN 370 NEXT TR 400 REM GET VOICE INPUT 410 POKE 16526 420 POKE 16527 AD 430 PRINT SPEAK 440 X USR 0 s REM CALL RECOGNIT 450 W PEEK TA 460 IF W 31 THEN GOTO 500 470 P...

Страница 28: ...10 FOR 1 1 TO 300 920 NEXT Is RETURN 930 RETURN 1000 REM CALL TRAINING SUBROUTINE 1010 TA AB 1018 IF TA 32767 THEN TA TA 65536 1030 POKE 16526 1040 POKE 16527 AD 1050 POKE TA TR REM PASS TRAINING INDEX TO SUBR 1060 X USR 0 1070 IF PEEK TA THEN GOTO 1090 1080 RETURN 1090 PRINT ERROR PLEASE REPEAT 1100 GOTO 1030 26 ...

Страница 29: ...nd 2 of its tables were both ENTER you would now have 2 training samples of the word ENTER In Recognition you might get either 1 or 2 but both would be interpreted to mean ENTER Articulation People have a tendency to drop some sounds out of speech For example A and 8 sound alike if the T sound is dropped from 8 Be careful to articulate clearly or choose words where such confusion is not possible W...

Страница 30: ......

Страница 31: ...rejected as unidentifiable This parameter has been carefully set at a value which provides an acceptable tradeoff of these characteristics The current value of the parameter is 350 DEC 015E HEX This parameter is stored in two bytes at relocation 254 least significant byte and 255 most significant byte These locations in absolute address are as follows User Memory Locations DEC Locations HEX 16K 28...

Страница 32: ...27 240 POKE 29690 TR POKE 19462 TR POKE 3078 TR X USR1 B X USR1 0 X USR1 B or or or DEFUSR1 28672 DEFUSR1 45056 DEFUSR1 61440 POKE 29690 TR POKE 19462 TR POKE 3078 TR X USR1 0 X USR1 fl X USR1 B where TR the training where TR the training where TR the training index a decimal number index a decimal number index a decimal number from Bto 31 from Bto 31 from Bto 31 To have VOXBOX Listen POKE 16526 3...

Страница 33: ...which follows detection of beginning of word TRS 80 with Level II Basic and at least 16K RAM May be used with other peripherals and more capable versions of TRS 80 system Memory Requirements 4096 bytes RAM reserved at the high end of user memory Peripheral Device Address Used Equipment Required Inputs Power I O PORT AF HEX 175 DEC 120 VAC 50 60 Hz 0 1 Amp via separate 15 VDC power pack included Lo...

Страница 34: ...NOTES ...

Страница 35: ......

Страница 36: ...d or modified During this period if a defect should occur the product must be re turned to a Radio Shack store or dealer for repair and proof of pur chase must be presented Purchaser s sole and exclusive remedy in the event of defect is expressly limited to the correction of the defect by adjustment repair or replacement at Radio Shack s election and sole expense except there shall be no obligatio...

Отзывы: