Can anyone make a midi swing knob in m4L?

Learn about building and using Max for Live devices.
Post Reply
kompletemail
Posts: 94
Joined: Sun Dec 27, 2009 3:51 am

Can anyone make a midi swing knob in m4L?

Post by kompletemail » Sat Jan 15, 2011 12:22 am

I would like to have a simple midi swing knobwith just a few swing options?

Kind of like the one in Maschine (hint).
One simple knob for any midi pattern .

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Can anyone make a midi swing knob in m4L?

Post by broc » Sat Jan 15, 2011 1:40 am

Here is a patch that I made some time ago.
Just copy it into an empty M4L midi effect template.

<pre><code>
----------begin_max5_patcher----------
1347.3oc6Z0sbiZCF8ZmmBMLoyzsM0AILXnyryrsuFoYxHCxwpADTPjMo6r8
YuBIvFa9SIAq5K5EArkjEGcz46G8Q91UKr1j9BovB7qf6.KV7sqVrP1TUCKp
+9BqD7Kgw3B4vrXjult4OstQ0Em7BW1b3NL6QRSyYXd3NJ6wGxIgb0r63rz9
F.xcc0sUdUWg9KsA2W+S1lx3Ez+lTMZnsnaUyrxDJKlvkOb3gFSK4Ms5T2JM
RhDA59EDpAIpwweMinfgk0M.KJi2b6nmOCmHGl0ukSwwfeOMNxpp2ue0UUWt
4iQQIzHp.NivQHO2JdIvVxQqmQNxtGNBZYzkdAIVrPAegkxI.bb7H7.bsjA7
jWgPmktyFQ32kHfAiJVZ9qkno2aFVIQYSSfNHoPxdFERvd3O+A4uyEuDlljP
X7NDSVN4YQ6Bx.TvKCeBTI1J9CFlC34XVQVZNWzSZVyuLlxHgokL4OGMh2Ke
ISBk1mPjjQQAmKSSnq4LMyhKer3UV3+LsuajiZ0OmNlB5Y0udT8TGiuswoX4
GhoEG2v9O7eiY5OCfiPptNJ6R2fZS02iSNj1FoqLtQZL8YxRNdSyC9Yb99Y9
z9FgePpbErU1b1sHHg0dgvZGyoor1K6Lbt34vI4OPX3Mwj18Us91hCIss7xn
g7x7lzf1O88pda+LaAVo6A4k0nN3bxzUfnIi.ojx6mxB7yjnGvbdNcSImb3S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lY8B3nAKcBruLx719CXzI9x2u5egsrCf
L
-----------end_max5_patcher-----------
</code></pre>

NOTE:
Due to latency of M4L devices in a chain the on/offbeat synchronization may not always work as intended.
But I've found that this problem can be solved by inserting a dummy MIDI Thru device in front of the swing device.
Last edited by broc on Sat Jan 22, 2011 8:45 pm, edited 1 time in total.

kompletemail
Posts: 94
Joined: Sun Dec 27, 2009 3:51 am

Re: Can anyone make a midi swing knob in m4L?

Post by kompletemail » Sun Jan 16, 2011 3:55 am

do you have this as a patch?

not text.

stringtapper
Posts: 6302
Joined: Sat Aug 28, 2004 6:21 pm

Re: Can anyone make a midi swing knob in m4L?

Post by stringtapper » Sun Jan 16, 2011 4:40 am

Just copy the text and paste it into an open patcher window (the one that comes up when you press the Edit button on a new M4L device).
Unsound Designer

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Can anyone make a midi swing knob in m4L?

Post by broc » Sun Jan 16, 2011 10:42 am

Also, delete the predefined midiin/midiout objects of the new device, otherwise the notes will be played twice.

As mentioned earlier, the timing of M4L devices in a chain is somewhat tricky.
So at this stage my patch should be considered rather experimental.

kompletemail
Posts: 94
Joined: Sun Dec 27, 2009 3:51 am

Re: Can anyone make a midi swing knob in m4L?

Post by kompletemail » Mon Jan 17, 2011 7:44 am

this looks cool and i put it into the editor and deleted the midi parts like you said, but now i am having trouble turning this into an actual patch. i have never made one before so i don't know how to get from the editor window to making it an actual M4L device. :(

broc
Posts: 1151
Joined: Mon Jul 26, 2004 8:37 am

Re: Can anyone make a midi swing knob in m4L?

Post by broc » Mon Jan 17, 2011 10:29 am

After pasting in the editor go to View > Patcher Inspector and tick the box 'Open in Presentation'.

Then choose File > Save As.. and give it some name you like.

Khazul
Posts: 3185
Joined: Wed Feb 23, 2005 5:19 pm
Location: Reading, UK

Re: Can anyone make a midi swing knob in m4L?

Post by Khazul » Tue Jan 18, 2011 12:07 am

Hmm - I read this title as Can anyone make a swinging knob in m4l...
Nothing to see here - move along!

kompletemail
Posts: 94
Joined: Sun Dec 27, 2009 3:51 am

Re: Can anyone make a midi swing knob in m4L?

Post by kompletemail » Tue Jan 18, 2011 4:50 am

nope still isn't working properly can't say that i know what i am doing, but after i saved it did give me an amxd file that i can drop onto a midi track but it just looks like it still in the patcher window in non presentation mode.??

o well ill just stick to maschine. they going to be supporting vst's real soon anyways. since ableton never fixed their issue with incoming midi from the plug in.

Post Reply