Buffer Shuffler with MIDI cc commands?

3rdgrade's icon

Hello everyone,

I am VERY new to MAX and MAX for live. Everything that comes with it has been really fun and fresh to me. It seems to be a very open, creative, and powerful program. I am planning on taking time to learn and create new patches and ideas.

However, I thought of something and I figured before I try it, I would ask you all what you thought: Would it be possible to make the buffershuffler sequencing grid midi cc capable?? Also, the randomize and reset buttons for playback/sequence grid? Or maybe even do some sort of OSC thing with an iphone for buffershuffler? Seems to be a really fun effect and thought some more touch control (via midi or iphone or whatnot) would be really fun. What do you all think??

Cheers! And pardon if this question has been asked already or is very elementary,

-3rdgrade

nnneuromodulator's icon

I did this last weekend. I was making it to work with the Launchpad, so I have it responding to notes, not CC messages, but the basics are the same. You need to create live.whatever objects appropriate to the types of messages you're using, and then have these trigger messages that you send to the left inlet of the whassitcalled, the live.grid or whatever that controls the chucker~.

My patch is bit more complicated because it's working with a MIDI patch as well to update the Launchpad LEDs, but if you like I can post it once I'm at home and you can reverse engineer it to get the idea.

But it's really simple - you can see all the messages you need to send to the grid by looking at the grid help file. From there it's just:

a)what objects am I going add to the interface to map MIDI CC's to?
b)create these objects
c)how am i going to format these messages into the appropriate messages for the live grid?
d)plug the formatted messages into the grid (s --toLeft if you've got them on stereo duplicate)
e)add all the live.objects (sliders, knobs or whatever) to the Presentation
f)MIDI map the CCs to those objects

3rdgrade's icon

Hi nneuromodulator,

This is helpful info. Thanks! How do you like the launchpad in conjunction with Live and MAX for Live?? Also, if you want to post your patch I would check it out and see how you did it, to compare to my efforts. And once again, thanks! Helpful stuff.

Cheers,

-3rdgrade

coffeencigs's icon

@nnneuromodulator

i would love to give your launchpad-buffer-shuffler a shot!

nnneuromodulator's icon

errrr...sorry, i was off work for a few days and totally forgot about this. how do you post a compressed filed here?

in response to how do i like the launchpad: i'm super impressed with it.

(i had a monome 256 that i had to sell a few years ago, and i really like that company and the community around the monome, so if i had the cash, i would support them. but, unfortunately the reality of the price difference between a monome 64 and the launchpad, with the launchpad having tri-colour LEDs (ideal for the buffer shuffler), plus the extra 16 buttons - i couldn't justify the extra $$$ to support monome where i'm at financially right now.)

that aside: i had bought the launchpad expecting just to use it for my own projects (like this one), but i'm so impressed with the default functionality on it. it is as well thought out as you would expect something that has it's own chapter in the ableton manual to be: i'm basically just using it as a live looper for my hardware, but it's bloody amazing. the flow is perfectly intuitive. and the way you can remap functions for which you don't want to use the default mapping is similarly transparent and quick.

my only grievance with it as that i need it to send out a message max for live can pick up when you change to user page one and two. the way it works right now, if you set anything up to listen to those messages, it interrupts those messages. this is an issue because i've set user page one up to be my buffer shuffler control but i wish it would call for an LED update as soon as i switch pages. because it does not, i have to set one of the extra buttons down the side as a "call for updates" button. so instead of being able to just his "user page one" i have to hit "user page one" and then "update LEDs for user page one". of course, it's quick, but it's clumsy.

pid's icon

@ nnneuromodulator - have you seen mike's pages over at max4live.info? i think he solves your issue in one of his tutorials.

nnneuromodulator's icon

ohhhhh, pid you just made my day. got work to do. back shortly with harder/better/faster/stronger max4live buffer shuffler.

Ingtzi's icon

@ nnneuromodulator

Oooo... I would be really interested in this. I've been trying forever to get a device to work like this with my launchpad.

nnneuromodulator's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Okay, here 'tis. First time trying to post a patch on the forums so if it doesn't work let me know. There's an issue with my loadbang not working somehow, so you have to press the live.button upon first loading, and it'll get confused if you press two matrix buttons simultaneously, but this should at least get you guys started.

Ingtzi's icon

@nnneuromodulator

I know it's a stupid question, but how do I get this loaded into live? I copy and pasted the text into MAX and saved it as a .maxpat. How do I load it in my live audio channel though?

nnneuromodulator's icon

Don't save it as a .maxpat. Select and copy the text. With Max open, choose "new from clipboard". Then save it as an .amxd file. Pay attention to where you save it - in with the other max for live audio effects would be best. Then it will show up there in the live browser where you find all the other effects, and you can double click it or drag it to an audio channel.

