• 0 Votes
    2 Posts
    329 Views
    A

    Ok, found the solution! I was treating all things in the modulator as data exportable by exportState(), but that one does not export or include table data, regardless of the modulator, it seems. So this one is the appending solution of for the table data of the "Global Static Time Variant Modulator", that has both buttons and table data:

    Content.makeFrontInterface(633, 400); // Prepping for export, original modulator const var Modulator1 = Synth.getModulator("Global Static Time Variant Modulator1"); const var mod1Table = Modulator1.asTableProcessor(); // asTableProcessor, was the missing piece. // Export the table (only one so index is 0) const var export1 = mod1Table.exportAsBase64(0); Console.print("export1: " + export1); // Prepping for import, next modulator const var Modulator3 = Synth.getModulator("modulator3"); const var mod3Table = Modulator3.asTableProcessor(); // Use the previous export1 as the data input for table index 0. mod3Table.restoreFromBase64(0, export1);
  • Save Parameter in Engine vs User Preset

    4
    0 Votes
    4 Posts
    282 Views
    d.healeyD

    @Lunacy-Audio You don't need to put the filename in a variable, you can just pass it directly to the function.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Debugging Question

    3
    0 Votes
    3 Posts
    273 Views
    Casey KolbC

    Awesome, thanks! That'll be really helpful.

  • Best way to script a widget

    7
    0 Votes
    7 Posts
    872 Views
    amounraA

    Awesome :) I haven't tried it out yet, but I'm sure that'll do it....thanks!! That solves some problems!

    a

  • while note is held

    2
    0 Votes
    2 Posts
    183 Views
    Christoph HartC

    No that is not possible. Script callbacks are supposed to return immediately so any kind of "thread management" (sleep, while, etc) is not available.

    What you need to do is to set a variable to true in the onNoteOn callback, then query it somehow (either using a timer callback or other callbacks) and reset it to false in the onNoteOff callback.

  • QR code generator,?

    9
    0 Votes
    9 Posts
    578 Views
    S

    @d-healey Yep , i think so. now i have to learning more about QRCode protocol.
    I would pay someone to do it also....☺
    Thank you for information 🙏

  • Calculate gain at specific frequency?

    10
    1 Votes
    10 Posts
    971 Views
    Dan KorneffD

    @iamlamprey I haven't. Waiting on H3 to dive further into it's DSP.

  • MPE pitch bend range?

    1
    0 Votes
    1 Posts
    261 Views
    No one has replied
  • Connect HISE to external API

    3
    0 Votes
    3 Posts
    468 Views
    J

    @ustk Thank you, that's what I meant.

  • Assistance needed with a vector knob

    6
    0 Votes
    6 Posts
    586 Views
    ustkU

    @d-healey ☺

  • Preset Label update after manual change

    3
    0 Votes
    3 Posts
    255 Views
    pasmaeP

    @lalalandsynth said in Preset Label update after manual change:

    That is an Yamaha SS in the profile pic, right ? Great Stringer.

    @lalalandsynth It's a 1977 Yamaha CP-20 Electric Piano but it looks like they share the same design. I've sampled it with HISE.

  • Saving Sample Maps in Presets with Expansions in mind

    4
    0 Votes
    4 Posts
    363 Views
    Casey KolbC

    Noted! Thanks guys.

  • Start several loops on load

    6
    0 Votes
    6 Posts
    571 Views
  • sampler methods in docs throw error "function not found"

    3
    0 Votes
    3 Posts
    394 Views
    P

    Within a Sampler's MIDI Script processor in onInit, I tried the simplest thing I could think of for this:

    Sampler.selectSounds("_"); Sampler.createListFromScriptSelection();

    throws
    constant not found: Sampler.createListFromScriptSelection {U2NyaXB0IFByb2Nlc3NvcjJ8fDk1fDN8Mzg=} Script Processor2:! Line 3, column 38: Function / constant not found: Sampler.createListFromScriptSelection

  • Lend me your brain

    10
    0 Votes
    10 Posts
    628 Views
  • Populate samplemaps based on folder choice(almost working)

    25
    0 Votes
    25 Posts
    2k Views
    ten7kurT

    @ustk said in Populate samplemaps based on folder choice(almost working):

    @ten7kur It's pushed on Dave's repo, you can compile it and test ;)
    https://github.com/davidhealey/HISE/tree/develop

    Awesome stuff! Just compiled and tested it!
    Thanks so much for taking your time to fix this!!👑

    Hopefully now i can finish my script

  • Extend Arpeggiators 32 slots?

    21
    0 Votes
    21 Posts
    2k Views
    L

    @ulrik Perfect explanation mate.
    Massively appreciate the insight ☺
    Hope you're good!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    19 Views
    No one has replied
  • Print Object Value for Object Key; not working

    22
    0 Votes
    22 Posts
    2k Views
    ten7kurT

    @d-healey said in Print Object Value for Object Key; not working:

    Here's a quick guide

    //Objects store data in key/value pairs var obj = {}; //The key is like an array index var keyValuePair = {"key":"value"}; //Objects can store multiple key/value pairs var multipleKeyValuePairs = {"key1":"value1", "key2":"value2"}; //Arrays don't have keys, they have indexes var array = []; //The first array index is always 0 var arrayWithValues = ["value1", "value2", "value3"]; //You can put an array inside an object. var arrayInsideObject = {"key":["value1", "value2", "value3"]}; //To access the array inside the object you need to use the key var arr = arrayInsideObject.key; //You can also write it like this arr = arrayInsideObject["key"]; //To access the contents of the array that's inside the object you need the key and the array index var index = 0; //This is the index of the first item in the array, "value1" var value = arrayInsideObject["key"][index];

    Helped Alot!
    Big thanks!
    Even though i pretty much knew it all, your example really put it in perspective!

34

Online

2.0k

Users

12.9k

Topics

111.6k

Posts