home *** CD-ROM | disk | FTP | other *** search
/ Da Capo / da_capo_vol1.bin / programs / amiga / edit / octamedv2 / docs / synthsounds.doc < prev    next >
Text File  |  1993-03-13  |  21KB  |  701 lines

  1.          THE SYNTHETIC SOUND EDITOR
  2.         *==========================*
  3.  
  4.  
  5. This  is the editor, which is used to design simple pieces of waveforms and
  6. to  "program"  the  volume  and pitch altering sequences.  Synthetic sounds
  7. don't  take  much memory (that's the main advantage of them).  They can use
  8. the  whole  5-octave  range.   Although they are quite simple, they usually
  9. sound quite "cool" (and remind me of the good old C-64).
  10.  
  11. Getting started
  12. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  13. First  load  OctaMED,  select  the  Instr-panel,  click the Synth-gadget to
  14. initialize a new synthsound.  Then click the Synth-display selection gadget
  15. to  display  the synthsound editor.  Please turn editing off.  You can play
  16. the current sound with keyboard, like ordinary samples.
  17.  
  18. Waveform editing
  19. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  20. There  are  two  waveform  displays,  the  left one is the "master waveform
  21. display" and the right one is for intermediate editing (it also serves as a
  22. copy  buffer).   Between  the  waveform displays are some gadgets, that are
  23. used for transferring waveforms between displays.
  24.  
  25. First  there  are two copy gadgets.  If you press the left copy gadget, the
  26. right waveform will be copied to the left one (and vice versa).  Gadget "<-
  27. EXCHANGE ->" exchanges the waveforms on the left and right.  "<- MIX" mixes
  28. the left waveform to the right waveform.  It is a powerful tool that can be
  29. needed  quite often.  "<-ADD" is similar to the mix, but it doesn't produce
  30. any  average between the wforms (= waveforms, from now on).  The wforms are
  31. simply  added together.  It's possible, that the waveforms exceed the upper
  32. and  lower  limits  (in  that  case,  they  are  truncated).  Two "<- EDIT"
  33. "EDIT->"  gadgets  allow  you to select either of the displayed wforms as a
  34. current  waveform, which is then used in some editing functions.  Sometimes
  35. they're  automatically  set  (when  you  draw  the  wform  with  mouse, for
  36. example).   "UNDO"  undoes  your  last  editing operation.  It can be quite
  37. useful.   "RANGE  ALL"  selects  the  current  wform,  so  that any editing
  38. operations affect the whole wform.
  39.  
  40. Freehand drawing
  41. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  42. A  very  simple way to create wforms is to draw them from scratch.  This is
  43. easily  done.   Just press the left mouse button and draw...  There are two
  44. drawing  modes.  The default is "pixel".  The other is "line".  This can be
  45. used  for  drawing  straight lines.  There's also a mix-mode, that works in
  46. both  "line"  and  "pixel" -mode.  It mixes the drawed pixels or lines with
  47. the already existing data.  Mode-selection gadgets are located below "RANGE
  48. ALL".
  49.  
  50. Waveform length
  51. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  52. Each  waveform  in  synthsound  can be 2 - 128 bytes long (it must be even,
  53. though).   The  shorter the waveform, the higher the pitch (it also depends
  54. on  the  wform itself).  Usually, to make the pitches compatible with other
  55. instruments,  you should use length 2, 4, 8, 16, 32, 64 or 128.  The length
  56. can be changed with "LEN:" gadgets below the left wform, by typing in a new
  57. value or by clicking the single-step gadgets.
  58.  
  59. Multiple waveforms
  60. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  61. Each synthsound can consist of more than one wform (the maximum is actually
  62. 64). On the left, below the left wform, there's a set of gadgets:
  63.  
  64. curr. wform #
  65.    |
  66.    0  < > / 00
  67.       |/    \|
  68. next/prev    number of the last waveform
  69.  
  70. The arrow gadgets select the next/previous waveform. As this is a operation
  71. that is needed often, there are keyboard shortcuts:
  72.     Alt-cursor left  = previous
  73.     Alt-cursor right = next
  74.  
  75. There are two Add gadgets that allow you to increase the number of waveforms.
  76. "Last" adds a new waveform after the last wform.
  77. "Here" inserts a new wform here, and shifts the others.
  78.  
  79. Del gadgets:
  80. "Last" deletes the last wform.
  81. "Here" deletes the current wform.
  82.  
  83. Preset waveforms
  84. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  85. There  are some simple, often needed preset waveforms available at a single
  86. click.   First  make  sure, that the destination wform is the current wform
  87. (selected  with  the  EDIT  <-/->  gadgets).   Then  just  click the preset
  88. waveform icon.  The icons are located at the bottom of the editor.
  89.  
  90. The available waveforms are: sine, saw up/down, pulse, random and triangle.
  91. The CLR-gadget clears the current wform.
  92. The ALL-gadget clears the whole synthsound (so be careful..)
  93.  
  94. Range operations
  95. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  96. These  are  some  basic  operations, that are applied to the selected range
  97. (highlighted  white).   You can select the range by dragging the mouse over
  98. the wform with the right mouse button down.  You can select the whole wform
  99. by  clicking  "RANGE  ALL".  The Range start/Range end gadgets at the lower
  100. right corner of the synthsound editor can be used to make small corrections
  101. to the area.
  102.  
  103. When  there's  no  range  selected, there's a single horizontal white line.
  104. This  is the cursor.  Some editing operations need it.  The cursor position
  105. can be set by clicking the right mouse button on the wform area.  There are
  106. also  three  narrow  gadgets  (on the left of the preset wform gadgets) for
  107. positioning the cursor:
  108.  
  109. cursor to     cursor to end
  110. start   |     |
  111.     <  +  >
  112.            |
  113.       cursor to the middle (of the wform)
  114.  
  115. On the middle of the screen, there's a word "RNG", followed by a strip of
  116. gadgets:
  117.     RNG  Cut  Copy  Paste  Clr  Dbl  Rev  <  >
  118.  
  119. Cut    (works only on left wform). It "cuts" the selected area, which is then
  120.     moved to the right wform display.
  121. Copy    copies the selected range to the right wform, but doesn't cut it away.
  122. Paste    copies the contents of the right wform to the position pointed by
  123.     the cursor.
  124. Clr    clears the range.
  125. Dbl    "doubles" the range, making it play one octave higher.
  126. Rev    reverses the range.
  127. < or >    shift the ranged data to left or right.
  128.  
  129. There are two other editing operations: stretch and volume change.
  130.  
  131. Stretch allows you to stretch a point of the wform towards some other point
  132. (understand?? no?? then try this:)
  133. For example, select a sine wave.  Then position the cursor on the middle of
  134. the  waveform (there's a gadget for this purpose, see above).  Now activate
  135. the  "STRETCH:"-gadget  (on  the  left  lower corner of the synthsound ed).
  136. Type  in the amount of moving, e.g.  32.  This should demonstrate it...  If
  137. the number you type in is negative, the point is stretched to left.
  138.  
  139. Volume change allows you to increase/decrease the volume of selected range:
  140. First  select  a range.  Then activate the "VOL.CHG:"-gadget.  Now you must
  141. enter  the  amount  of  volume  change (in %'s).  For example, to halve the
  142. volume,  you  should  type 50.  If you want to double the volume, type 200.
  143. The volume will be changed when you press Return.
  144.  
  145. Transformation
  146. ¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  147. This  is  quite  a powerful feature.  It allows you to change a waveform to
  148. another  smoothly (by creating the waveforms between them).  Demonstration:
  149. Allocate 9 new waveforms (click Add/Last 9 times).  Now you have 10 wforms.
  150. Move  to  wform  00,  and select a pulse waveform, for example.  Then click
  151. Transform:   Start  to mark the beginning of transformation range.  Move to
  152. wform 09 (the last one).  Put here a sine wform.  Click Transform:  Do, and
  153. the  magic  is  done.   If  you view the wforms 01 - 08, you'll notice that
  154. there's  now  a  smooth  transition  from  the pulse wave to the sine wave.
  155. -----------------------------------------------------------------------------
  156.  
  157. THE PROGRAMMING LANGUAGE
  158. ========================
  159.  
  160. Note: please read this section carefully before experimenting, because you
  161.       can lock up your machine with the synthsound programming language (as
  162.       with any other language)
  163.  
  164. The  programming language is used for controlling the volume/pitch/vibrato/
  165. waveforms/arpeggio/etc...    of  the  synthsound.   It  consist  of  simple
  166. keywords, of which some have an argument.
  167.  
  168. The  programming  is done using two lists of commands/numbers.  These lists
  169. are  displayed  through  a  small  window below the right waveform display.
  170. First  there  are  line  numbers in decimal and hex (two leftmost columns).
  171. The  middle column contains the volume sequence, while the rightmost is the
  172. waveform/pitch sequence.
  173.  
  174.        volume ctrl seq
  175.           |
  176. line      |    waveform ctrl seq
  177.   |       |    |
  178.   00 00   40   00
  179.   01 01  END  END
  180.  
  181. These