Introducing: HISESnippet Browser
-
Hey,
It's my pleasure to introduce to you the new HISESnippet Browser. In the latest development build you can find it under Help > Browse example snippets.
It's intended use is to:
- Provide a quick glimpse into the breadth of things you can do with HISE (esp. for newcomers)
- Fill a documentation gap in the middle between reading the docs and digging in the Forum for already existing solutions, by providing commented and working examples.
- To serve as a local repository for saving your own snippets that can be commented and are easily retrievable.
The menu entry opens a window with a HISE instance decoupled from your main project to quickly browse, save and load HISESnippets. It comes with a bunch (to be expanded) example snippets that you can download in the the Snippet Browsers settings. Here you can set a Snippet directory that will contain the example content and your saved snippets. You can set your username to identify your own snippets, as well. (The icon underneath the settings filters for this).
The examples snippets are relying on a blob of example assets (samplemaps, images, audio and midi files) that can be downloaded, the first time you download the content. (As these static files will not change much in the future, you probably don't need to update them).
After downloading the example content you should see a list of HISESnippet examples that you can browse, sort by categories and filter with tags. Have fun exploring :)
You can add your own snippets to the browser with the plus icon on the top left.
If you think a snippet of yours would look nice in the example collection, please don't hesitate to contribute to the HISESnippet Examples. You can do so with filing an issue or a pull request @ https://github.com/qdr/HiseSnippetDB/tree/main, or ask me for repo access.
Oh, and something else: When the HiseSnippet has an embedded scriptfile (as in "include("Recthelper.js")") you can quickly copy this script to your main project in the File dropdown.
Please let me know if you find some bugs, are having any feature requests, or general feedback or suggestions on this.
All best,
Do -
@Dominik-Mayer this is gonna be very helpful to my workflow
-
@Dominik-Mayer Wow, man! That's brilliant, and it's a really great concept. I am sure this will be hugely helpful to a lot of folks. Thank you!
-
-
@ulrik Awesome, thank you!
-
@Dominik-Mayer Awesome this is such a big time saver!!!
-
@Dominik-Mayer Great News! Congrats.
-
@Dominik-Mayer Nifty! As new examples are added publicly, are they downloaded by HISE, or do you need to add them yourself?
-
@clevername27 you can update the snippets in the settings, then it will download the latest collection and overwrite the existing snippets.
Another option is to just checkout the repo with Git and then point HISE to the location. This way you can simply pull the updates and commit your snippets - I‘m using that option.
We highly encourage people to contribute snippet examples so anyone who wants to contribute can get write access to the repo (or you can do pull requests, whatever you prefer).
-
@Christoph-Hart I'll probably submit all my plugins in bits and pieces (snippets, ha).
-
When exporting a snippet from my project, it's embedding script files that aren't included in the currently open .hip.
-
@d-healey said in Introducing: HISESnippet Browser:
When exporting a snippet from my project, it's embedding script files that aren't included in the currently open .hip.
Ok - can we please please please stop adding functionality and fix the major bugs in HISE.
-
@Lindon I don‘t see this as a new feature but a way to streamline and improve the documentation which is the nr. 1 request in the forum.
-
@Christoph-Hart yet here we are discussing how it is/is not working as a feature.....
-
@d-healey does that happen if you load the hip with a fresh instance?
-
@Christoph-Hart Yes
-
@d-healey are you sure you‘re not embedding it somewhere? It should only load the ones that are explicitely included (just like any other export).
-
@Christoph-Hart Yes, however I have multiple script editors open in different tabs and I notice that some are still showing included code from my main XML. So perhaps that is where the issue is coming from. I'll do some tests.
-
@d-healey yes that might be something I haven‘t checked. Do they show a (detached) suffix?
-
@Lindon I hear you, but feel this one is a good idea because it expands the documentation. Just my $0.02.