home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / new / dev / asm / tbsource / voiceshell / vcli.ff < prev    next >
Encoding:
Internet Message Format  |  1993-12-21  |  2.2 KB

  1. From root Sat Sep  4 15:26 EDT 1993
  2. >From RHorne@cup.portal.com Fri Sep  3 22:30:21 1993
  3. Received: from nova.unix.portal.com by mdata.fi with SMTP (5.65c/1.51PH)
  4.     id AA08635; Sat, 4 Sep 1993 15:26:18 +0300
  5. Return-Path: <RHorne@cup.portal.com>
  6. Received: by nova.unix.portal.com (5.65b/4.1 1.430) 
  7.     id AA05748; Sat, 4 Sep 93 05:30:24 -0700
  8. Received: from hobo  by portal.unix.portal.com (1.740) 
  9.     id AA16792; Sat, 4 Sep 93 05:30:22 -0700
  10. Received: by hobo.corp.portal.com (4.1/4.0.3 1.74) 
  11.     id AA03221; Sat, 4 Sep 93 05:30:22 PDT
  12. To: docbliny
  13. From: RHorne@cup.portal.com
  14. Subject: VCLI File Format
  15. Lines: 52
  16. Date: Sat,  4 Sep 93 05:30:21 PDT
  17. Message-Id: <9309040530.1.22163@cup.portal.com>
  18. X-Origin: The Portal System (TM)
  19. Status: RO
  20.  
  21. Greetings Tomi,
  22.  
  23.    Here is the format for the VCLI data file as you requested.
  24.  
  25.    1.  Header - "VCLI7.0 DATA" = 12 bytes
  26.  
  27.    2.  Command frequency maps - 304*48 = 14592 bytes
  28.  
  29.    3.  Voice Command String Buffers - 16*48 = 768 bytes
  30.  
  31.    4.  CLI Command String buffers - 128*48 = 6144 bytes
  32.  
  33.    5.  Configuration - 4 bytes (see below)
  34.  
  35.    6.  Voice Command Audio Samples - 6400*N Bytes (N=number of commands)
  36.  
  37. Items 1 through 5 are fixed values, while item 6 is adjusted for the number
  38. of commands that have been learned and stored.
  39.  
  40. The reason that the file size becomes so large is that VCLI stores a 6400
  41. byte audio sample of each command for playback when the command is
  42. recognized.  Earlier versions of VCLI used the narrator device to speak the
  43. recognized command.  However, since WB3.0 has eliminated the
  44. narrator.device, I have changed VCLI to store and playback the actual audio
  45. data for each command.
  46.  
  47. The format of the configuration word (Item 5) is as follows:
  48.  
  49.    Byte 0
  50.  
  51.          bit 0 - TimerB/TimerA (0/1)
  52.          bit 1 - Confirm On/Off (0/1)
  53.          bit 2 - NIL/CON (0/1)
  54.          bit 3 - Hires/Lores (0/1)
  55.          bit 4 - Amplitude/Frequency display (0/1)
  56.  
  57.    Byte 1
  58.  
  59.          Sampler ID = 0 for PerfecSound3
  60.                       1 for Sound Master
  61.                       2 for Generic
  62.                       3 for DSS8
  63.    Byte2
  64.  
  65.          Sampler Gain = 0 to 16 for DSS8
  66.  
  67.    Byte 3
  68.  
  69.          Not used
  70.  
  71.  
  72. I hope this helps...                           Richard Horne
  73.  
  74.