@d-healey Understood - I've spent the last hour pouring over the relevant documentation and can't see any mention of how to actually declare the location of the HR files in a script that HISE will then pick up for extraction - any ideas on how to do this? I can point the plugin to the containing folder, and get the HR file, but then there doesn't seem to be any info on injecting this into that extraction process on the first run, unless I'm being blind.
Posts made by LozPetts
-
RE: Packaging my first instrument - LinkOSX question?
-
RE: Packaging my first instrument - LinkOSX question?
@d-healey Surely if it's installed by a package I could pop the HR1 in the App Data/Application Support folder and set that as the location for that and then simply ask the user where they want the samples to be extracted to? That way the location of the HR1 file would always be the same as the installer would always put it there?
When you say use a custom system, where do I look at how to do this/ implement this? I didn't know this was an option!
-
RE: Packaging my first instrument - LinkOSX question?
@d-healey Is it possible to pre-load/script the location of the HR1 file so that I can install it to a set location via the package? That way users only need to extract the samples to their sample folder rather than extract the individual HR1 files for each expansion every time there's an update/new expansion.
-
RE: Packaging my first instrument - LinkOSX question?
@d-healey Okay -
I'm trying to bypass the need to extract an HR1 on first install and simply have my .ch1 files be in the /Samples/ folder of each Expansion, is that possible? Can LinkOSX/LinkWindows just be bypassed and the paths be set by using the above to grab the Expansions folder and then scripting that to be where the samples are in each expansion folder?
I hope that makes some degree of sense.
-
RE: Packaging my first instrument - LinkOSX question?
@d-healey Hiya - I've read through all that but the issue is that the plugin going to update overtime to include these expansions. Each new expansion release will require an updated version of the plugin to work due to new elements being added there too.
My plan was to simply package the plugin and expansions together and distribute this to users for install each time a new expansion is added.
The issue I'm having is I want to avoid users needing to give the plugin the sample path and expansions directory when they open it up, as this isn't the most user friendly thing if people aren't tech savvy.
I have found (using a comment from yourself I believe!) the option to use the global app data folder rather than the users/application support/ folder, which should make this a bit easier. I'm building a test of this now, but I'll still need to amend the LinkOSX and LinkWindows files to point to the correct folder.
-
Packaging my first instrument - LinkOSX question?
Is there a way to wildcard the user's home folder in the LinkOSX file? I tried "~", which usually works in OSX but no luck.
Do I need to put a script together to generate a new LinkOSX file and sample directory (I'm deploying samples via Expansions so this MUST be Username/Library/Application Support/My Company/My Plugin/Expansions -
RE: Stumped by displaying webpage in WebView
Bump - anyone with web view experience able to weigh in? I've done some more playing around and can't get any further with it.
-
RE: Stumped by displaying webpage in WebView
@d-healey Because that's where they are in the example projects on GitHub, to do with making sure they get embedded correctly perhaps?
-
RE: Stumped by displaying webpage in WebView
@LozPetts So I started again based on a recent thread from Clevername27 - I'm now here -
Content.makeFrontInterface(1000, 650); const var web_DOCS_CoreHTML_GUI = Content.getComponent("web_DOCS_CoreHTML_GUI"); // WebView // HTML file points redirects to internet var startingPage = FileSystem.getFolder(FileSystem.AudioFiles).getParentDirectory().getChildFile("Images/path-example/index.html"); web_DOCS_CoreHTML_GUI.set("enableCache", true); web_DOCS_CoreHTML_GUI.reset(); web_DOCS_CoreHTML_GUI.setIndexFile(startingPage);
With the suggested HTML test file below located at the path detailed in the code above:
<!doctype html> <html> <head> <meta charset="UTF-8"> <title></title> <meta http-equiv="refresh" content="0; URL=https://www.ferretsfightingllamas.com" /> </head> <body> </body> </html>
I have no idea what Ferretsfightingllamas.com is but I'm excited to find out when this gets working haha.
I currently get a white webview window with my HTML file displayed on a dark background.
-
RE: Stumped by displaying webpage in WebView
@d-healey Figured as much, just thought I'd give it a go! Hopefully someone with WebView experience chimes in
-
RE: Stumped by displaying webpage in WebView
@d-healey Yeah it's terrible, I just thought I'd try it, it's helped me with some CSS stuff recently and it did 'okay'
-
RE: Stumped by displaying webpage in WebView
@d-healey Yeah I thought as much when I had to go in and start correcting syntax. I suck at HTML and it made mistakes even I could spot.
I can't see an example that shows a redirecting to a webpage within the UI in HISE, do you know of one? I can see people have it working on the forum but explanations as to how seem thin on the ground.
-
Stumped by displaying webpage in WebView
Hi everyone!
I'm trying to display a live webpage in HISE (50% just as a learning exercise but I have an idea for a potential updater/downloader app down the line that would 100% require this).I've looked through the docs, I've got the example projects (I'm building off of this at the mo) and I have this so far:
HiseSnippet 2332.3oc4ZrsbaabcAoVYcwR9RTp6LsOfwSePdrKuH4nX2NcLkDkhTstvgjV1uoYEvRwMBb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Yl3rIsx4hxQJxHfI1+lKBYNbO3eKofeqhGJj67vZROOVGlgDTfAWokYTlolOM1mRtRh07Pvc.sjFwsR2mRUiwidY5L2W4CFWEBrdW0HqI0eMM7756HBzMsgEwhPGFTwKzA1Tda4WfIbhW+PZobzb6RQuslUgAlUUzVv2nbcot5MqX2MXmWKlgpKbe7tgGov5P7RCKgJ4+fYvjbeIlM07owHmG+dX5K8kDqiJ+T85Nhfd1eAEpWO7sILg2Sr+XeOwwCD1NfvC8Egzplb9J3VwDWcpLhmm7XP4nRYdaClmAcyTKE3Jl.aP34XFrNGm1mYbaR+q2DW5oEErF2C0Qv56lwvS0HxKj9d088T0biYfWwD7Nj.W3bwIW6sEuoqLu5Ddk4Sem6Jy+YvPL45P+Aw538vquS8VMSFdQ+t8V7ygI08o4RhJtufKRa3K63sIEZe8zSo4hZFoYrtTByfuYTv4z7w6Nj9CAMlXyTtXH6QAUyjP8DkCV+apoY2..eaPMnkSYV5+e8u+Om+aaBSUSBykPukiP2Kzj41u4N8y8624lBMV.Gaj15xM28FtcwT8K9T3tmBder93+tp+C5qLNX7NqCbQbRtwcUW3Md+JE++m6WY9zp20oPqgZIOS76467QCRcVtGsiQmM+xZCPzL2u5FzR01lRcOQWpcvNps5pe2aRgatAMh8DWz.D31AzuZ.e9luq1NrgfhpW6Jcfzl1yWjukAHpp3Omtikw969foaem9xKeBFZBbEacFl8+aRw9o3.6mBYzi3DHNN4ZbTIuyng.1MW++kjYw6qVaWc3aCuGzr5wNN4Y0PabkIciqNoa7kS5F+rIciqMoa7ymzM9p+6aTMKQx8enxMfYpZrU732Vo2jCjlf9OZVv6XB
My HTML file is under Images/path-example/index.html and looks like this, I'm trying to redirect to my website just to see if it works.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Redirecting...</title> <script> function redirectToNevermoreAudio() { window.location.href = "https://www.nevermoreaudio.co.uk"; } window.onload = redirectToNevermoreAudio; </script> </head> <body> <p>Redirecting to Nevermore Audio...</p> </body> </html>
Fully admit to borrowing from ChatGPT here, I learn best when I'm reverse engineering a working example rather than reading through docs etc, just how my brain works unfortunately! First time using ChatGPT for HISE and it's gotten a lot of stuff wrong, no surprise there.
I know this is possible as I can see people on the forum have it working but I can't see a working snippet I can take apart/play with to understand how it's all fitting together.
Can anyone point me in the right direction?
-
RE: Enabling/Disabling Samplers with a ComboBox?
@Lindon Thanks mate - I went the expansions route before I saw this or I'd have given it a go! Thanks so much for putting that together.