Dropfile to sfplay~ object
Hi, this is my first post on the forum since getting maxmsp,
i am in the middle of an interactive music patch and one of the things i would like to do, for use in a presentation gui, is allow users to drop there own loops into my sfplay~ object, as opposed to using the open object, i am not sure if/how the dropfile object can be configured to do this, any suggestions.
Rj
Something like:
dropfile
prepend open
sfplay~
Or drag and drop from Max built-in browser (Max5).
J-F.
--
Jan 28th update: Audio Freeze - From Melody to Harmony
http://www.jeanfrancoischarles.com
>
> Hi, this is my first post on the forum since getting maxmsp,
>
> i am in the middle of an interactive music patch and one of the things i would
> like to do, for use in a presentation gui, is allow users to drop there own
> loops into my sfplay~ object, as opposed to using the open object, i am not
> sure if/how the dropfile object can be configured to do this, any suggestions.
>
> Rj
nice one mate
Quote: RJHollebon wrote on Sun, 01 February 2009 13:37
----------------------------------------------------
> Hi, this is my first post on the forum since getting maxmsp,
>
> i am in the middle of an interactive music patch and one of the things i would like to do, for use in a presentation gui, is allow users to drop there own loops into my sfplay~ object, as opposed to using the open object, i am not sure if/how the dropfile object can be configured to do this, any suggestions.
>
> Rj
----------------------------------------------------
Beyond the single file dropfile, look into the auto-populate command for the umenu. You can set it in the inspector, with a message "Prefix [path]", or use the dropfile object to drop a folder and not just a file. Then you'll have a whole umenu with your files.
Incidentally, I've run into an issue with specifying which file types to allow in the umenu. Works fine as long as you know what to put. For example, I can't get "wav" to work, as "wav", "WAV", and if I put dots the umenu erases them. Is there a list somewhere of exactly what to put? That would be handy... I mean, I put "mov" and nothing, but MooV works. Tough to guess the exact combination.
If it's plain as day in the documentation, my apologies...
You can always hook a [print] up to [dropfile]s right outlet and the go ahead and drop some files on to see what type they are. I think they're all four letter codes and a .wav is "WAVE". If you're having trouble you could always use [regexp] to match the file extension.
lh
See the max-fileformats.txt file, in Max application / Cycling 74 / init
folder.
J-F.
>
> Incidentally, I've run into an issue with specifying which file types to allow
> in the umenu. Works fine as long as you know what to put. For example, I can't
> get "wav" to work, as "wav", "WAV", and if I put dots the umenu erases them.
> Is there a list somewhere of exactly what to put? That would be handy... I
> mean, I put "mov" and nothing, but MooV works. Tough to guess the exact
> combination.
>
> If it's plain as day in the documentation, my apologies...
Quote: jeanfrancois.charles wrote on Sun, 01 February 2009 20:29
----------------------------------------------------
> See the max-fileformats.txt file, in Max application / Cycling 74 / init
> folder.
>
> J-F.
>
> >
> > Incidentally, I've run into an issue with specifying which file types to allow
> > in the umenu. Works fine as long as you know what to put. For example, I can't
> > get "wav" to work, as "wav", "WAV", and if I put dots the umenu erases them.
> > Is there a list somewhere of exactly what to put? That would be handy... I
> > mean, I put "mov" and nothing, but MooV works. Tough to guess the exact
> > combination.
> >
That's great, thanks guys!
> > If it's plain as day in the documentation, my apologies...
>
>
>
----------------------------------------------------