home *** CD-ROM | disk | FTP | other *** search
- /* $Id: d10tvf.mnu,v 1.6 89/05/06 17:13:18 lee Exp $
- * GLIB - a Generic LIBrarian and editor for synths
- *
- * D10 Tone Filter Librarian
- *
- * Code started 24 JAN 89 -- Michael R. Kesti mrk@gvgspd.GVG.TEK.COM
- * modified by Greg Lee
- * $Log: d10tvf.mnu,v $
- * Revision 1.6 89/05/06 17:13:18 lee
- * rel. to comp.sources.misc
- *
- */
-
- #include "glib.h"
- #include "vis.h"
-
- #define D10TONSIZE 246
- #define RESERVESIZE 20
-
- char *visnum();
-
- /* This array contains arbitrary screen labels */
- struct labelinfo Ldtvf[] = {
- #MENU
-
-
-
- COMMON FILTER 1 2 3 4
- ----------------- -------------------------------------
- Cutoff Freq % % % %
- Structures % % Resonance % % % %
- Partial Ena % Freq KF % % % %
- Env Mode % Bias Pnt/Dir % % % %
- Bias Lev % % % %
- Depth % % % %
- Vel Sens % % % %
- Depth KF % % % %
- Time KF % % % %
- Attack % % % %
- Decay % % % %
- Recover % % % %
- Release % % % %
- Attack Lev % % % %
- Decay Lev % % % %
- Sustain Lev % % % %
-
-
- Press SPACE BAR to sound note % at volume % for duration % on channel % .
- #END
- -1,-1,NULL
- };
-
- struct paraminfo Pdtvf[] = {
- /*
- NAME TYPE POS MAX OFFSET MASK SHIFT ADHOC
- */
- #O tvf_cutoff_freq1 num %% 100 37
- #O tvf_cutoff_freq2 num %% 100 95
- #O tvf_cutoff_freq3 num %% 100 153
- #O tvf_cutoff_freq4 num %% 100 211
- #O struct12 struct %% 12 10
- #O struct34 struct %% 12 11
- #O tvf_resonance1 num %% 30 38
- #O tvf_resonance2 num %% 30 96
- #O tvf_resonance3 num %% 30 154
- #O tvf_resonance4 num %% 30 212
- #O parmute pmute %% 15 12
- #O tvf_freq_kf1 tkeyfol %% 14 39
- #O tvf_freq_kf2 tkeyfol %% 14 97
- #O tvf_freq_kf3 tkeyfol %% 14 155
- #O tvf_freq_kf4 tkeyfol %% 14 213
- #O envmode envmode %% 1 13
- #O tvf_bias_pntdir1 biaspd %% 127 40
- #O tvf_bias_pntdir2 biaspd %% 127 98
- #O tvf_bias_pntdir3 biaspd %% 127 156
- #O tvf_bias_pntdir4 biaspd %% 127 214
- #O tvf_bias_lev1 biaslev %% 14 41
- #O tvf_bias_lev2 biaslev %% 14 99
- #O tvf_bias_lev3 biaslev %% 14 157
- #O tvf_bias_lev4 biaslev %% 14 215
- #O tvf_depth1 num %% 100 42
- #O tvf_depth2 num %% 100 100
- #O tvf_depth3 num %% 100 158
- #O tvf_depth4 num %% 100 216
- #O tvf_vel_sens1 num %% 100 43
- #O tvf_vel_sens2 num %% 100 101
- #O tvf_vel_sens3 num %% 100 159
- #O tvf_vel_sens4 num %% 100 217
- #O tvf_depth_kf1 num %% 4 44
- #O tvf_depth_kf2 num %% 4 102
- #O tvf_depth_kf3 num %% 4 160
- #O tvf_depth_kf4 num %% 4 218
- #O tvf_time_kf1 num %% 4 45
- #O tvf_time_kf2 num %% 4 103
- #O tvf_time_kf3 num %% 4 161
- #O tvf_time_kf4 num %% 4 219
- #O tvf_attack1 num %% 100 46
- #O tvf_attack2 num %% 100 104
- #O tvf_attack3 num %% 100 162
- #O tvf_attack4 num %% 100 219
- #O tvf_decay1 num %% 100 47
- #O tvf_decay2 num %% 100 105
- #O tvf_decay3 num %% 100 163
- #O tvf_decay4 num %% 100 220
- #O tvf_recover1 num %% 100 48
- #O tvf_recover2 num %% 100 106
- #O tvf_recover3 num %% 100 164
- #O tvf_recover4 num %% 100 221
- #O tvf_release1 num %% 100 50
- #O tvf_release2 num %% 100 108
- #O tvf_release3 num %% 100 166
- #O tvf_release4 num %% 100 223
- #O tvf_attack_lev1 num %% 100 51
- #O tvf_attack_lev2 num %% 100 109
- #O tvf_attack_lev3 num %% 100 167
- #O tvf_attack_lev4 num %% 100 224
- #O tvf_decay_lev1 num %% 100 52
- #O tvf_decay_lev2 num %% 100 110
- #O tvf_decay_lev3 num %% 100 168
- #O tvf_decay_lev4 num %% 100 225
- #O tvf_sustain_lev1 num %% 100 54
- #O tvf_sustain_lev2 num %% 100 112
- #O tvf_sustain_lev3 num %% 100 170
- #O tvf_sustain_lev4 num %% 100 227
- #O autopitch num %% 127 -60
- #O autovol num %% 127 -63
- #O autodur num %% 20 -5 *5
- #O autochan num %% 16 -1 *5
- NULL,NULL,-1,-1,-1,-1,visnum,0,0,0,0
- };
-
-
- /*
- * dtvfdin
- *
- * Take library bank 'data' and stuff values in the P array, by using
- * the setval function.
- */
-
- dtvfdin(data)
- char *data;
- {
- /* The first RESERVESIZE bytes are reserved (arbitrarily) for the voice name */
- #SETVAL
- }
-
- /*
- * dtvfdout
- *
- * Take (possibly changed) parameters values out of the P array and
- * put them back into the library bank 'data'.
- */
-
- dtvfdout(data)
- char *data;
- {
- #GETVAL
- }
-
- /* end */
-