Loadfile?

Orkester's icon

Newb here, I looked around for info here, but couldn't find any info on it. I've gone through tutorials and built a basic step sequencer, and I'm working on a live looper.

After seeing the [Loadbang] and [Loadmess] objects, I'm wondering if there is a similar thing to load preset sound bites. Planning on incorporating more jitter functions in as well, so is there a loadmovie type object kicking around?

Thanks for reading :)

Luke Hall's icon

If you know the path to the file you want to open then add it as an argument in a [loadmess] object. Otherwise maybe something like [opendialog] is what you're looking for.

Orkester's icon

Awesome, that helps a lot. I used opendialog to set the path name, but it's only going as far as to automatically prompt me with the correct folder, not the file itself, though I did specify it's full name.

If that's the case I can just number the files in order and open them according to that, but I feel there's probably a more automatic way. Can the preset object be used to recall filesets like this?

Luke Hall's icon

Have a look at [folder] and the "prefix" and "autopopulate" messages to [umenu] if you want to grab all the files in a certain directory. If you don't want to hardcode the filepath into the patch you could always save some of the data in a [coll] and refresh it using [loadbang] at startup.