Forums > MaxMSP

Elektron Machinedrum SPS-1 Midi CC Abstraction

March 22, 2006 | 10:47 pm

Here is an abstraction for help controlling your SPS-1.

Did you ever try to look up a CC in the manual, only to find that horrible chart? Well this object drops right in to your patch, and allows you so instantly control any parameter of any machine by simply turning a knob.

There is one argument for SPS-1 Base Channel.
There are two inputs for knobs to select drum, and parameter.
There are three outputs, for MIDI CC, MIDI Channel, and text feedback.

Hope it will help someone, I know it helps me.

max v2;
#N vpatcher 4 79 785 560;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 192 377 26 9109513 print;
#P message 192 353 352 9109513 Elektron Machinedrum SPS-1 Controller ::::::::::::::::::::: http://www.spacefillingcurve.net;
#P newex 192 32 45 9109513 loadbang;
#P message 243 52 14 9109513 1;
#P message 303 203 18 9109513 $1;
#P newex 348 192 27 9109513 % 4;
#P newex 469 50 27 9109513 t b i;
#P newex 303 244 32 9109513 +;
#P newex 318 168 40 9109513 t b i i;
#P newex 325 196 17 9109513 / 4;
#P newex 576 138 57 9109513 prepend set;
#N comlet Parameter Name-connect to message box;
#P outlet 576 163 20 0;
#P user umenu 486 118 100 9109543 1 64 134 1;
#X add Param1;
#X add Param2;
#X add Param3;
#X add Param4;
#X add Param5;
#X add Param6;
#X add Param7;
#X add Param8;
#X add AM Depth;
#X add AM Rate;
#X add EQ Freq;
#X add EQ Gain;
#X add Filter Base Frequency;
#X add Filter Width;
#X add Filter Q;
#X add SRR;
#X add Dist;
#X add Volume;
#X add Pan;
#X add Delay Send;
#X add Reverb;
#X add LFO Speed;
#X add LFO Amount;
#X add LFO Shape;
#P newex 408 146 57 9109513 prepend set;
#N comlet Drum Name-connect to message box;
#P outlet 408 171 20 0;
#P newex 348 296 148 9109513 + 0.;
#P message 399 242 18 9109513 96;
#P message 382 242 18 9109513 72;
#P message 365 242 18 9109513 40;
#P message 348 242 18 9109513 10;
#P newex 348 217 79 9109513 select 0 1 2 3;
#P newex 486 95 27 9109513 – 1;
#P newex 318 93 27 9109513 – 1;
#P user umenu 318 121 100 9109543 1 64 137 1;
#X add BD;
#X add SD;
#X add HT;
#X add MT;
#X add LT;
#X add CP;
#X add RS;
#X add CB;
#X add CH;
#X add OH;
#X add RC;
#X add CC;
#X add M1;
#X add M2;
#X add M3;
#X add M4;
#N comlet Parameter CC;
#P outlet 348 321 15 0;
#N comlet Parameter Midi CH;
#P outlet 303 289 15 0;
#N comlet Dial with Range 1-25 (1=Pitch , 2=Decay… );
#P inlet 469 30 15 0;
#N comlet Dial with range 1-16 (Drum);
#P inlet 318 46 15 0;
#P number 318 70 35 9 1 16 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 2;
#P comment 199 203 100 9109513 Argument : SPS-1 MIDI Base Channel;
#P connect 27 0 28 0;
#P connect 28 0 29 0;
#P connect 27 0 26 0;
#P connect 21 0 25 0;
#P connect 25 0 22 0;
#P connect 22 0 4 0;
#P connect 26 0 1 0;
#P connect 2 0 1 0;
#P connect 23 0 1 0;
#P connect 1 0 7 0;
#P connect 7 0 6 0;
#P connect 6 0 21 0;
#P connect 21 1 20 0;
#P connect 20 0 22 1;
#P connect 21 2 24 0;
#P connect 24 0 9 0;
#P connect 9 0 10 0;
#P connect 13 0 14 0;
#P connect 12 0 14 0;
#P connect 11 0 14 0;
#P connect 10 0 14 0;
#P connect 14 0 5 0;
#P connect 9 1 11 0;
#P connect 9 2 12 0;
#P connect 9 3 13 0;
#P connect 6 1 16 0;
#P connect 16 0 15 0;
#P connect 3 0 23 0;
#P connect 23 1 8 0;
#P connect 8 0 17 0;
#P connect 17 0 14 1;
#P connect 17 1 19 0;
#P connect 19 0 18 0;
#P pop;


March 25, 2006 | 11:22 pm

Thanks. Now I have more time to make music instead :)

There is one bug, though. The message box connected to
the first inlet of select should be 16 (== 0×10).

Davis

— kristopher wrote:

>
> Here is an abstraction for help controlling your SPS-1.
>
> Did you ever try to look up a CC in the manual, only to find that horrible chart?
> Well this object drops right in to your patch, and allows you so instantly control
> any parameter of any machine by simply turning a knob.
>
> There is one argument for SPS-1 Base Channel.
> There are two inputs for knobs to select drum, and parameter.
> There are three outputs, for MIDI CC, MIDI Channel, and text feedback.
>
> Hope it will help someone, I know it helps me.


March 27, 2006 | 8:32 pm

DOH! Thanks Dave! Yes that should be a 16. This is an example of exactly why I made the patch!

Here’s the corrected version:

