I've noticed it while looking up something in the section Scripting/Scripting API/Content, here's a link, also 404 for the other subpages: https://docs.hise.audio/scripting/scripting-api/content.html#addaudiowaveform
Best posts made by du36cywy
-
RE: 404 in Docs
Latest posts made by du36cywy
-
Colouring Keys on multiple Keyboards
When I have 2 Keyboards, is there a way to colour them differently, i.e. through
Engine.setKeyColour()
?
My problem is that each keyboard has another Samplemap loaded with different missing samples, which I want to highlight with a red colouring. Do you think it's necessary to use CustomGraphics to achieve this?Here's an example-code, which only colours both Keyboards:
const var Keyboard = Content.addFloatingTile("Keyboard", kbposx, kbposy); Content.setPropertiesFromJSON("Keyboard", { "width": kbwidth, "height": kbheight }); Keyboard.setContentData({"Type": "Keyboard", "LowKey": 31, "HiKey": 84, "MidiChannel": 1, "CustomGraphics": false}); const var Keyboard2 = Content.addFloatingTile("Keyboard2", kbposx, 450); Content.setPropertiesFromJSON("Keyboard2", { "width": kbwidth, "height": kbheight }); Keyboard2.setContentData({"Type": "Keyboard", "LowKey": 31, "HiKey": 84, "MidiChannel": 2, "CustomGraphics": false}); const var missing_list_1 = [31, 36, 43, 50, 55, 57, 64, 71, 78, 84]; const var missing_list_2 = [34, 35, 39, 59, 68, 79]; function markMissing(miss_list) { reg i; for (i = 0; i < miss_list.length; i++) { Engine.setKeyColour(miss_list[i], Colours.withAlpha(Colours.red, 0.3)); } } // this function will be called with one of those arrays as an argument
Thanks in advance, any thoughts on this are appreciated!
-
RE: 404 in Docs
I've noticed it while looking up something in the section Scripting/Scripting API/Content, here's a link, also 404 for the other subpages: https://docs.hise.audio/scripting/scripting-api/content.html#addaudiowaveform
-
404 in Docs
Since a while it's not possible to access important parts of the Docs properly, especially in the Scripting/Scripting API/Content section is filled with 404's.
Is there some backup online or could someone upload one? I also couldn't synchronize it in HISE.. Thanks in advance! -
RE: Send Program Changes
Unfortunately, it doesn't seem so yet..
But if I could create ProgramChange-Messages internally to act as a trigger (w/ Message.isProgramChange()) or to save it inside a sequence to a MIDI File (w/ MidiPlayer.saveAsMidiFile) it'd already be helpful, as I could route some data to another Instance sending the corresponding MIDI-Data to an Output. Even a simple print of a triggered ProgramChange-Message to the Console would help me to demonstrate some things.
Is there any way to realize one of these methods? -
Send Program Changes
Is it possible to send Program Change Messages with the click on a button?
Unfortunately, I didn't find an answer in this forum yet and the Docs return some 404's.
Thanks in advance !