Selector finds and lists wave files in deep hierarchy...
Archive · 200987 old posts
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
aliasant ·
... or something. not sure what to call this project.
My goal is to have a selector that loads a folder and then lists folders in that one + subfolders + wavefiles ( or what ever kind of files wanted) I think I have most of the stuff made but after trying for 12 hours I need a break.
What it does now. Well. I give the thing a base folder. For me its my folder were I have all my drum samples.
I then send a trig thru it and that starts the scan. Its very very fast. Im surprised how fast it is actually =)
The output is 3 different levels. ONE is all folders inside the main ( Base Folder) and TWO are all the subfolders found in all of the ONEs. THREE are all wave files found in all the folders in TWO.
In my case thats 20000+ wave files found in under a second. There are some things that can be made better. I left some instructions inside it. Remember to be very very careful changing any trigger orders. Its extremely easy to screw things up 🙂
And of course. Feel free to improve it. Thats why its am open project.
Heres a couple of images explaining it better perhaps.
First one shows what Im trying to do, sort of. it shows the hierarchy of my Drum Samples Folder.
If this selector works as it should I would be able to reach any of the wave files in any of the subfolders with one click.. I think.
Second image is simply an image over the osm.
philter5 ·
interesting project...
i started something similiar some times ago, but my goal was only to scan a directory
for a specific file type and save the list as a text file, but it never worked with subfolders 🙁
rl ·
Hi Dr. Zoidberg
This schematic is trying to take a little simpler approach by using a little helper from the OS (dir /b /AD lists only directories), so it's possible to select directories and search for files within (SM unfortunately misses some OS-interface modules - like list of available drives, get directory list with attributes, filesizes,etc.... - did I already mention that if there would be an SDK it would be very easy to program that myself)
Greetings from Omicron Persei 8
aliasant ·
rl wrote: Hi Dr. Zoidberg
This schematic is trying to take a little simpler approach by using a little helper from the OS (dir /b /AD lists only directories), so it's possible to select directories and search for files within (SM unfortunately misses some OS-interface modules - like list of available drives, get directory list with attributes, filesizes,etc.... - did I already mention that if there would be an SDK it would be very easy to program that myself)
Greetings from Omicron Persei 8
Been trying to understand how to work this one. Is there something one needs to do?
A brief explanation would be nice since I have never heard of dir /b /AD and that stuff 🙂
Andrew J ·
Just type "dir /?" at the command prompt...
aliasant ·
Im a Mac guy. /dir means nothing to me 🙂
I think my method might work but it will just be to huge or?
About rl's. If you guys could show me how to do this as an example:
List this folder: Libraries\Music
and list its subfolders and files.
That is what Im trying to do.
Im also trying to get that info and make a dropdown selector so that I can pick files easy.
rl ·
ok, I see. It's basically the same as sh -c "find -maxdepth 1 -type d"
it just means: find all directories in the current directory
aliasant ·
rl wrote: ok, I see. It's basically the same as sh -c "find -maxdepth 1 -type d"
it just means: find all directories in the current directory
Lol- That made me sooo much wiser.
Im trying to run the command in the prompt now that I have found it.
Still would love an example as the one I asked for before. Would help a lot.
Jay ·
hi aliasant
since your investigating the use of the OS CMD prompt heres a few sites i use frequently,that may be of some use to ya
ive found them to to be a great learning resource!
Thanx Jay but I have a big problem trying to read and understand things like this. I need examples to use and then I can hopefully understand some of it. I have never been able to use manuals and such =(
aliasant ·
Made a new simpler version and it works pretty well. So far only 2 levels deep.
I can build the string for the dropdown menu but I need to know from what folder the file I select belongs in.
I have extracted How many files I have in each folder.
How many folders
And how many files in total.
EDIT: lol. Thats not files. Its characters I guess.
I know the number of the file I selected from the dropdown integer out.
Lets say I pick file number 17.
I have total 9 folders
This is the file amount / folder:
13
15
5
and so on.
I picked file number 17 so it cant be in the first folder that has only 13 files.
In this case it has to be in folder 2 that has 15 files (file number 14-29 )
I need to send out that number 2 to pick the correct path to add to the files name. I have the paths in an array.
This is what it looks like in my osm.
How do I do this?
Of course the amount of folders and files will depend on what my base folder is.
Heeeelp
Edit: Forgot to say. Use the Load button next to the selector and load a wavefile. It will then scan up 2 levels from that file.
sunsynth ·
Hmm, 1st Basic idea:
If (FileNr - Index(1)) <= 0 then PathNr = 1
If (FileNr - (Index(1) + Index(2))) <= 0 then PathNr = 2
...
aliasant ·
sunsynth wrote: Hmm, 1st Basic idea:
If (FileNr - Index(1)) <= 0 then PathNr = 1
If (FileNr - (Index(1) + Index(2))) <= 0 then PathNr = 2
...
hehe. I solved it before I saw this but yes. This is kind of what I did.
The 1st problem was figuring out how to add index amount to the previous index amount.
I had to be able to do this on any number of folders. I made a small math thing that resets itself before running
and it works perfectly. I think..
The 2nd problem was that I needed all of this in a loop so that I, again, could do this on any number of folders.
Solved it and now I have a headache...
Here it is.
aliasant ·
Im about to give up. Its close but it isnt working as it should.
Is there really no one else how can contribute with a better working idea?
sunsynth ·
Wait... help is on the way 😉
I just checked Rudolf's version because yours is more complicated 4 me...
His solution is perfect i think...
so i made some improvements like triggers and 2 properties and added a NewLine in the 'subdir select'-modul
(delete this one if u only need subpaths!)
rl's baby produces two 'DIR' Temp-files: dir.tmp + dir2.tmp to feed the Popup List controls with the help of 'cmd' Shell Execute!
I know U don't like Manuals and you are more familiar with the Mac-GUI... 😉
P.S: i use the Windir and *.dll only because i haven't enough *.wav-files on my Harddisk...
cheers,
Walter
Andrew J ·
I'm having a go at another method too - will post as soon as I can. I just got a bit distracted when I banned my own IP from the forum 😊
DigitalWhiteByte ·
aliasant wrote: Im about to give up. Its close but it isnt working as it should.
Is there really no one else how can contribute with a better working idea?
Sorry, but you have certainly seen how this works:
from kirkagur project
[old link]
I believe that you can adapt its operation to your project.
Nu Audio Science ·
Andrew J wrote: I'm having a go at another method too - will post as soon as I can. I just got a bit distracted when I banned my own IP from the forum 😊
HAHHAHA thats awesome man
The best ban ever 😀
NAS
aliasant ·
Andrew J wrote: I'm having a go at another method too - will post as soon as I can. I just got a bit distracted when I banned my own IP from the forum 😊
LMAO ! !
Thanx everyone. Im testing RLs version from sunsynth now and maybe thats gonna work if I can just understand it.
Gonna have another look at kirkagurs one too.
Mine was way to complicated for something that is already built into windows.
But it had its charm It think.
aliasant ·
sunsynth wrote: Wait... help is on the way 😉
I just checked Rudolf's version because yours is more complicated 4 me...
His solution is perfect i think...
so i made some improvements like triggers and 2 properties and added a NewLine in the 'subdir select'-modul
(delete this one if u only need subpaths!)
rl's baby produces two 'DIR' Temp-files: dir.tmp + dir2.tmp to feed the Popup List controls with the help of 'cmd' Shell Execute!
I know U don't like Manuals and you are more familiar with the Mac-GUI... 😉
P.S: i use the Windir and *.dll only because i haven't enough *.wav-files on my Harddisk...
cheers,
Walter
Been trying to get it to work but nothing happens. It insists on listing my System32 folder in the first subdir and nothing makes any sense what so ever. I tried changing the root to C: and I tried changing it to my samples foder ( I changed the file ext to wav ) I just cant get it to do anything at all. Is it because Im running Windows 7 ? Or is it something else Im doing wrong ?
Andrew J ·
Martin, I've run out of time to finish my attempt tonight. It's getting pretty close, but I've got one bit of tricky stuff left to sort out. Will try and finish tomorrow...
aliasant ·
Andrew J wrote: Martin, I've run out of time to finish my attempt tonight. It's getting pretty close, but I've got one bit of tricky stuff left to sort out. Will try and finish tomorrow...
That sounds very very interesting 🙂
aliasant ·
I thought that I should upload what I have so far while waiting for Andrews solution.
Andrew J ·
Better not hold your breath guys. I worked on it until 4am yesterday and spent a few hours today and still haven't solved a problem with triggering which is plaguing my solution. It might only be a few clicks away from working, but I don't know my arse from my elbow at the moment, so I'll have another go at finishing it tomorrow.
It can be really frustrating getting certain things done in green data - especially when you know it would only take a few minutes to code it in C# or VB!
aliasant ·
Andrew J wrote: Better not hold your breath guys. I worked on it until 4am yesterday and spent a few hours today and still haven't solved a problem with triggering which is plaguing my solution. It might only be a few clicks away from working, but I don't know my arse from my elbow at the moment, so I'll have another go at finishing it tomorrow.
It can be really frustrating getting certain things done in green data - especially when you know it would only take a few minutes to code it in C# or VB!
Ouch.
I feel your pain Andrew.
I have been struggling like that often. Just make sure that u havnt found a bug. Happened to me a few times.
Last time with the VST Parameter Array that didnt quite work.
I have been looking into Kirkagurs a little more but havnt had time to really do anything.
exonerate ·
Andrew J wrote: It can be really frustrating getting certain things done in green data - especially when you know it would only take a few minutes to code it in C# or VB!
I know what you mean!. I've often spent hours working out how to get something done in SM which in any other programming language is incredibly simple.
We need a 'green' code component. 🙂 As a matter of urgency 😉 . I'm working on something now ( adding extra array functionality, like move and swap.) I've a couple of little problems with it, but it's so hard to fix because if I change something I nearly always break something else. 🙁
Jay ·
hi guys
a wee question about what Exo was saying about "a Green code module" what is Green Code? and would it allow for anything like disscused here [old link]
sorry if thats a daft question
regards
ark
exonerate ·
Jay wrote: hi guys
a wee question about what Exo was saying about "a Green code module" what is Green Code? and would it allow for anything like disscused here [old link]
sorry if thats a daft question
regards
ark
I mean SM should have a code component like the current one, but for 'green' non audio related stuff.
It would make complex things like the multi stage env much easier, SMs event system and the wires approach (Relying on link order ect..) is counter productive to doing anything advanced.
kirkagur ·
aliasant wrote:
Andrew J wrote: I'm having a go at another method too - will post as soon as I can. I just got a bit distracted when I banned my own IP from the forum 😊
LMAO ! !
Thanx everyone. Im testing RLs version from sunsynth now and maybe thats gonna work if I can just understand it.
Gonna have another look at kirkagurs one too.
Mine was way to complicated for something that is already built into windows.
But it had its charm It think.
Hi,
I made something that might help you.
it scans 3 folders dip and build array to the selector.
EDIT
*the drop list cant deal with too many Indexes so it crashes if it finds lots of folders&files. 🙂 🙂
OSM
aliasant ·
Hey Kirk. Had a look at it.
Similar to mine but it seems not quite finished maybe?
How were you planning to get the final path to the selected file?
Like this eg. C:\Users\aliasant\Music\Drum Samples\F\Fricke MFB 512\hihat2.wav
Your selector outputs a number but that number cant be used since I think it counts folders and maybe the >> and << as well. Not sure there. Seems to be a limitation to the Dropdown primitive.
Your selector do get the correct name of the selected file but I dont thing its possible to use that name to find the correct filepath. =( Maybe Andrew has something for us... if he can sort his elbow from his arse..... 🙂
Andrew. Let us know if you need help. With the elbow that is. Not the other one...
Andrew J ·
OK, this was really difficult but I think I finally have something that is useable.
It's fully recursive, i.e. it will scan any number of levels (within memory limits anyway). It is limited to checking only one type of file extension (e.g. wav) - but it could probably be modified to do multiples.
I've tested it on different drives/directories on Windows XP and it seems OK as long as you don't point at something too huge. I tried it on my samples drive (124,000 wav files) and it took about 15 minutes to process everything - and then the droplist can only show up to 999 entries anyway!
On 1000 files it takes less than a second (as long as the directory structure isn't too convoluted).
exonerate ·
Andrew J wrote: OK, this was really difficult but I think I finally have something that is useable.
It's fully recursive, i.e. it will scan any number of levels (within memory limits anyway). It is limited to checking only one type of file extension (e.g. wav) - but it could probably be modified to do multiples.
I've tested it on different drives/directories on Windows XP and it seems OK as long as you don't point at something too huge. I tried it on my samples drive (124,000 wav files) and it took about 15 minutes to process everything - and then the droplist can only show up to 999 entries anyway!
On 1000 files it takes less than a second (as long as the directory structure isn't too convoluted).
Nice work Andrew 😀
I like the idea with the trigger ordering module, I might have to start doing that!
Cheers 😉
Exo
nabulas1234 ·
Hi Andrew, i've been searching for something like this for a long time!
But is it possible to play selected samples with this module?
aliasant ·
Andrew J wrote: OK, this was really difficult but I think I finally have something that is useable.
It's fully recursive, i.e. it will scan any number of levels (within memory limits anyway). It is limited to checking only one type of file extension (e.g. wav) - but it could probably be modified to do multiples.
I've tested it on different drives/directories on Windows XP and it seems OK as long as you don't point at something too huge. I tried it on my samples drive (124,000 wav files) and it took about 15 minutes to process everything - and then the droplist can only show up to 999 entries anyway!
On 1000 files it takes less than a second (as long as the directory structure isn't too convoluted).
Sorry Andrew. I know you put down a lot of work in this but it doesnt work very well =(
First image is from a scan of my drumsamples folder. In it I have one folder / letter. A, B, C and so on all the way to Z.
Since, as you already know, it is limited to 999 it will only display the first thousand files. In this case it ended in the B folder.
Second image I have set the Get At String in the "Processor"to Unlimited and now it scans thru every folder. Unfortunatly it takes a very long time and the result isnt that great.
Not sure were the problem is but my guess is the Dropdown Primitive.
You can see that in the S folder things starts going wrong. After S its very strange. No clue here.
And if I select a file after the S folder the file path will be wrong =(
Maybe this isnt really possible?
kirkagur ·
Hi,
Here is it...now you can get the file extension . 🙂
there is a problem that you cant find files in between the folders. 🙁
OSM
Andrew J ·
nabulas1234 wrote: Hi Andrew, i've been searching for something like this for a long time!
But is it possible to play selected samples with this module?
Well, it's definitely possible as it outputs the currently selected sample. So just take the regular wave player and go inside the wave loader module, remove the file dialog part and create an input for the filename that also triggers the load trigger. Then connect the input back up through the parent to the output of the drop list...
Andrew J ·
aliasant wrote: Second image I have set the Get At String in the "Processor"to Unlimited and now it scans thru every folder. Unfortunatly it takes a very long time and the result isnt that great.
Not sure were the problem is but my guess is the Dropdown Primitive.
You can see that in the S folder things starts going wrong. After S its very strange. No clue here.
And if I select a file after the S folder the file path will be wrong =(
Maybe this isnt really possible?
Can't believe I missed the unlimited setting on that first int loop!
With the problem with the S directory, are there any files in there which have a comma character in the file name? This mucks up the menus because commas are used as the item separator. I tried wrapping the entry in quote marks, but that didn't work. We might need to ask Malc if he can do something about that.
As for processing speed, I have spent a lot of time making sure that extra triggers are avoided - and I don't think things can be optimised much more in that department. What I've noticed is that with big listings, the file size for the dir information can be quite large (e.g. 15MB for 124,000 files) and this makes things really grind.
-Andrew
aliasant ·
With the problem with the S directory, are there any files in there which have a comma character in the file name? This mucks up the menus because commas are used as the item separator. I tried wrapping the entry in quote marks, but that didn't work. We might need to ask Malc if he can do something about that.
As for processing speed, I have spent a lot of time making sure that extra triggers are avoided - and I don't think things can be optimised much more in that department. What I've noticed is that with big listings, the file size for the dir information can be quite large (e.g. 15MB for 124,000 files) and this makes things really grind.
-Andrew
Spot on. One of the folders had a comma. I should have checked myself. 😊
Maybe if we used double commas for separation or * or something.
The speed problem ... not sure theres much to do about it.
Except maybe limiting the amount of folders scanned.
Wouldnt it be possible to make on that only scans the folders visible in the droplist at the moment?
Like this. If I first click the dropdown menu I will see a bunch of folders Alphabetically.
None of them scanned yet. When I move over ( and maybe click) on one of the folders it will scan that folder for subfolders and files and leave all the others unscanned.
This would keep the speed up and filesize down. But I dont think we can use the cmd/exec method for that can we?
aliasant ·
BTW. Andrew. You list is very different from mine. But yours seems to work 😉
Even for files far down the list. Mine only works on the first xxx files. It seems that the further down the list the bigger the chance of error is.
Here is a snippet of your list:
Acetone Rhythm Ace,>>,
<<,<<,bd1.wav,>>,>>,<<,<<,bd2.wav,>>,>>,<<,<<,bd3.wav,>>,>>,<<,<<,bd4.wav,>>,>>,<<,<<,clave.wav,>>,>>,<<,<<,clave2.wav,>>,>>,<<,<<,cowbell.wav,>>,>>,<<,<<,cymbal.wav,>>,>>,<<,<<,hhcl.wav,>>,>>,<<,<<,hhcl2.wav,>>,>>,<<,<<,hhop.wav,>>,>>,<<,<<,perc01.wav,>>,>>,<<,<<,perc02.wav,>>,>>,<<,<<,perc03.wav,>>,>>,<<,<<,perc04.wav,>>,>>,<<,<<,perc05.wav,>>,>>,<<,<<,perc06.wav,>>,>>,<<,<<,perc07.wav,>>,>>,<<,<<,perc08.wav,>>,>>,<<,<<,perc09.wav,>>,>>,<<,<<,perc10.wav,>>,>>,<<,<<,perc11.wav,>>,>>,<<,<<,perc12.wav,>>,>>,<<,<<,rim.wav,>>,>>,<<,<<,sd1.wav,>>,>>,<<,<<,sd2.wav,>>,>>,<<,<<,sd3.wav,>>,>>,<<,<<,sd4.wav,>>,>>,
<<,Acetone Rhythm King,>>,
<<,<<,bd.wav,>>,>>,<<,<<,bongo.wav,>>,>>,<<,<<,bongo2.wav,>>,>>,<<,<<,bongo3.wav,>>,>>,<<,<<,crash.wav,>>,>>,<<,<<,hh cl.wav,>>,>>,<<,<<,hh op.wav,>>,>>,<<,<<,sd.wav,>>,>>,<<,<<,sd2.wav,>>,>>,<<,<<,wood.wav,>>,>>,
Ill keep digging. Yours works well for most users I guess. Just not mine 😉
nabulas1234 ·
Ok, i've done version of Directory scan with PREVIEW function, maybe somebody find it usefull.
kirkagur ·
aliasant wrote:
With the problem with the S directory, are there any files in there which have a comma character in the file name? This mucks up the menus because commas are used as the item separator. I tried wrapping the entry in quote marks, but that didn't work. We might need to ask Malc if he can do something about that.
As for processing speed, I have spent a lot of time making sure that extra triggers are avoided - and I don't think things can be optimised much more in that department. What I've noticed is that with big listings, the file size for the dir information can be quite large (e.g. 15MB for 124,000 files) and this makes things really grind.
-Andrew
Spot on. One of the folders had a comma. I should have checked myself. 😊
Maybe if we used double commas for separation or * or something.
The speed problem ... not sure theres much to do about it.
Except maybe limiting the amount of folders scanned.
Wouldnt it be possible to make on that only scans the folders visible in the droplist at the moment?
Like this. If I first click the dropdown menu I will see a bunch of folders Alphabetically.
None of them scanned yet. When I move over ( and maybe click) on one of the folders it will scan that folder for subfolders and files and leave all the others unscanned.
This would keep the speed up and filesize down. But I dont think we can use the cmd/exec method for that can we?
did you check mine?
you sad that it finds the files...and you only need the final path.
now you have it.
tell me if there is any other problem.
good day 🙂
aliasant ·
kirkagur wrote: did you check mine?
you sad that it finds the files...and you only need the final path.
now you have it.
tell me if there is any other problem.
good day 🙂
Checking =) Missed this post.
Update. Ok. It works. Pretty much the same as Andrews but it takes almost twice the time to scan through my samples directory. I used Andrews little handy timer in yours.
aliasant ·
I made a mockup using photoshop to show how I think this has to work.
4 images shows it click by click.
last image in a new post =(. Sorry for the spamming.
aliasant ·
Last image
DigitalWhiteByte ·
Reordering some trigger and dropping the limit to form loops,
now seems to work, unfortunately it is slow,
but still excellent work 😊
Andrew J ·
OK, another approach is a multi-column file browser. Except this would need a list box module and there isn't one. Until now that is! See here.
I've taken that and added to it a bit to do some of the directory listing stuff - but I haven't really finished it off. Over to you guys...
aliasant ·
Hey Andrew. Very nice stuff.
I was playing with it and made a 1-4 level browser.
I changed some things. Didnt understand why you had the string compare on each output.
I replaced that with something else. This works pretty well but there seems to be a trigger problem. Sometimes
I have to click 1 extra time to scan the path.
But other then that it works pretty well.
It outputs not only the filename but the entire path to that file.
I also, I know, again, changed a little something in the browser list thing.
The marker is now a little different. If it works maybe that should be added to the other threads versions. If you like it that is.
There is a quant problem in the graphics. That must be because the scaling of the windows doesnt quantize so we are trying to draw other then even pixels, if you understand what I mean with that babble. This is why it is sometimes blurry and sometimes not. Cant remember how to fix this but maybe turn of the smoothing?
TomC ·
aliasant wrote: Hey Andrew. Very nice stuff.
I was playing with it and made a 1-4 level browser.
I wouldn't do 4 levels (needs to much valuable room), but copy the contents of the right window to the
left one when you go one level deeper and add a 'back' button for going a level up.
Copying an array of strings is easy.
Tom
kirkagur ·
aliasant wrote: Hey Andrew. Very nice stuff.
I was playing with it and made a 1-4 level browser.
I changed some things. Didnt understand why you had the string compare on each output.
I replaced that with something else. This works pretty well but there seems to be a trigger problem. Sometimes
I have to click 1 extra time to scan the path.
But other then that it works pretty well.
It outputs not only the filename but the entire path to that file.
I also, I know, again, changed a little something in the browser list thing.
The marker is now a little different. If it works maybe that should be added to the other threads versions. If you like it that is.
There is a quant problem in the graphics. That must be because the scaling of the windows doesnt quantize so we are trying to draw other then even pixels, if you understand what I mean with that babble. This is why it is sometimes blurry and sometimes not. Cant remember how to fix this but maybe turn of the smoothing?
Hi,
Why don't you use my file browser?
File Browser
aliasant ·
kirkagur wrote: Hi,
Why don't you use my file browser?
File Browser
I did but this one is a bit different. Try it.
My goal for my own project is to have a browser that works in either a dropdown menu or a 1 window. Like this one with 4 but they should all open up in the same window. I havnt had the guts yet to try and solve that. So many things that needs to be done and I feel that the risk of failing with this one is to big. I guess Im a coward.
Andrew J ·
aliasant wrote: Didnt understand why you had the string compare on each output.
That's because you could select either a directory or a file in the first box. If you select a file in the first box, then it switches through to the selected file output (and the second box should be empty). If you select a directory in the first box, then it doesn't switch through to the output, but any file you select in the second box will switch through.
Andrew J ·
TomC wrote:
aliasant wrote: Hey Andrew. Very nice stuff.
I was playing with it and made a 1-4 level browser.
I wouldn't do 4 levels (needs to much valuable room), but copy the contents of the right window to the
left one when you go one level deeper and add a 'back' button for going a level up.
Copying an array of strings is easy.
Tom
That's the sort of thing I was envisaging too. I just ran out of development time (have spent too long on something I don't even need myself!).
Jay ·
Great!! works like a dream and looks very cool too! 😍
would be brilliant if you could make it expand each level across the screen like windows start menu!
oh almost forggot,is it open for use or a personal project?
kudos
ark
aliasant ·
Jay wrote: Great!! works like a dream and looks very cool too! 😍
would be brilliant if you could make it expand each level across the screen like windows start menu!
oh almost forggot,is it open for use or a personal project?
kudos
ark
I think everything posted here in the forum is open for use as long as credit is placed to the contributors
Isnt that so?
Andrew J ·
aliasant wrote: I think everything posted here in the forum is open for use as long as credit is placed to the contributors
Isnt that so?
Fine by me - I consider anything I post here public domain...
McBarGig ·
Well you guys been busy! Excellent work guys...Now if it was only set to work with that preset Folder manager in the Wiki...Here
[old link]
That would be very cool. So, you could have the presets stored as files, then have a ton of folders organizing them...Does SM not slow down with the number of presets you have in the preset manager? For some reason I think I read that somewhere. If that is true then that Preset Folder Manager is excellent because it only uses one preset...But still I guess the arrays used to store the folder and filenames would slow it down anyways..
Still would be a great new Preset manager..You would not have to worry about that adjacent file text file that holds the preset folder location.
Nu Audio Science ·
Tried to make the scrollbar like a standard one
Havent worked out a way yet to make it change size in relevence if you get my drift hehehe
NAS
EDIT*
Updated it a little i noticed the scroll bars were a couple of pixels too high and long
EDIT2
The damn scrollbar was pissin me off not changing size so for now it is full when no scroll and then shrinks when scrollable
Would be nice if any of you guys can work out how to make that dynamic
Nu Audio Science ·
aliasant wrote: This works pretty well but there seems to be a trigger problem. Sometimes
I have to click 1 extra time to scan the path.
I've had this issue before with other stuff and yes it may well be a hack but it fixes it heheheh
Just add an extra Ldo mouse control and send the trigger again hehehe
They cant be sent at the same time so every time you press the mouse it actually presses it twice, like i say may be a hack but it works great
The mod i did above contains the crappy hack hehehe
NAS
aliasant ·
OK. I have spent 2 more days on this 😉 I know. get a life....
Anyways. I have got something that is pretty good.
I wanted something that worked in one window and could be navigated up and down in using external trigger buttons.
I also added a new preview thing.
I left commentaries inside it.
There is one major problem right now that I cant figure out and it has to do with the searcher that Andrew made using the Cmnd primitive. It doesnt update / load the new lists when moving up in the hierarchy. Very strange.
More info inside
Updated the osm. Seemed to be one of those wireless gone missing bugs in it. Nothing has changed. I just saved it with a new name.
Nu Audio Science ·
I have to spend a few days on this myself
I want to use the three pane version i posted above but it has a big bunch of issues that need sorting first
NAS
aliasant ·
Ooops. I found the problem I had so now its working pretty well. Would be good if you guys could test it on your systems and sort out the bugs.
Nu Audio Science ·
Couldn't be dealing with that single path thing
I wanted something that the user could decide what drive they where looking at and what folders and stuff
So i made a path selection button
You just click it and once inside the the chosen path you press open and it gets the folder path
It is a total hack slapper but it works grand
Cheers
NAS
aliasant ·
Perfect NAS. Saves me the trouble 😉
This file list thing is really superior to the ones using loops and arrays to list the file. This is so much snappier.
Now it just needs to be more user friendly but maybe thats up to each abuser?
aliasant ·
Hmm. It is quite annoying that I cant move up in Hierarchy all the way to "Computer\" so that I can start moving into another drive. D: or what ever. Is there any way to move freely like that between drives or is it necessary to use some kind of hack, like a button for each drive? that could work but it means more buttons and its crowded enough already.
update: I tried to put an shortcut to my D drive inside the C drive but that isnt recognized by the file browser. I needs another command I guess. \* only sees folders. Maybe I Have to start reading that command line book someone posted a link to.
Nu Audio Science ·
That button i posted lets you choose any drive as far as i know
It worked here anyway
The browser is very slow here at the moment
I need to look into it and see if i can speed it up at all
NAS
aliasant ·
Nu Audio Science wrote: That button i posted lets you choose any drive as far as i know
It worked here anyway
The browser is very slow here at the moment
I need to look into it and see if i can speed it up at all
NAS
Hmm. The browser is extremely fast here. Faster the windows, At least it feels that way.
Wich version are you using? My latest or one of the earlier with multiple windows?
Nu Audio Science ·
Earlier with multi windows
i need three windows
NAS
aliasant ·
Nu Audio Science wrote: Earlier with multi windows
i need three windows
NAS
Have you tried my version?
Nu Audio Science ·
I cant use your version
I have a naming convention on my wavs that uses strings splits and such to show certain parts of its name
If i use yours and use my string splits it doesn't show folders unfortunately hehehehe
So yours is no option i'm afraid
NAS
aliasant ·
Nu Audio Science wrote: I cant use your version
I have a naming convention on my wavs that uses strings splits and such to show certain parts of its name
If i use yours and use my string splits it doesn't show folders unfortunately hehehehe
So yours is no option i'm afraid
NAS
Ok. But you are using Andrews version then? with the cmnd primitives and not loops and arrays?
If not you should try that.
Nu Audio Science ·
Yeah its with cmds
Its the one i posted earlier but with some string mods on the third screen
I'm still having that double triggering issue you had, I havent tracked that down yet and it is a little slow moving around too
Don't get me wrong it works its just a bit slow
NAS
aliasant ·
Nu Audio Science wrote: Yeah its with cmds
Its the one i posted earlier but with some string mods on the third screen
I'm still having that double triggering issue you had, I havent tracked that down yet and it is a little slow moving around too
Don't get me wrong it works its just a bit slow
NAS
My version uses a different method then Andrews. He had an array thing that I removed. Try mine and let me know if its faster. Maybe its your own additions that is bugging and making it slower?
I got rid of all them double triggering and it works .. well. Im surprised but its freakin perfect 🙂 Fast and reliable. Except that I cant directly go to another hard drive but would have to open up a new path. Dont really like that but Im ok with it for now, hoping someone else gets back from the sun with a solution 🙂
I did notice that every time you use a string split you add an extra trigger so put a S&H after it triggered from before the split to get rid of that.
Nu Audio Science ·
Yeah your new version is way way quicker but i do need those string splits unfortunately which means i need more than one screen
Added click and hold auto scroll to your arrows by the way
NAS
aliasant ·
Nu Audio Science wrote:
Yeah your new version is way way quicker but i do need those string splits unfortunately which means i need more than one screen
Added click and hold auto scroll to your arrows by the way
NAS
Sweet little add there =) Thanx.
If you want to I could perhaps take a look at yours and see if maybe I can find whats bugging it?
Nu Audio Science ·
Its a bit in flux at the minute looks wise hehehehe
But the underlying stuff is still the same
Cheers
NAS
aliasant ·
Ooh NAS. Thats trigger hell in there.
I did test to limit the triggers sent out from the Interactive modul. As was it sent out 4 triggers on a click.
I did place a left up trigger to a Integer S&H to limit it to one and things were faster but there is something else too. The windows dont update correctly. Its that extra click needed sometimes. I think thats a flaw in the general construction. I dont have that behaviour but I did change a lot. Ill keep looking but its a mess 😉
Nu Audio Science ·
Well its not much different to the one you posted with 4 screens
I just deleted a bunch of GUI stuff and added in the string split stuff
I guess that must have killed it
NAS
aliasant ·
Check this out NAS. I think I solved some of it.
Left descriptions inside.
Nu Audio Science ·
Much better thanks
There is an issue that i will look into but it is much faster now
The issue is not a biggie but if you scroll down with the bar and the mouse strays onto the text it selects as you let go of the scroll bar hehehe
Thanks a lot though aliasant
NAS
aliasant ·
Nu Audio Science wrote: Much better thanks
There is an issue that i will look into but it is much faster now
The issue is not a biggie but if you scroll down with the bar and the mouse strays onto the text it selects as you let go of the scroll bar hehehe
Thanks a lot though aliasant
NAS
Your welcome!
But the scroll thing. Thats a feature right? The marked area stays on the file you lasted clicked on.
Nu Audio Science ·
No it doesn't i'm afraid
It jumps to wherever the mouse is when you let go of the scroll bar
Not that much of an issue though
Cheers
NAS
aliasant ·
Nu Audio Science wrote: No it doesn't i'm afraid
It jumps to wherever the mouse is when you let go of the scroll bar
Not that much of an issue though
Cheers
NAS
Hmm- I cant replicate that in my version. It stays perfectly on spot in all three windows. As far as I can tell.
aliasant ·
Added some new features to it. ( Not NAS 3 window version )
*Changed the Folder name (non clickable) button to a "open location" button that, when clicked, will open up the current folder in windows so that you can rename, remove files or do what ever else it is that you need to do.
*Added a refresh button. Its the one with the small recycle icon. When clicked on that the folder will refresh. Good if you changed anything in the current folder.
*Added an animation to the preview button so that its easier to see if it is engaged or not. I made a fast green osc for this so it shouldnt use much cpu.
*Fixed the little samplerate problem in the waveplayer so now it will play at the right frequency.
*Cleaned up the osm a bit.
stw ·
Fixed arrows...
sunsynth ·
FROM NOW ON:
EVERYONE WHO LEFT HIS AUDIO OUT ACTIVE WILL HAVE 2 PAY A FINE!
THE COLLECTION BOX CONTENT WILL BE USED 4 A SM USER CONVENTION IN LONDON!
aliasant ·
Ouch. You just blew your speakers?
sunsynth ·
No - but i hate crashes and Clock changes a lot 🙁
Wrote something here? To have a post removed or your name hidden, write to [email protected].