home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 497a.lha / ComSMUS_v2.2 / voicebank.prog / README < prev    next >
Text File  |  1991-04-07  |  4KB  |  121 lines

  1.  
  2.  
  3. IFF VOCE format
  4. ---------------
  5.  
  6. The VOCE format was created by Hackercorp as a means of addressing certain
  7. problems with the existing IFF 8SVX sample format which prevented the
  8. Amiga from achieving the maximum fidelity of which it was capable.
  9.  
  10. One goal in creating the VOCE format was to maintain compatibility with
  11. existing samplers and sampling software.  The result is that the VOCE
  12. format uses standard IFF 8SVX files for audio samples; data contained
  13. within the VOCE structure assigns 8SVX files to arbitrary ranges of
  14. notes and note velocities within a VOCE instrument definition.
  15.  
  16. Currently, the Hackercorp Commercial SMUS Player supports this format.
  17. Code in development at Hackercorp is expected to provide VOCE format 
  18. support within a MIDI environment.
  19.  
  20. This document describes the VOCE file format, plus it describes the
  21. operation of the 'voiceiff' program, a currently rather user-unfriendly
  22. (but functional) program that can be used to create VOCE files.
  23.  
  24.  
  25. VOCE format description
  26. -----------------------
  27.  
  28. The VOCE format has many similarities to other IFF files.  A VOCE file
  29. starts with a 'FORM VOCE'
  30.  
  31. FORM VOCE
  32.  
  33. Next come some optional text chunks.  These behave exactly like text
  34. chunks in the other formats.  The currently supported text chunks are:
  35.  
  36.   NAME
  37.   (C)
  38.   ANNO
  39.  
  40.  
  41. The chunk that actually does all the work is the VDAT chunk.
  42.  
  43.   VDAT first_node last_note reference_note low_velocity high_velocity samplename
  44.  
  45.  
  46. Setting up an voiceiff configuration file
  47. -----------------------------------------
  48.  
  49. We're in a hurry, so let's learn by doing.
  50. Here's the config file for creating the piano voicebank.  It's called
  51. piano.input, and the real thing should reside in the same directory in
  52. which you found this documentation.
  53.  
  54.  
  55. 30 51 43 1 127 piano.g1
  56. 52 59 52 1 127 piano.e2
  57. 60 68 60 1 127 piano.c3
  58. 69 76 69 1 127 piano.a3
  59. 76 83 79 1 127 piano.g4
  60. 84 90 84 1 127 piano.c5
  61. 91 99 91 1 127 piano.g6
  62. 100 110 103 1 127 piano.g7
  63.  
  64.  
  65. piano.g1 through piano.g7 are the names of the eight IFF 8SVX files that
  66. are used by the piano voicebank to create the piano sound.
  67.  
  68. The piano.g1 voicebank covers MIDI note numbers 30 through 51 (inclusive),
  69. the base sound of the note (pitch the note plays when played at the sample
  70. rate defined within the piano.g1 IFF 8SVX file is MIDI note 43)  Note that
  71. the same MIDI note ranges are used within SMUS files.
  72.  
  73. The 1 and 127 specify the range of MIDI velocity for which piano.g1 is to
  74. sound.  1 and 127 represent the full range.  A velocity split can be done
  75. by having samples overlap the same key regions but cover different velocity
  76. ranges.  SMUS volume commands (ppp,pp,p,f,ff,fff,etc) are scaled to MIDI 
  77. velocity ranges, and are in effect for all notes on the track on which the
  78. volume command was issued until a new volume command is issued.
  79.  
  80.  
  81. Here's the config file for the madonna bass voicebank.  It's called
  82. mdonabass.input.
  83.  
  84. 20 44 36 1 127 mdona.bass.lo
  85. 45 56 48 1 127 mdona.bass.me
  86. 57 68 60 1 127 mdona.bass.hi
  87.  
  88.  
  89. In this voicebank, there are just three 8SVX sample files.  Again, there
  90. is no velocity split.  This voicebank is a punchy alternative to some
  91. of the existing bass voices out there.
  92.  
  93. Creating the voicebank file
  94. ---------------------------
  95.  
  96. To create the piano voicebank, execute:
  97.  
  98. voiceiff <piano.input piano
  99.  
  100. This will create an IFF VOCE file, piano, that the SMUS server can recognize
  101. and load, resulting in the loading of a number of 8SVX files and attaching
  102. them to one "virtual keyboard."
  103.  
  104.  
  105. Epilogue
  106. --------
  107.  
  108. OK, well, not much of a manual -- it was done in a rush.  I hope you can
  109. use it if you need to, and if you have a problem that you can't seem to
  110. figure out, give me a call.
  111.  
  112. -karl
  113.  
  114.  
  115. Postscript
  116. ----------
  117.  
  118. Feel free to alter the voiceiff source to change the output of the voiceiff 
  119. copyright and author chunks to be correct for the voicebanks you create.
  120. I will streamline this through the config file in a subsequent version.
  121.