Forums > MaxMSP

For Virus b users

January 28, 2008 | 5:32 pm

Hi all, just wanted to share a little patch I discovered quite useful.
It contains the mappings and scalings in a coll to assign the various controller parameters of a Virus b.
This is just a simple and quick example patcher, for sure you can make a better use of the data in the coll.
hope iz useful
ciao

max v2;
#N vpatcher 20 74 465 202;
#P window setfont "Sans Serif" 9.;
#P hidden newex 76 24 114 196617 autopattr @autoname 1;
#X prestore hslider 1 0 127;
#X prestore number 1 0 1;
#X prestore number[1] 1 0 127;
#X prestore umenu 1 0 49;
#P objectname u734000012;
#N comlet MIDI out port;
#P hidden inlet 487 15 15 0;
#P hidden newex 291 -40 48 196617 loadbang;
#P hidden message 291 -17 23 196617 0 1;
#P hidden newex 225 17 76 196617 vexpr $i1+$i2;
#P hidden newex 239 183 51 196617 zl ecils 2;
#P hidden message 307 16 82 196617 min $1 , max $2;
#P hidden message 207 79 49 196617 set $1;
#P window setfont "Sans Serif" 12.;
#P number 157 56 45 12 0 128 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number[1];
#P window setfont "Sans Serif" 9.;
#P hidden message 392 16 81 196617 min $1 , size $2;
#N comlet MIDI input;
#P hidden inlet 207 16 15 0;
#P window linecount 2;
#P hidden comment 109 155 83 196617 all notes off , filtered;
#P hidden button 194 185 15 0;
#P window linecount 1;
#P hidden newex 194 207 70 196617 unpack 0 123;
#P hidden comment 249 135 83 196617 stored params;
#P comment 254 40 46 196617 CTL;
#P comment 353 40 46 196617 MIDI ch;
#P comment 62 40 108 196617 select_Ctl_type here;
#P comment 16 40 43 196617 ctl_num;
#P window linecount 2;
#P hidden comment 185 238 83 196617 Values scaled when necessary;
#P window setfont "Sans Serif" 12.;
#P number 353 56 45 12 1 16 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname number;
#P window linecount 1;
#P message 22 56 34 196620 64;
#P user hslider 207 56 18 128 128 1 0 0;
#P objectname hslider;
#P window setfont "Sans Serif" 9.;
#P hidden newex 207 318 191 196617 ctlout;
#P hidden newex 194 160 55 196617 route 123;
#P hidden newex 194 103 80 196617 prepend symbol;
#N coll ;
#T flags 1 0;
#T store Bank_select 0 0 1;
#T store Mod_Wheel 1 0 127;
#T store Portamento_Time 5 0 127;
#T store Ch_Volume 7 0 127;
#T store Ch_Panorama 10 0 127;
#T store Osc1_Shape 17 0 127;
#T store Osc1_PW 18 0 127;
#T store Osc1_Wave 19 0 64;
#T store Osc1_Semitone 20 0 127;
#T store Osc1_Keyfollow 21 0 127;
#T store Osc2_Shape 22 0 127;
#T store Osc2_PW 23 0 127;
#T store Osc2_Wave 24 0 64;
#T store Osc2_Semitone 25 0 127;
#T store Osc2_Detune 26 0 127;
#T store Osc2_FMamount 27 0 127;
#T store Osc2_Sync 28 0 1;
#T store Osc2_ Filt_env_am 29 0 127;
#T store FM_filt_env_am 30 0 127;
#T store Osc2_Keyfollow 31 0 127;
#T store Bank_Select 32 0 1;
#T store Osc_Balance 33 0 127;
#T store Subosc_Volume 34 0 127;
#T store Subosc_Shape 35 0 1;
#T store Osc_MainVolume 36 0 127;
#T store Noise_Volume 37 0 127;
#T store Cutoff 40 0 127;
#T store Cutoff2 41 0 127;
#T store Filt1_Reso 42 0 127;
#T store Filt2_Reso 43 0 127;
#T store Filt1_E_am 44 0 127;
#T store Filt2_E_am 45 0 127;
#T store Filt1_Keyfollow 46 0 127;
#T store Filt2_Keyfollow 47 0 127;
#T store Filt_balance 48 0 127;
#T store Saturation_Curve 49 0 6;
#T store Filt1_Mode 51 0 3;
#T store Filt2_Mode 52 0 3;
#T store Filt_Routing 53 0 3;
#T store Filt_Attack 54 0 127;
#T store Filt_Decay 55 0 127;
#T store Filt_Sustain 56 0 127;
#T store Filt_Sust_Time 57 0 127;
#T store Filt_Release 58 0 127;
#T store Amp_Attack 59 0 127;
#T store Amp_Decay 60 0 127;
#T store Amp_Sustain 61 0 127;
#T store Amp_Sust_Time 62 0 127;
#T store Amp_Release 63 0 127;
#T store Hold_Pedal 64 0 127;
#T store Lfo1_Rate 67 0 127;
#T store Lfo1_Shape 68 0 5;
#T store Lfo1_E_Mode 69 0 1;
#T store Lfo1_Mode 70 0 1;
#T store Lfo1_Symmetry 71 0 127;
#T store Lfo1_Keyfollow_amt 72 0 127;
#T store Osc1_Lfo1_amt 74 0 127;
#T store Osc2_Lfo1_amt 75 0 127;
#T store PW_Lfo1_amt 76 0 127;
#T store Reso_Lfo1_amt 77 0 127;
#T store Filtgain_Lfo1_amt 78 0 127;
#T store Lfo2_Rate 79 0 127;
#T store Lfo2_Shape 80 0 5;
#T store Lfo2_E_Mode 81 0 1;
#T store Lfo2_Mode 82 0 1;
#T store Lfo2_Symmetry 83 0 127;
#T store Lfo2_Keytrig 85 0 127;
#T store OscShape_Lfo2_amt 86 0 127;
#T store FMamt_Lfo2_amt 87 0 127;
#T store Cutoff1_Lfo2_amt 88 0 127;
#T store Cutoff2_Lfo2_amt 89 0 127;
#T store Pan_Lfo2_amt 90 0 127;
#T store Patch_Volume 91 0 127;
#T store Transpose 93 0 127;
#T store Key_Mode 94 0 4;
#T store Twin_Mode 97 0 1;
#T store Twin_Detune 98 0 127;
#T store Pan_Spread 99 0 127;
#T store Twin_Lfo_Phase 100 0 127;
#T store Input_Mode 101 0 2;
#T store Input_Select 102 0 8;
#T store Chorus_Mix 105 0 127;
#T store Chorus_Rate 106 0 127;
#T store Chorus_Depth 107 0 127;
#T store Chorus_Delay 108 0 127;
#T store Chorus_Feedback 109 0 127;
#T store Chorus_Lfo_Shape 110 0 127;
#T store Effect_Send 113 0 127;
#T store Delay_Time 114 0 127;
#T store Delay_Feedback 115 0 127;
#T store Delay_Rate 116 0 127;
#T store Delay_Depth 117 0 127;
#T store Delay_Lfo_Shape 118 0 5;
#T store All_Notes_Off 123 0;
#P hidden newobj 194 133 53 196617 coll;
#P window setfont "Sans Serif" 10.;
#P user umenu 60 56 94 196651 1 125 73 1;
#X add Bank_select;
#X add Mod_Wheel;
#X add Portamento_Time;
#X add Ch_Volume;
#X add Ch_Panorama;
#X add Osc1_Shape;
#X add Osc1_PW;
#X add Osc1_Wave;
#X add Osc1_Semitone;
#X add Osc1_Keyfollow;
#X add Osc2_Shape;
#X add Osc2_PW;
#X add Osc2_Wave;
#X add Osc2_Semitone;
#X add Osc2_Detune;
#X add Osc2_FMamount;
#X add Osc2_Sync;
#X add Osc2_ Filt_env_am;
#X add FM_filt_env_am;
#X add Osc2_Keyfollow;
#X add Bank_Select;
#X add Osc_Balance;
#X add Subosc_Volume;
#X add Subosc_Shape;
#X add Osc_MainVolume;
#X add Noise_Volume;
#X add Cutoff;
#X add Cutoff2;
#X add Filt1_Reso;
#X add Filt2_Reso;
#X add Filt1_E_am;
#X add Filt2_E_am;
#X add Filt1_Keyfollow;
#X add Filt2_Keyfollow;
#X add Filt_balance;
#X add Saturation_Curve;
#X add Filt1_Mode;
#X add Filt2_Mode;
#X add Filt_Routing;
#X add Filt_Attack;
#X add Filt_Decay;
#X add Filt_Sustain;
#X add Filt_Sust_Time;
#X add Filt_Release;
#X add Amp_Attack;
#X add Amp_Decay;
#X add Amp_Sustain;
#X add Amp_Sust_Time;
#X add Amp_Release;
#X add Hold_Pedal;
#X add Lfo1_Rate;
#X add Lfo1_Shape;
#X add Lfo1_E_Mode;
#X add Lfo1_Mode;
#X add Lfo1_Symmetry;
#X add Lfo1_Keyfollow_amt;
#X add Osc1_Lfo1_amt;
#X add Osc2_Lfo1_amt;
#X add PW_Lfo1_amt;
#X add Reso_Lfo1_amt;
#X add Filtgain_Lfo1_amt;
#X add Lfo2_Rate;
#X add Lfo2_Shape;
#X add Lfo2_E_Mode;
#X add Lfo2_Mode;
#X add Lfo2_Symmetry;
#X add Lfo2_Keytrig;
#X add OscShape_Lfo2_amt;
#X add FMamt_Lfo2_amt;
#X add Cutoff1_Lfo2_amt;
#X add Cutoff2_Lfo2_amt;
#X add Pan_Lfo2_amt;
#X add Patch_Volume;
#X add Transpose;
#X add Key_Mode;
#X add Twin_Mode;
#X add Twin_Detune;
#X add Pan_Spread;
#X add Twin_Lfo_Phase;
#X add Input_Mode;
#X add Input_Select;
#X add Chorus_Mix;
#X add Chorus_Rate;
#X add Chorus_Depth;
#X add Chorus_Delay;
#X add Chorus_Feedback;
#X add Chorus_Lfo_Shape;
#X add Effect_Send;
#X add Delay_Time;
#X add Delay_Feedback;
#X add Delay_Rate;
#X add Delay_Depth;
#X add Delay_Lfo_Shape;
#X add All_Notes_Off;
#P objectname umenu;
#P window setfont "Sans Serif" 9.;
#P hidden newex 52 206 62 196617 prepend set;
#P hidden fasten 0 0 7 0 57 231 -30 231 -30 35 27 35;
#P hidden fasten 23 0 0 0 57 200;
#P hidden connect 21 0 20 0;
#P hidden connect 22 0 20 0;
#P hidden connect 1 1 3 0;
#P hidden connect 3 0 2 0;
#P hidden connect 2 0 4 0;
#P hidden connect 4 0 16 0;
#P hidden connect 16 0 15 0;
#P hidden connect 18 0 6 0;
#P hidden connect 19 0 6 0;
#P hidden connect 20 0 6 0;
#P hidden connect 6 0 21 0;
#P hidden fasten 15 0 5 0 199 307 212 307;
#P hidden fasten 27 0 5 0 492 302 212 302;
#P hidden connect 6 0 5 0;
#P hidden connect 23 1 24 0;
#P connect 4 1 23 0;
#P hidden connect 26 0 25 0;
#P hidden connect 25 0 24 1;
#P hidden fasten 23 0 5 1 244 295 302 295;
#P hidden fasten 15 1 5 1 259 297 302 297;
#P hidden connect 24 0 22 0;
#P hidden fasten 8 0 5 2 358 102 392 102;
#P hidden connect 24 0 19 0;
#P pop;


January 30, 2008 | 2:12 am

Thanks for that, Jabbo! I’ve saved it, should come in handy at some point.


Viewing 2 posts - 1 through 2 (of 2 total)