Dragging audio files within Max Msp

Apr 10, 2012 at 1:30pm

Dragging audio files within Max Msp


Could someone clarify this for me please?

I want to create a sequence-based program where I can drag and drop audio files from one side of my Max patch to another.

For example, the audio sample entitled test.wav may be on the right side of my patch in the form of a buffer~ or a waveform~ (or any visual representation, even being one of many in a list of audio files) and I want to drag it across to the left side of my patch into a section of the sequencer’s grid, where it is loaded and ready for playing.

Is this possible to do without opening the file browser every time? Is there a way to populate a file browser within Max and then drag the files from this internal window onto my sequencer?

I guess I want to create an audio pool of sorts…

Thanks : )

Apr 10, 2012 at 2:48pm

This will need some kind of global lcd thing and/or mousestate. The hard part is not the dragging, it is displaying the dragging.

Apr 10, 2012 at 8:47pm

I have done some work on this already. But just in case I’m doing it in vain (although nothing is really in vain with Max!), is there an easier way of doing it, or does Max provide a manner of doing this easily?

Thanks : )

Apr 10, 2012 at 8:56pm

Never mind! I found this: http://www.cycling74.com/forums/topic.php?id=27991

Thanks again!


You must be logged in to reply to this topic.