home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / WINRE139.LZH / WINREC / ENGLISH / DSPEFF.TXT < prev    next >
Text File  |  1993-12-26  |  3KB  |  93 lines

  1. DSP effects with WinRec
  2. -----------------------
  3.  
  4. WinRec is able of using DSP sound effects during playing and/or recording.
  5. The DSP program must be available as a .LOD file. The date must be recieved
  6. and transmitted via the DMA matrix without handshake.
  7. Some effects are included into the WinRec package. For the DSP effect
  8. NOTHING.LOD the source code is also included to show you how to transmit the
  9. sound and parameter data. You can use this source as a base for your own
  10. programs. Look at it and try it. You can't destroy your Falcon - only your
  11. ears :-)
  12.  
  13. The effects
  14.     GR_EQU.LOD
  15.  and
  16.      HALL.LOD (only WinRec Pro)
  17. are based on free source codes of Motorola. I have take this sources and adapt
  18. them to the FALCON.
  19.  
  20. To every .LOD file there may exist a .PAR file. This file contains
  21. information about the parameter that can be used to modify the DSP effect.
  22. Using the information in this file you can modify the effect by sliders in
  23. WinRec.
  24.  
  25. The structure of a PAR file:
  26. ----------------------------
  27.  
  28. TITLE [Effect name]
  29. DECPARA/HEXPARA [Parameter no.],[Minimal value],[Maximal value],[Default value],
  30. [Parameter name max 3. chars]
  31.  
  32.  
  33. DECPARA = All values decimal (24 Bit)
  34. HEXPARA = Alle values hexa decimal (24 Bit)
  35.  
  36. example:
  37. ---------
  38.  
  39. TITLE Karaoke
  40. HEXPARA 0,0,7fffff,599999,BAS
  41. HEXPARA 1,0,7fffff,7fffff,VOI
  42.  
  43. The parameters are sent to the DSP via 'Dsp_BlkUnpacked()'. At first the
  44. number of the parameter to be changed and then it's new value.
  45.  
  46. Since WinRec V1.33:
  47. -------------------
  48.  
  49. With the command 'EFFMODE D2D' you can use D2D effects.
  50. Please read the 'CHANGES.TXT'.
  51.  
  52. Since WinRec V1.37
  53. ------------------
  54.  
  55. The extension 'LINK xx' at the end of a PARA line, links the correspondending parameter
  56. with the parameter 'xx'. Using a slider such a parameter in WinRec while holding down
  57. the CONTROL key, both parameter are changed.
  58.  
  59. example:
  60. DECPARA 0,0,31,16,BAS LINK 10
  61.  
  62.  
  63. Now you can create tables:
  64.  
  65. example:
  66. BEGINTABLE x
  67. -0.200,-0.187,-0.171,-0.160,-0.150,-0.137,-0.114,-0.103,-0.092
  68. -0.080,-0.067,-0.051,-0.039,-0.027,-0.015,0.000,0.000,0.030
  69. 0.060,0.090,0.120,0.150,0.180,0.210,0.250,0.290,0.340,0.380,0.460
  70. 0.540,0.750,0.999
  71. ENDTABLE
  72.  
  73. 'x' is the number of the following table. You can use this values with the new 'TABLEPARA'
  74. command:
  75.  
  76. TABLEPARA [table],[parameter no.],[lowest index],[highest index],[default index],
  77. [parameter name]
  78.  
  79. example:
  80. TABLEPARA 0,0,0,31,16,BAS
  81.  
  82.  
  83. If the effect stores internally the highest sample value, you can tell this WinRec with the
  84.  
  85. PEAK YES
  86.  
  87. line. WinRec load periodically (using 'Dsp_BlkUnpacked') two DSP words and shows the value
  88. in the info line of the main dialog. The DSP Interrupt $13 should clear the intern peak
  89. level variables.
  90.  
  91.  
  92.  
  93. Andreas Binner