-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Search the Sound Browser #209
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the idea is really good!
An improvement could be to apply the filter only on the directories, I mean, why would somebody filter also on file name? the best pattern for sample packs is to have a lot of folders with a meaningful name and every folder contains a limited amount of samples (in the Dirt-Samples
pack the maximum is 53 samples for sn
) that usually don't have a significant file name.
I know that this doesn't satisfy all the needs you have, but it will permit to have a simpler PR that could be merged sooner already providing an useful feature, an additional filter on files could be added later on)
Thanks @ndr-brt for the kind words! 😺 Good idea to offer search only in dirs as a first step. This makes sense for the default samples and dirt-specific sample packs! I agree with the ideal sample structure you describe - but I still see a lot of value, when adding to a livecoding setup sample packs gleaned on the web or from friends, to be able to search in the sample file name itself. Often packs will have quite bad structures (for livecoding), and the .wav filename is the main place with useful signal: see e.g. in the above screenshot searching for Likewise a techno-making friend gave me 3 folders of movie sounds, they are all stored by movie, with an idea of the text in the file names, e.g. Same for all Anyway, I'll refactor my code above to search on dirs first, and add a plugin setting toggle for searching in files too, disabled by default 😇 |
Wouldn't it be more useful if you could query SuperDirt what samples it has actually loaded, and what synths are available? It would be relatively easy to do this. |
this would be the best approach, it would also solve the ancient-but-still-actual #122 . I guess this is something not doable correct? Do you want me to create the issue on the SuperDirt repo? |
@telephon is this issue related right? |
@ndr-brt yes, exactly – this would be the issue to discuss and then solve it in the most general way. |
Or, actually, these are two somewhat related issues:
The current |
I've got 37k samples accessible in my Tidalcycles setup, so the sound browser is a godsend
But I struggle to scan it even with the browser's tree view
So I built a search feature:
It filters to only dirs that have matches in their name or their samples' names:
Filters within folders too:
And when you play them once they get back to normal font weight, here you can see which
tom
in therampleP3
folder I listened to since the last "tom" search:I don't think we should merge it now though! 🚧 👷
poesie
andrample
folders - although a bug in my local links that should not be visible in clean dirt-samples folders, would be nice to filter also on "has no child of classtidal-sample
Let me know what you think 🫶