delta43's icon

Great, I've been looking for this (launchpad controlled buffer shuffler).
But, I can't open the patch. I used the clipboard, got the patch displayed in Max for Live patch editing window, and saved it as somename.amxd. It didn't matter where I saved it, it didn't want to drop on audio or midi channels, and nothing happens when I double click the file. What else can I try?

nnneuromodulator's icon

Errrmmm, sorry I'm new at the sharing patches thing. Try this: copy from above (including the being and end max patcher lines). Then go to Live, make an audio track, and insert a Max Audio Effect. Open the effect for editing, right-click, and paste. That seemed to work just now.

AuralBee's icon

@ nnneuromodulator

Man, this thing is excellent. It took me a while to have it look right in presentation mode, but I now have this working.
I especially like that you took the opportunity to use the three launchpad padcolors to reflect the status of each 'stepdirection' ! I am too much of a noob to solve the simultaneous button thing, but I just wanted to tell you I am very impressed by what you did !

zenke's icon

Hi
thanks for the work that you have done here. I have downloaded the patch but the presentation mode does not seem to work. it does not show up as usable in Live. can you upload the finished version to MFL.com? That would be great.
thanks z

AuralBee's icon

@zenke

I struggled with that too, the solution appeared to be simple:

In the edit window, right click on a blank spot and choose
patcher inspector, then the view tab, then tick the 'open in presentation' box and save.

@ nnneuromodulator

Uploading to maxforlive.com would indeed be a good idea, I think a lot of people would highly appreciate your patch, and maybe can assist in further development

Cheers,
AB

uebermoderne's icon

hey,
jeah really nice work.

but i cant find out how i can get my launchpad to do led feedback...

RRR!

uebermoderne's icon

pls give a little bit more info. my patch is setup allright, no such problems with "how can i make an .amxd file"

but neither my launchpad or apc40 flashing anything back NOTHING!

please :)

i like to eat this.

im happy about any help-

uebermoderne

nnneuromodulator's icon

Sorry for the delay, uebermoderne, I wasn't watching the thread. Do you still need help with this?

nnneuromodulator's icon

I think I found the problem. Try this file.

So: download this file and place it on an audio track. In Live's preferences, select the Launchpad as a control surface. On the effect, select the Launchpad from the upper menu, then Button_Matrix from the lower one, and then hit the button.

Then it should work when you flip to "user 2" mode for the launchpad. Session and Mixer modes work normally.

There is a comment in the file (if you open it for editing) that I should have taken out about "change this number is you want to use user 1 mode instead". That actually doesn't work because User 1 mode doesn't transmit the necessary messages; leave it as user 2.

1212.lpbf.amxd
amxd
Spip's icon

Thanks a lot for your work, I'm just, right now, at the beginning of a really deep learning of MaxforLive and what you've done is exactly the sort of thing I want to master…

doperdeluxe's icon

Had a lot of fun with this last night, now if only there was a way you could store presets and use the buttons down the right hand side(vol, pan etc) to recall them would be awesome

nnneuromodulator's icon

Well, that would be easy enough to implement. The [live.grid] can dump its state, and then you add an index number and store the data in a [coll]. Have the preset recall buttons send the index to the [coll] to make it re-dump a grid state, and figure out how to feed that back into the [grid] in a way that it understands (I'm not sure if it will understand the same string of integers it spits out on a dump, or if there would be some reformatting involved).

I'm afraid I'm not interested in working it out, though - I haven't used the patch for awhile. But if you try it yourself and have problems, I'll be around to help you sort it out.

doperdeluxe's icon

Thanks N'mod, you've been very helpful. I'm a bit of a novice when it comes to these things - but I'll try and work it out! I do think that would make this thing even cooler. I'll take a look at it when I get a chance..

Emmanuel Jourdan's icon

FWIW, live.grid is parameter aware as well as compatible with preset and pattrstorage

doperdeluxe's icon

Thanks for the info, I'll check that out

malky's icon

hi, i'm using this device a bit and while the implementation is great i find that the performance is unreliable. sometimes it works perfectly, which i am very happy about, but mostly i find that it introduces glitches into my audio stream even when it is at default settings. it seems to be repeating a tiny piece of the previous buffer at the beginning of the bar, which throws off the whole set. has anybody else thoroughly tested this device? i would love to use it but it is not reliable enough for a live setting

S4racen's icon

this is a behaviour of the chucker object, check out the new fademode settings, they iradicate the glitch but at the cost of having to feed a bar of audio into the object before it'll pass anything through it....

Cheers
D