Thinking this might be a feature request too… Can you select a path instead of a file using the file selector? It seems not but I might be missing something.
So you can set a directory for audio files, etc, maybe even something like background skins, whatever.
yeah something like this would be needed to dynamicly populate a control aswell
also another request related: the list in combobox needs a way to delete an item from the list though a pin (probably a clear list aswell) its the missing link to make a fully dynamic control
I suppose the module could have a setting of select file / choose folder or similar with an additional path output pin maybe.
While I think about it, how would you go about making a ‘settings’ panel which would also translate into a JUCE plugin? Haven’t looked that hard put tried searching the obvious like panel, setting, option, prefs and so on but nothing came up
Hey, do you mean a separate external settings window, or do you mean having controls for things like buffer size, ports, etc.?
I’m thinking a settings panel so it could be a panel with a group of controls on it or a more traditional OS dialogue window. I think the panel would be nicer as it wouldn’t drop your brain out of the theme of what you were doing. If a panel could act like a subgraph so you could pop it open with all of its contents that would be slick.
My only need for what I’m doing right now is a select folder ability but other things could need a panel of some sort.
there is something else you are gonna run into
you need nodes like:
if is audio
if is midi
if is image
not sure what else depends on the use case
Maybe one node with outputs like isfile, isimage, unknown/unsupported ? I suppose it depends on if you’re doing header detection in the file rather than trusting extensions, perhaps
yeah indeed
actually some time ago there was a situation where some wave files would not play because they where just extension renamed files (cant remember the file type sorry) and danny caught it by checking the headers
not sure how this is handled now and if these files would play now, fl studio does but not every daw does and at the time mnodes did not
if mnodes does not there needs to be a check on that level indeed
Are we able to select a path/folder now with 1.1.3? I’ve still not found how to do this yet over the last few updates
Here’s are a couple of ideas for getting a file suffix and determining the file type:
For the suffix, use Text Split to split the filepath on dot (.) and use index of -1 to get the last match. (negative index counts substrings from the end of the string backwards)
Then use a Lookup node to match the suffix to a list of one or more known file suffixes. Lookup returns the index of the matching suffix if a match is found or -1 of no match is found.
No I want to select a folder/path, i.e. the top of a directory structure where other folders and files are.
Like d:\impulses\myIRs\
Folder Path Selector.mnprt (2.7 KB)
Yes, this is already possible with Widget File Drop. Set its Pick dropdown to Folder, then use Browse on the Folder row or drag a folder onto the widget. File Out sends the full folder path as text.
Hmmm but I need a dialog so you can navigate to a folder and select it. Asking a user to find a file then drop it onto a widget doesn’t work very nicely, especially when the file structure is e.g.
d:\impulses\FXunits\MPX100\reverb\hall\lpf10\mpx100-hall-lpf10.wav
and you want to select the path d:\impulses\FXunits\MPX100\ as the source folder containing rest of the structure which is known and procedurally generated by nodes containing 1800 different IRs in dozens of different folders.
Just having a ‘select folder’ mode for the ‘file’ node would achieve this. Just thought it may have made it into 1.1.3 there have to be so many use cases for this.
Okay! I’ve added a folder selector to the File node, and I’m also working on new nodes that will let you view the contents of that folder.
I’ve spent all afternoon compiling the Mac version, and I don’t want to cancel it and start over because it would take quite a while to get it ready again. So I’m hoping to release version 1.1.4 later today with some important fixes and improvements. The file management nodes will be included in the following release.
That’s brilliant, I can probably get this project into a state where it’s ready to be VST’d as soon as that’s becomes possible 
A folder selector is the last piece it needs, I think