max v2;
#N vpatcher 4 79 785 576;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 192 377 26 9109513 print;
#P message 192 353 352 9109513 Elektron Machinedrum SPS-1 Controller ::::::::::::::::::::: http://www.spacefillingcurve.net;
#P newex 192 32 45 9109513 loadbang;
#P message 243 52 14 9109513 1;
#P message 303 203 18 9109513 $1;
#P newex 348 192 27 9109513 % 4;
#P newex 469 50 27 9109513 t b i;
#P newex 303 244 32 9109513 +;
#P newex 318 168 40 9109513 t b i i;
#P newex 325 196 17 9109513 / 4;
#P newex 576 138 57 9109513 prepend set;
#N comlet Parameter Name-connect to message box;
#P outlet 576 163 20 0;
#P user umenu 486 118 100 9109543 1 64 134 1;
#X add Param1;
#X add Param2;
#X add Param3;
#X add Param4;
#X add Param5;
#X add Param6;
#X add Param7;
#X add Param8;
#X add AM Depth;
#X add AM Rate;
#X add EQ Freq;
#X add EQ Gain;
#X add Filter Base Frequency;
#X add Filter Width;
#X add Filter Q;
#X add SRR;
#X add Dist;
#X add Volume;
#X add Pan;
#X add Delay Send;
#X add Reverb;
#X add LFO Speed;
#X add LFO Amount;
#X add LFO Shape;
#P newex 408 146 57 9109513 prepend set;
#N comlet Drum Name-connect to message box;
#P outlet 408 171 20 0;
#P newex 348 296 148 9109513 + 0.;
#P message 399 242 18 9109513 96;
#P message 382 242 18 9109513 72;
#P message 365 242 18 9109513 40;
#P message 348 242 18 9109513 16;
#P newex 348 217 79 9109513 select 0 1 2 3;
#P newex 486 95 27 9109513 – 1;
#P newex 318 93 27 9109513 – 1;
#P user umenu 318 121 100 9109543 1 64 137 1;
#X add BD;
#X add SD;
#X add HT;
#X add MT;
#X add LT;
#X add CP;
#X add RS;
#X add CB;
#X add CH;
#X add OH;
#X add RC;
#X add CC;
#X add M1;
#X add M2;
#X add M3;
#X add M4;
#N comlet Parameter CC;
#P outlet 348 321 15 0;
#N comlet Parameter Midi CH;
#P outlet 303 289 15 0;
#N comlet Dial with Range 1-25 (1=Pitch , 2=Decay… );
#P inlet 469 30 15 0;
#N comlet Dial with range 1-16 (Drum);
#P inlet 318 46 15 0;
#P number 318 70 35 9 1 16 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 2;
#P comment 199 203 100 9109513 Argument : SPS-1 MIDI Base Channel;
#P connect 27 0 28 0;
#P connect 28 0 29 0;
#P connect 27 0 26 0;
#P connect 21 0 25 0;
#P connect 25 0 22 0;
#P connect 22 0 4 0;
#P connect 26 0 1 0;
#P connect 2 0 1 0;
#P connect 23 0 1 0;
#P connect 1 0 7 0;
#P connect 7 0 6 0;
#P connect 6 0 21 0;
#P connect 21 1 20 0;
#P connect 20 0 22 1;
#P connect 21 2 24 0;
#P connect 24 0 9 0;
#P connect 9 0 10 0;
#P connect 13 0 14 0;
#P connect 12 0 14 0;
#P connect 11 0 14 0;
#P connect 10 0 14 0;
#P connect 14 0 5 0;
#P connect 9 1 11 0;
#P connect 9 2 12 0;
#P connect 9 3 13 0;
#P connect 6 1 16 0;
#P connect 16 0 15 0;
#P connect 3 0 23 0;
#P connect 23 1 8 0;
#P connect 8 0 17 0;
#P connect 17 0 14 1;
#P connect 17 1 19 0;
#P connect 19 0 18 0;
#P pop;


July 18, 2008 | 5:00 pm

I found this old thread on controlling my machinedrum params, but I can’t seem to get it to work. I have made the patch below, but their are some bits not quite right. I would be gratefull for a few pointers if anyone has the time.

– Pasted Max Patch, click to expand. –

July 18, 2008 | 6:09 pm

Hello –

This thread is a blast from the past! What kind of trouble are you having? The patch is very simple, so there shouldn’t be much to break.. My SPS was one of the oldest original ones, so maybe if you have a new one (user wave?), the midi stuff is different.


July 19, 2008 | 8:05 am

Quote: earthman wrote on Fri, 18 July 2008 19:09
—————————————————-
> Hello –
>
> This thread is a blast from the past! What kind of trouble are you having? The patch is very simple, so there shouldn’t be much to break.. My SPS was one of the oldest original ones, so maybe if you have a new one (user wave?), the midi stuff is different.
—————————————————-

Hi Earthman,
Yes I have a new sps-1 UW mkII. You are probable right. The midi for the params are probably different. I think I understood the concept of your patch OK, but the midi cc numbers diddn’t match the params on the machinedrum. I’ll have to think about it. Here I was thinking it was all done for me. Thanks for the concept though.

Do you have max5? If so did you open my patch to see if I was on the right lines?

Best Regards,

Filament


July 19, 2008 | 10:50 am

I got it. It took me 3 hours, but I got there. Here it is to share if anyone is interested.

– Pasted Max Patch, click to expand. –

Thanks for the idea. I have slightly modified it to my needs.

Regards


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