• Loris processCustom with Lambda arguments?

    6
    0 Votes
    6 Posts
    405 Views
    Christoph HartC

    @iamlamprey yes, loris calls into the function with a single argument containing the data object, so if you supply more arguments it will be ignored.

    The lambda way would also work, but you cannot pass literal values (in this case the 440.0), but it needs to be a locally scoped variable.

    Another option would be to use a variable outside of the function that you set to 440.0.

  • Need help with importing samples via script

    Unsolved
    6
    0 Votes
    6 Posts
    413 Views
    ?

    Another error related to this line:

    var importedSamples = Sampler1.asSampler().importSamples([path], false);

    Exception thrown: read access violation. std::_Atomic_address_as<long,std::_Atomic_padded<int> >(...) returned 0xFFFFFFFFFFFFFFFF.

    This Atomic file is part of VS2022 so I'm in uncharted waters now I think 😲

  • Remote Website Doesn't Render with WebView in Executable

    Solved
    3
    0 Votes
    3 Posts
    479 Views
    C

    @Adam_G Solved! I don't recall if there is a HISE setting that you also need, but here's the code:

    // This file has the redirect to the internet. var startingPage = FileSystem.getFolder(FileSystem.AudioFiles).getParentDirectory().getChildFile("Images/html/index.html"); web_DOCS_CoreHTML_GUI.set("enableCache", true); web_DOCS_CoreHTML_GUI.reset(); web_DOCS_CoreHTML_GUI.setIndexFile(startingPage);

    In your Images folder, create a folder called "htm" (though you can call it anything), and place your "index.html" (which likewise, can be any file name ending in the html extension). In this file, use this meta-tag.

    <!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>
  • Loris applyFilter doesn't seem to work

    1
    0 Votes
    1 Posts
    143 Views
    No one has replied
  • Timer Fade

    4
    0 Votes
    4 Posts
    647 Views
    David HealeyD

    @meto396 Yes, you can call startTimer() again to set a new time, even while the timer is already running.

  • if (value >= -1) | issue with IF function

    5
    0 Votes
    5 Posts
    918 Views
    soundsyncS

    @d-healey Ahhh, ok I see. Let me implement this into the project. Thanks again.

  • json.length not working?

    Solved
    3
    0 Votes
    3 Posts
    273 Views
    A

    @Christoph-Hart yeah of course, I thought I hallucinated it for a second, probably because so many array methods work on objects, too. thanks.

  • round robin random

    5
    0 Votes
    5 Posts
    4k Views
    M

    @Noahdeetz Sorry I'm using audio loop players and no sampler to change the sounds straight from the interface

  • Broadcasters best practices

    Solved
    53
    1 Votes
    53 Posts
    10k Views
    David HealeyD

    @Christoph-Hart Duly noted, I'll continue with my other method then 😀

  • Play only the lowest note of a chord

    8
    0 Votes
    8 Posts
    432 Views
    Oli UllmannO

    @d-healey Yes, I will try that.

  • every note a new sample

    2
    0 Votes
    2 Posts
    267 Views
    DabDabD

    @treynterrio said in every note a new sample:

    if I play C3 5 times, it plays all samples once and starts again at sample 1 the 6th time it is pressed.

    You need Round Robin for that. Record each key's samples [zone] from the instrument you want to imitate, lets suppose Piano. Record each notes and stack each velocity with RR.
    Watch @d-healey
    https://www.youtube.com/watch?v=UIqqlV5mgG4
    https://www.youtube.com/watch?v=ZbHncYOagvg

  • Help with Dynamic FX System - Duplicating and Mapping UI Panels

    Unsolved
    6
    0 Votes
    6 Posts
    869 Views
    HISEnbergH

    @griffinboy Great I will post here if I come across anything.

  • Help making a knob turn an effect on and off

    3
    0 Votes
    3 Posts
    374 Views
    B

    @Lindon Champion! Thankyou.

  • 0 Votes
    7 Posts
    884 Views
    F

    @d-healey

    I edited to fix completely tired misinformation etc in my post but yes I had a bunch of regs left over from misusing them and basically haven’t bothered since this is in module and UI builder code but yes I’ll change them.

    Taking a 5 month leave from working on this has not been great :D

  • Link multiple Table Processors to one UI ScriptTable.

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    HISEnbergH

    @d-healey Okay thanks for checking, I'll open an issue for it on Github.

  • How to Upgrade to Latest commits without altering my Custom modified codes

    23
    0 Votes
    23 Posts
    4k Views
    DabDabD

    @ustk Awesome. 😊

  • Can't get loadSampleMapFromJSON to work like LoadSFZFile

    14
    0 Votes
    14 Posts
    2k 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.3oc0XssaabCDkqk2jH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.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
    417 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

38

Online

2.4k

Users

13.9k

Topics

120.7k

Posts