Hi! I'm hoping to be able to find out the number of audio files in a sample folder from within a patch. I sort of assumed that the new [file] object would enable this, but I can't see how to use it. Any tips?
count number of files in a folder
If they are ALL wav files of course.......... otherwise rinse and repeat.
Probably best to keep the folder for only samples...... and use C:/.../*
You will usually need the whole path because [file].... being part of the Pd binary.... is stuck in the Pd folder and relative paths will only work from there.
ah ha ok thanks!
so is there no way to find the number of files in the patch folder without the full path address?