Forums > MaxMSP

[sharing is fun] Simple DJ with and block controller

Dec 31 2009 | 11:29 pm

A friend is having a birthday party in a couple days, and asked if I could play some tunes. I had a couple options.
1.) just use itunes. [boring, no crossfader! no mixing!]
2.) learn how to use Traktor. [way more than i need]
3.) pack up turntables and mixer etc. [heavy, probably will get damaged]
4.) make a DJ patch that works with my block controller. YEAH!

This is a simple 2 deck DJ device, no preview channel. I do all my track organizing in iTunes, because it’s great for that, then right click and export the playlist as xml. This patch reads in the XML playlist, turns that into a coll that links to a cell block. You’ll need to change the path that the umenu links to to load the XML lists.
All audio is handled ungloriously by You could add soc/spigot~ if you want previews.
It’s not the cleanest patch. Look for a cleaner version in the coming months!

I use the 2 left faders on the block to scroll (coarse/fine) through the cellblock. The far left 8 vertical buttons on the block load a clip from the cellblock into the left deck, similarly for the right deck and far right 8 vertical btns.

Top left knob (#1) is crossfader.
Top right knob (#8) is master volume.
Knob 6 and 7 are l/r scrub.

The function buttons are:
PlayL PlayR
StopL StopR


The Shift button turns the sliders into volumes for each deck.

The xml parsing was assisted by a nice patch from the dot collection (digital orchestra toolbox –

Jan 01 2010 | 6:55 pm

! The JS files are not in your folders ….

Jan 02 2010 | 6:09 pm

derp. fixed, thanks.

Jan 17 2010 | 4:25 am

Hey pnyboer…

how do you make your patch work?
I changed the file path name to my music folder where i saved the xml files
but I can’t manage to make your patch play.
can you please give some info on how to use it?


Jan 18 2010 | 4:37 pm

Yes, I downloaded it too, but could not figure out how to make it work.
So comments would help.

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

Forums > MaxMSP