• Can't get loadSampleMapFromJSON to work like LoadSFZFile

    14
    0 Votes
    14 Posts
    352 Views
    ospfeigrpO

    @ospfeigrp Managed to get it to load an external samplemap.xml when i tested the project again here is a basic snippet

    HiseSnippet 1358.3oc0XssaabCDkqk2jH0zzlf7PenEXgPePBvPVJwwo.FEQ9ZfairErbCZQPa.8JJIBykbAIW6nVj+o9IzOo7GzNj6tRbUTRUTsSa8C1ZFNWNbFxyP4tRQHQoDRjW4SGGSPd21u2XtdztivTN5v8Pd2vOx7wcFGiUJRejmWomZT3UdUj8m27jcvLLOjLUEB8bAMj7LZDUOUa21eOkwN.2mbJMxw5MZeXnfuqfIR.bTxuIJFGdNdH4HrwrU7APreepVH6owZhB4s5Nh9i6MRbIO09mSUzyXDiPKTOHPopOPv5aPrQKZ2QTV+t46WEB442c5tuT5t+99cn8oSzOsJ741EBl5ga8vakhvqTA30xEdMcf2bfjmCjVMER20uWnjFqmthAOeh+gbMQN.CkcWnjZKZkSK4uq.rfqaDgOmbfDDl3QsMa1bs.3W02pBT4U5fKvxfd3nXFQ1J3aCrGAZLjnsHzJUqZ95UK5kMg6jn0Btw07rZbVDEK3f.3qqUl.P4LJmDLHgGpoBdffWvDSTjBVsv7PrFjLVBodkeqRY5fZYBkOfxH8FqzjnFmIEWpH0pVcsfAXlhrVf8iYIn1.vRUcv6xquNDckfQZDKo.3rqzPK5oAwg0ZVu9VkslY1dCvRMrqRsgIv82VkYGrIbMZrwJ3uMTwLJri2pp0.yxjWok3IAwIQ411nZZJyqvMvprOVqtMooRcvw0rw5EM+4rrOucRQTZMrnYUMVP5Wc9wvrWdQq7Djl4FJhFNBE8c8N9nTKLK+Z3WudqJKTG2Dgrl5tXF6L3Bds42yqukyghiDZxw7Z11dkWWIX1kFLXtqkEJaAbNKanejuOGqwShNiHcOzYLDtSV7ht+69htKOTXZExwPA+PNUebLg+tXmPYkUCoPFp.S0VJg636V3PT3l+mUPUKjE3tDxne3v8vZbd3fHCYKlH0TyFwaOxE.gcJiSY+8Hpy0hXqsYcTj2MW3j+poI9WZOdpvO09RZe8HWEiHzgiztZnpNhHHgXI3o2Jn2lQD3hE8SXXcQBZyTorEflYAVQCyGWQ0icmZckwZunP7t9co5vQyGiqLGLBMqqCLlMq6S82ev.RndJ.W0+fe75Yvla5+pzzeOefhhfi.VpLxNKFp3myBdU7ji3E9IGckDKSK8WcL6OZuSBTijE096ssoZ6HQBuPtxP9IjXBVCsYGetU6SN4oRQR7rd8lmXOTbpDXDgRg6BGyIPsV6tG2UJTpAv1wFKk6RcSjCM0poZNgbAQpJp6njHney4Dlg9xyyPLnHl9KMrCFlY7JWqsYo4oXaOFdGlUt0LxOXF4GNi7FyH+nYj2bF4GOUdxbOyIiuze8Q.yv5LLitdFC05vwRcDN9sXlu4hwLCgtKFJFNVtCc3jzlpw8YjSZ.VP57Dz47Xtabc89xUWrqgu+m+9+.h0BOGtbNF6QMcm84W.WXAMFLdOXh0.bBSmqsH4QGAWDORvogEud.G2GNjHcw9b2Paq0vsyoZte6SHLBV4b+9qa+L38rXYwa8eP0hVeve0f41u9B+T3FXX7B9mz29ndL68NbrzBMb7JGuK+fxOpkt6jMxL.xtT+e797s8sj7AlYx+aA0SDIZXVa97NeXnXO3g.gD2QiqXF2lJ2zHa.TOBuuU3OgexVrU9bTyhsxWDElGJXuk8Y66u8JQ3lQG127wfIzL2izJ34FFHAy99nfxHbnT7xvzuegAq2xpAPI29+doreGibvb9BEQv7pWFFVLTukiOXYc7gKqiarrN9nk0wMWVGe7x532726n44DamnEQojoHTmt6md.za+IG.Kg9KP8i84E

    have not tried rhapsody yet but ill revert back here if it's working

    const var Sampler1 = Synth.getChildSynth("Sampler1"); const var ScriptButton1 = Content.getComponent("ScriptButton1"); inline function onScriptButton1Control(component, value) { if(value) FileSystem.browse("", false, "", function(files){ var extra = files.toString(0).split(".xml"); Sampler1.asSampler().loadSampleMap(extra[0]+".xml"); Console.print("loaded"); }); }; Content.getComponent("ScriptButton1").setControlCallback(onScriptButton1Control);
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    70 Views
    No one has replied
  • Question about plugin 'Focus'

    3
    0 Votes
    3 Posts
    159 Views
    A

    @Adam_G is it any plugin or just your plugin? If you do this with an empty project exported, does it still happen?

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Customisation of NumAudioFiles = 1 ?

    Solved
    3
    0 Votes
    3 Posts
    108 Views
    griffinboyG

    @Christoph-Hart

    Thanks for all your help today!

    I'm looking forward to giving back to the Hise community.

    Diving into the source code, I really appreciate all the work you have done, there is some lovely code and it's been fun trying to unpick everything.

    Thank you for giving us this fantastic tool.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    11 Views
    No one has replied
  • Distortion example with Neural Network

    1
    2 Votes
    1 Posts
    163 Views
    No one has replied
  • Custom Compiler Flags? (Parallel Processing)

    2
    0 Votes
    2 Posts
    83 Views
    d.healeyD

    @griffinboy You'd probably need to open the project's juicer file and set them there.

    d1dc35d3-902b-4527-8634-80adb9210871-image.png

  • Split Keyboard

    3
    0 Votes
    3 Posts
    169 Views
    B

    @d-healey

    Legend! Thank you so much!!

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    24 Views
    No one has replied
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    41 Views
  • Adding LAF to Autocomplete Template?

    Unsolved
    1
    0 Votes
    1 Posts
    105 Views
    No one has replied
  • Need Help with a Button that looks at other set of buttons!

    5
    0 Votes
    5 Posts
    326 Views
    ulrikU

    @Natan
    Try this

    inline function onButtonsControl(component, value) { local Btn3Value = false; for (b in Buttons) if (!b.getValue()) Btn3Value = true; Button3.setValue(Btn3Value); Button3.changed(); }
  • HISE's Dope IDE / Share Your Custom Tweaks!

    3
    1 Votes
    3 Posts
    197 Views
    clevername27C
    Saving File Sets

    This requires a Floating window. (It may also work with the Custom workspace.)

    Creating the Template Use a Floating window to create a set of script files. Enter Layout mode. Create a tab to hold a file-set. Quit and Reopen HISE (to save your layout). Creating a File Set Within the file-set tab, create the tabs for your script files, and load them in. (Or, create a new file-set tab.) Add tabs for each script file, and load the files in. Right-click on the file-set tab, and choose "Export Tab as JSON". Paste the text into a text editor (not in HISE), and save the file.

    When you reopen HISE, your script files will be loaded. But when you open your project, the script file tabs are reset. No problem — you can restore the file-set.

    Restoring a File Set Open the text editor file for the file set you want to load. Copy the JSON data. Right-click on a file-set tab, and choose "Replace Tab with JSON in Clipboard".
  • Integrating Third Party DSP Libraries in Scriptnode

    6
    1 Votes
    6 Posts
    702 Views
    griffinboyG

    @Christoph-Hart

    Hi there, I'm looking to integrate a 'header only' library, for use in an external c++ node.

    I could find no 'src' folder and so I created it, and dumped my source code for the library in there, but that doesn't seem to be enough, as my external node will not compile!

    300133a5-fd75-4e4c-80c1-67594212b9c2-image.png

    Is there a place I can put my headers, where they will be picked up by scriptnode?

    276f1dea-2c09-4166-94c5-86c84a63ea8b-image.png

    The autogenerated includes file has correctly transcribed it, but VS is not able to find the thing!

  • This topic is deleted!

    10
    0 Votes
    10 Posts
    107 Views
  • Inaccuracy with g.getStringWidth()?

    Unsolved
    12
    0 Votes
    12 Posts
    493 Views
    d.healeyD

    Build HISE from source, use the develop branch.

  • Using Timer Objects for Realtime/Midi

    3
    0 Votes
    3 Posts
    124 Views
    A

    @Christoph-Hart Great, thanks.

  • Enabling/Disabling Samplers with a ComboBox?

    5
    0 Votes
    5 Posts
    253 Views
    L

    @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.

  • linked buttons with each having a different function

    3
    0 Votes
    3 Posts
    457 Views
    G

    @d-healey

    HiseSnippet 1251.3oc6Y0saaaCElJNJn1aqncX2saHxUxncIRNNMAHKXtw4GXrlDu4trNDTTPKQaSXZRCIprXLDf8n0Go8FrQRIaI65+S6V5f0EBljmuy4iGdNjGJW0m6hCB39.irutWWLv3KMq0iIZUtEhv.UNFX7XyyQABrOLpqi50EEDf8.FFYNS0gQ10A5m+5GNBQQLWbRW.vUbhK9UjNDQRuUK8iDJ8TjG90jN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