dr.rex/dr.octorex style M4L patches?

Learn about building and using Max for Live devices.
Post Reply
bitbot.cc
Posts: 3
Joined: Sat Nov 29, 2008 7:05 am

dr.rex/dr.octorex style M4L patches?

Post by bitbot.cc » Fri May 11, 2012 4:56 am

I'm demoing M4L and going through maxforlive.com but I'm unable to find something like Dr.Rex/Dr.OctoRex in Reason. I'm trying to get off Reason but it's the one thing I cannot really replace.

Specifically, I need the functionality where I can map arbitrary slices of an audio file (typically a loop) to MIDI notes that can be played live on a controller, and used to build Live clips. Finally, I'd like to be able to exchange one audio file for another so that the sounds being triggered change but the overall pattern of notes is the same.

The bundled "Loop Shifter" comes really close, but I'm wondering if there's something better? Maybe one with optional transient detection for newly-loaded loops as a starting point... The "Slice to New MIDI Track" is also close-ish, but my goal involves rapidly auditioning new audio files against a single MIDI pattern, and there's just too many steps involved with this process..

Is there something better? Thanks for any help!

pid
Posts: 354
Joined: Thu Nov 05, 2009 9:51 am

Re: dr.rex/dr.octorex style M4L patches?

Post by pid » Fri May 11, 2012 9:45 am

this is very possible. even parsing rex files. but you'll have to roll your own, unless you find someone has done that already.

for a very basic (and old max4 style) example of making a start, go to the 'Extras' menu (once Max is open), 'ExamplesOverview' > 'MSP' tab > and in 'Legacy-examples' click on "recycler".

would be an interesting project to get going in m4l.
3dot... wrote: in short.. we live in disappointing times..

ned rush
Posts: 402
Joined: Wed Sep 23, 2009 1:45 pm
Contact:

Re: dr.rex/dr.octorex style M4L patches?

Post by ned rush » Fri May 11, 2012 11:40 am

i'm making something for this very purpose, but rather than slice, it effectively moves the sample offset of the loop according to measures.

you can do this but getting the length of an audio file and dividing it by how many measures you want, then route your midi notes to multiply the number to get the offset you want.

for examples, your loop in 1000ms, divide that by 16 to get the length of a single slice, then route c1 to multiply that by 0, Db1 to multiply by 1, D by 2 etc, if that makes sense.

it'll give you more an mpc way of slicing, rather than via transients like recycle does.

heres my shameless plug

http://www.youtube.com/watch?v=ayy_G7KsDok&feature=plcp

this patches also features a bit of maths by your man pid up there ^

pid
Posts: 354
Joined: Thu Nov 05, 2009 9:51 am

Re: dr.rex/dr.octorex style M4L patches?

Post by pid » Fri May 11, 2012 3:46 pm

great stuff ned!

yeah i sort of tuned out of m4l for a while there...
3dot... wrote: in short.. we live in disappointing times..

Machinate
Posts: 11648
Joined: Thu Jun 24, 2004 2:15 pm
Location: Denmark

Re: dr.rex/dr.octorex style M4L patches?

Post by Machinate » Fri May 11, 2012 6:29 pm

Use "Slice to single Sampler" - then you can easily hot-swap the sample like you would with Dr. Rex
mbp 2.66, osx 10.6.8, 8GB ram.

ned rush
Posts: 402
Joined: Wed Sep 23, 2009 1:45 pm
Contact:

Re: dr.rex/dr.octorex style M4L patches?

Post by ned rush » Fri May 11, 2012 6:41 pm

Machinate wrote:Use "Slice to single Sampler" - then you can easily hot-swap the sample like you would with Dr. Rex
That certainly works but you don't get the swift read time like you do in max, plus you can quantise when the next file gets read.

bitbot.cc
Posts: 3
Joined: Sat Nov 29, 2008 7:05 am

Re: dr.rex/dr.octorex style M4L patches?

Post by bitbot.cc » Fri May 11, 2012 7:42 pm

Machinate wrote:Use "Slice to single Sampler" - then you can easily hot-swap the sample like you would with Dr. Rex
Oh yeah, I saw that - but I'm unsure how to hot-swap the sample like you suggest. That would be really close to perfect.

After "Slice to Single Sampler" it seems that I can either replace individual Zones or add a new Zone, not hotswap the sample across all Zones (updating or even just maintaining the previous zone mapping). So essentially the entire process has to be repeated without any options to hot-swap. I could just be an idiot! It is likely.

Ned's M4L thing is really amazing too. I think I need to pick up M4L regardless.

Thanks for all the help.

Machinate
Posts: 11648
Joined: Thu Jun 24, 2004 2:15 pm
Location: Denmark

Re: dr.rex/dr.octorex style M4L patches?

Post by Machinate » Fri May 11, 2012 9:07 pm

ah yeah, had a major brain fart about that - sorry :-/ long day at the office, hehe.

You're right. Well, besides, Neds little monster there is aces, even though it doesn't generate the midi notes for ya.

Ned, I know this is OT, but I'm wondering if it'll be able to do a recording buffer for that slicer? I'm liking the granular timestretchy bits, and I'm looking to ditch Turnado here ;)
cheers.
mbp 2.66, osx 10.6.8, 8GB ram.

ned rush
Posts: 402
Joined: Wed Sep 23, 2009 1:45 pm
Contact:

Re: dr.rex/dr.octorex style M4L patches?

Post by ned rush » Fri May 11, 2012 9:30 pm

Machinate wrote:ah yeah, had a major brain fart about that - sorry :-/ long day at the office, hehe.

You're right. Well, besides, Neds little monster there is aces, even though it doesn't generate the midi notes for ya.

Ned, I know this is OT, but I'm wondering if it'll be able to do a recording buffer for that slicer? I'm liking the granular timestretchy bits, and I'm looking to ditch Turnado here ;)
cheers.
Check out supacut live in the ableton blog page.

Machinate
Posts: 11648
Joined: Thu Jun 24, 2004 2:15 pm
Location: Denmark

Re: dr.rex/dr.octorex style M4L patches?

Post by Machinate » Fri May 11, 2012 9:58 pm

yeah, I recognize a bunch of the effects, but that controllable wave scanning ain't in there, which is why I ask :) Also, I really dig the faux-nanopad thing; I could see myself buying one specifically for this use. Or a couple :oops: :twisted:
mbp 2.66, osx 10.6.8, 8GB ram.

Post Reply