• Trying to Embed Audio Files into Plugin Binary - file_player node causing issues?

    Solved
    2
    0 Votes
    2 Posts
    223 Views
    HISEnbergH

    @HISEnberg Okay I see my error now. I was loading the audio files from the Audio Files folder (using the File System API) and not the Pool which explains why it works in HISE but not in the compiled plugin.

    So for anyone else who comes here the answer looks something like this:

    const var audioFileList = Engine.loadAudioFilesIntoPool(); // get the audio files from the pool const var AudioReference = Synth.getAudioSampleProcessor("AudioReference"); const var cmb_MatchLoader = Content.getComponent("cmb_MatchLoader"); cmb_MatchLoader.set("items", ""); for (file in audioFileList) { var displayName = file.replace("{PROJECT_FOLDER}", "").replace(".wav", ""); cmb_MatchLoader.addItem(displayName); } inline function oncmb_MatchLoaderControl(component, value) { if (value > 0) { AudioReference.setFile(audioFileList[value - 1]); } } cmb_MatchLoader.setControlCallback(oncmb_MatchLoaderControl);
  • Displaying sync delay time properly

    6
    0 Votes
    6 Posts
    297 Views
    HISEnbergH

    @pcs800 Pretty similar issue. You are calling the repaint incorrectly here:

    inline function onKnob1Control(component, value) { currentTempoIndex = value; Panel1.repaint(); } Knob1.setControlCallback(onKnob1Control);

    So now you need to change Panel1 to displayPanel1 here and call the repaint on the control callback. This also means you will no longer need the timer on this panel since it will be your knob that is updating the panel, so you can remove this:

    displayPanel1.setTimerCallback(function() { this.repaint(); }); displayPanel1.startTimer(50);

    However there is one other thing important to understand. If you want to assign a knob callback with script, than you cannot use the property editor to assign the control anymore (the property editor is going to overwrite anything you are doing in the script).

    So if you want the knob to control the delay time still you are going to need to do that in the inline function:

    inline function onKnob1Control(component, value) { currentTempoIndex = value; displayPanel1.repaint(); // Fixed // Assign to the Delay knob } Knob1.setControlCallback(onKnob1Control);

    I think @d-healey ''s video here covers this but maybe there is another one I don't know about:

    https://www.youtube.com/watch?v=1rs0w4MDNA0

  • Preset Browser - List item background

    24
    0 Votes
    24 Posts
    3k Views
    LindonL

    @DanH said in Preset Browser - List item background:

    @ustk ok back on this again 😆

    What would be a crafty way of adding multiple 'tags'?

    So the preset name could be something like BA_LD_PRESETNAME to indicate that it's a bass as well as a lead sound.

    Maybe some kind of divider is needed...

    Really I watch this sort of discussion a lot here, that can be characterised as "how to bend the preset browser to my will". My experience is that its nearly trivial ( a few days at most) to write your own custom preset browser...

  • Best Practice for Getting RMS/Peak on an audio buffer

    14
    1 Votes
    14 Posts
    1k Views
    YarostY

    @griffinboy can you give me an example with screenshot? my english its so bad and i think that the google translate its giving me wrong traduction

  • Odd Filmstrip behaviour? (video linked)

    3
    0 Votes
    3 Posts
    162 Views
    D

    @Chazrox

    Ahh, I see! Thanks duder!

  • Scriptnode Sliders - stack vertically?

    9
    0 Votes
    9 Posts
    527 Views
    ustkU

    @DanH @Christoph-Hart Wish he told us 120 parameters ago... 🤣

  • VST3's and Reaper - anyone getting any weird UI locking behaviour???

    12
    0 Votes
    12 Posts
    1k Views
    It_UsedI

    @Orvillain apparently, the problem is in the Reaper itself, everything works fine for me on version 7.23.

  • MIDI Out Device

    Unsolved
    2
    0 Votes
    2 Posts
    152 Views
    VirtualVirginV

    I would like to know about this as well. To my knowledge I have not seen a commercial MIDI plugin that can route directly to and from MIDI ports/drivers, but I do remember that the two MIDI plugins here called "midiIn" and "midiOut" attempt to do this:

    https://github.com/sleiner/pizmidi/tree/main/pizjuce

    Some of the plugins are buggy, so I do not know if they work or not.

    I think some of the challenge on Windows is that host apps can gain exclusive control over a port, and I know DAWs like Cubase/Nuendo are aggressive in this regard, but there are utilities to multiply port connections (such as MIDI-OX, Virtual Cable or Bidule), and therefore making it possible for multiple hosts to access the same MIDI input/output.

    I would love it if you found a way to do this in a plugin. On an app I believe you should just be able to have access to the output ports from any of the MIDI devices as long as it is not in use by another app (I think it is first-come-first-serve in that regard).

  • "The embedded script files could not be saved"

    5
    0 Votes
    5 Posts
    224 Views
    D

    @d-healey I did compile it from source (my first time compiing anything as well) and it was the develop branch. Maybe I'll compile it once more just in case I did something wrong.

    Thanks for your help, David! I can't believe how fast you responded. I hope to have more meaty questions in the future.

  • Scroll Bar/Scroll within a panel?

    8
    0 Votes
    8 Posts
    629 Views
    GabG

    @Christoph-Hart Is there a possibility to remove the shadow from the Favorite Icon next to the preset in the default Preset Browser?

  • MatrixId disappeared for linked sliders

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    Oli UllmannO

    @Christoph-Hart
    I just saw that you fixed it. Thanks very much! :-)
    I'll let you know if I encounter any problems.

  • making wavetable files - already Im confusing myself...

    11
    0 Votes
    11 Posts
    618 Views
    Oli UllmannO

    @Chazrox
    Glad you like it. To be honest, there's not that much to do, since @Christoph-Hart has already done all the hard work for us.

    Creating the WaveTable:
    All you have to do is fill a buffer, which you then load into the WaveTable synth using the WaveTable controller.

    Christoph has provided us with some examples in the documentation:
    https://docs.hise.audio/scripting/scripting-api/wavetablecontroller/index.html

    Appearance:
    To make the whole thing look interesting, I drew a panel based on the slider values of a slider pack. The slider pack is transparent and the panel is behind the slider pack.

    So you use the values of the individual sliders in the paintRoutine of the panel.

  • resaving sample maps

    8
    0 Votes
    8 Posts
    363 Views
    It_UsedI

    @paper_lung check the MonolithSplitAmount parameter inside the xml converted to monolith samplemaps. If the value from there is higher than you have in the archive parts, then the sampler will not find the monolith. There is indeed a bug in Hise that can add the previous values of the parts of the split monolith when exporting to the monolith. I recently report this bug. But is no actually for fix. Maybe this with low priority, if you have this bug - you can fix it by yourself.

  • Creating a pop out window with an eq or something on it

    20
    0 Votes
    20 Posts
    2k Views
    ChazroxC

    @pcs800 oh great!

    @pcs800 said in Creating a pop out window with an eq or something on it:

    post the info

    up to you.

  • Compile error macOS Tahoe: error Cycle inside a single target

    3
    0 Votes
    3 Posts
    282 Views
    D

    @Christoph-Hart haha, absolute madness from Apple, no one could have expected such an unnecessary change
    thank you for the quick fix, that was indeed the solution - now the export runs just fine! you saved me from downgrading my OS again^^

    Lets see when I will encounter my next bug with this new macOS update...

  • Bit of silence added to end of samples?

    14
    0 Votes
    14 Posts
    1k Views
    DanHD

    @Christoph-Hart Thank you, hugely appreciated!

  • Project Info - Version Number

    Solved
    6
    0 Votes
    6 Posts
    570 Views
    HISEnbergH

    @Christoph-Hart I gave this a shot but this wasn't the solution. It's my mistake.

    @d-healey you are exactly right.

    Basically for anyone who ends up here I recommend looking at and comparing the Info.plist that is part of the .component bundle. In my case I had changed the company code and this is why the plugin wasn't being recognized properly. Strange I couldn't find this in my Github commits but my issue had nothing to do with the version number.

    Thanks both for your responses!

  • How to change gain with a button in a sampler script

    4
    0 Votes
    4 Posts
    536 Views
    LindonL

    @lijas90 said in How to change gain with a button in a sampler script:

    @Lindon said in How to change gain with a button in a sampler script:

    VoiceGain1.setAttribute(VoiceGain1.Gain, value);

    It works! Thank you so much.😊

    ..do the course.

  • Plotter Oscilloscope Optimization

    3
    0 Votes
    3 Posts
    509 Views
    T

    Thanks a lot for your answer. Very helpful to explore your code and try some stuff.

    I dug a bit through those topics that you sent. There are very interesting as well, they all use a different way than me. I'm using a Floating Tile plotter and not a Script Panel. So, it's probably a dumb question but are every parameters (resizing display buffer, timer etc...) available only in a Script Panel ?

  • Mac OS Deployment Target

    1
    0 Votes
    1 Posts
    235 Views
    No one has replied

35

Online

2.1k

Users

12.9k

Topics

112.1k

Posts