home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume6 / glib / part02 / d10tvf.mnu < prev    next >
Encoding:
Text File  |  1989-05-21  |  4.7 KB  |  161 lines

  1. /* $Id: d10tvf.mnu,v 1.6 89/05/06 17:13:18 lee Exp $
  2.  * GLIB - a Generic LIBrarian and editor for synths
  3.  *
  4.  * D10 Tone Filter Librarian
  5.  *
  6.  * Code started 24 JAN 89 --  Michael R. Kesti mrk@gvgspd.GVG.TEK.COM
  7.  * modified by Greg Lee
  8.  * $Log:    d10tvf.mnu,v $
  9.  * Revision 1.6  89/05/06  17:13:18  lee
  10.  * rel. to comp.sources.misc
  11.  * 
  12.  */
  13.  
  14. #include "glib.h"
  15. #include "vis.h"
  16.  
  17. #define D10TONSIZE 246
  18. #define RESERVESIZE 20
  19.  
  20. char *visnum();
  21.  
  22. /* This array contains arbitrary screen labels */
  23. struct labelinfo Ldtvf[] = {
  24. #MENU
  25.  
  26.  
  27.  
  28. COMMON                                   FILTER            1    2    3    4
  29. -----------------                        -------------------------------------
  30.                                             Cutoff Freq   %    %    %    %
  31.    Structures       %         %             Resonance     %    %    %    %
  32.    Partial Ena    %                         Freq KF       %    %    %    %
  33.    Env Mode       %                         Bias Pnt/Dir  %    %    %    %
  34.                                             Bias Lev      %    %    %    %
  35.                                             Depth         %    %    %    %
  36.                                             Vel Sens      %    %    %    %
  37.                                             Depth KF      %    %    %    %
  38.                                             Time KF       %    %    %    %
  39.                                             Attack        %    %    %    %
  40.                                             Decay         %    %    %    %
  41.                                             Recover       %    %    %    %
  42.                                             Release       %    %    %    %
  43.                                             Attack Lev    %    %    %    %
  44.                                             Decay Lev     %    %    %    %
  45.                                             Sustain Lev   %    %    %    %
  46.  
  47.  
  48.  Press SPACE BAR to sound note %   at volume %   for duration %  on channel % .
  49. #END
  50. -1,-1,NULL
  51. };
  52.  
  53. struct paraminfo  Pdtvf[] =  {
  54. /*
  55. NAME        TYPE        POS    MAX    OFFSET    MASK    SHIFT    ADHOC
  56.  */
  57. #O tvf_cutoff_freq1    num    %%    100    37
  58. #O tvf_cutoff_freq2    num    %%    100    95
  59. #O tvf_cutoff_freq3    num    %%    100    153
  60. #O tvf_cutoff_freq4    num    %%    100    211
  61. #O struct12        struct    %%    12    10
  62. #O struct34        struct    %%    12    11
  63. #O tvf_resonance1    num    %%    30    38
  64. #O tvf_resonance2    num    %%    30    96
  65. #O tvf_resonance3    num    %%    30    154
  66. #O tvf_resonance4    num    %%    30    212
  67. #O parmute        pmute    %%    15    12
  68. #O tvf_freq_kf1        tkeyfol    %%    14    39
  69. #O tvf_freq_kf2        tkeyfol    %%    14    97
  70. #O tvf_freq_kf3        tkeyfol    %%    14    155
  71. #O tvf_freq_kf4        tkeyfol    %%    14    213
  72. #O envmode        envmode    %%    1    13
  73. #O tvf_bias_pntdir1    biaspd    %%    127    40
  74. #O tvf_bias_pntdir2    biaspd    %%    127    98
  75. #O tvf_bias_pntdir3    biaspd    %%    127    156
  76. #O tvf_bias_pntdir4    biaspd    %%    127    214
  77. #O tvf_bias_lev1    biaslev    %%    14    41
  78. #O tvf_bias_lev2    biaslev    %%    14    99
  79. #O tvf_bias_lev3    biaslev    %%    14    157
  80. #O tvf_bias_lev4    biaslev    %%    14    215
  81. #O tvf_depth1        num    %%    100    42
  82. #O tvf_depth2        num    %%    100    100
  83. #O tvf_depth3        num    %%    100    158
  84. #O tvf_depth4        num    %%    100    216
  85. #O tvf_vel_sens1    num    %%    100    43
  86. #O tvf_vel_sens2    num    %%    100    101
  87. #O tvf_vel_sens3    num    %%    100    159
  88. #O tvf_vel_sens4    num    %%    100    217
  89. #O tvf_depth_kf1    num    %%    4    44
  90. #O tvf_depth_kf2    num    %%    4    102
  91. #O tvf_depth_kf3    num    %%    4    160
  92. #O tvf_depth_kf4    num    %%    4    218
  93. #O tvf_time_kf1        num    %%    4    45
  94. #O tvf_time_kf2        num    %%    4    103
  95. #O tvf_time_kf3        num    %%    4    161
  96. #O tvf_time_kf4        num    %%    4    219
  97. #O tvf_attack1        num    %%    100    46
  98. #O tvf_attack2        num    %%    100    104
  99. #O tvf_attack3        num    %%    100    162
  100. #O tvf_attack4        num    %%    100    219
  101. #O tvf_decay1        num    %%    100    47
  102. #O tvf_decay2        num    %%    100    105
  103. #O tvf_decay3        num    %%    100    163
  104. #O tvf_decay4        num    %%    100    220
  105. #O tvf_recover1        num    %%    100    48
  106. #O tvf_recover2        num    %%    100    106
  107. #O tvf_recover3        num    %%    100    164
  108. #O tvf_recover4        num    %%    100    221
  109. #O tvf_release1        num    %%    100    50
  110. #O tvf_release2        num    %%    100    108
  111. #O tvf_release3        num    %%    100    166
  112. #O tvf_release4        num    %%    100    223
  113. #O tvf_attack_lev1    num    %%    100    51
  114. #O tvf_attack_lev2    num    %%    100    109
  115. #O tvf_attack_lev3    num    %%    100    167
  116. #O tvf_attack_lev4    num    %%    100    224
  117. #O tvf_decay_lev1    num    %%    100    52
  118. #O tvf_decay_lev2    num    %%    100    110
  119. #O tvf_decay_lev3    num    %%    100    168
  120. #O tvf_decay_lev4    num    %%    100    225
  121. #O tvf_sustain_lev1    num    %%    100    54
  122. #O tvf_sustain_lev2    num    %%    100    112
  123. #O tvf_sustain_lev3    num    %%    100    170
  124. #O tvf_sustain_lev4    num    %%    100    227
  125. #O autopitch        num    %%    127    -60
  126. #O autovol        num    %%    127    -63
  127. #O autodur        num    %%    20    -5    *5
  128. #O autochan        num    %%    16    -1    *5
  129. NULL,NULL,-1,-1,-1,-1,visnum,0,0,0,0
  130. };
  131.  
  132.  
  133. /*
  134.  * dtvfdin
  135.  *
  136.  * Take library bank 'data' and stuff values in the P array, by using
  137.  * the setval function.
  138.  */
  139.  
  140. dtvfdin(data)
  141. char *data;
  142. {
  143.     /* The first RESERVESIZE bytes are reserved (arbitrarily) for the voice name */
  144. #SETVAL
  145. }
  146.  
  147. /*
  148.  * dtvfdout
  149.  *
  150.  * Take (possibly changed) parameters values out of the P array and
  151.  * put them back into the library bank 'data'.
  152.  */
  153.  
  154. dtvfdout(data)
  155. char *data;
  156. {
  157. #GETVAL
  158. }
  159.  
  160. /* end */
  161.