• setMouseCursor consistency

    17
    0 Votes
    17 Posts
    2k Views
  • Enter the serial number every time

    11
    0 Votes
    11 Posts
    1k Views
    bendursoB

    @xsaad You're welcome!
    Oh yeah, you have to remove saveInPreset from all momentary buttons :)

  • How to Play an Audio Loop Player?

    Solved
    28
    0 Votes
    28 Posts
    2k Views
    C

    @d-healey I didn't mean to imply it was your code—it was mine, in that I had assigned an LAF to a Component that no longer existed. And thank you, as always.

  • User deleting factory presets...

    3
    0 Votes
    3 Posts
    256 Views
    ChazroxC

    @d-healey got it. Thank you.

  • Control individual sample volumes?

    24
    0 Votes
    24 Posts
    2k Views
    rglidesR

    @Chazrox no worries! good luck with it

  • Basic Questions on ScriptAudioWaveforms…?

    Solved
    7
    0 Votes
    7 Posts
    490 Views
    C

    @d-healey

    Easy to test. Make a blank project and add a waveform controls and loop player.

    @clevername27 said in Basic Questions on ScriptAudioWaveforms…?:

    Good thought. Yes, it works with a canonical implementation. But not in my plugin. :(

    The loop player is triggered by MIDI note on and off I think, so Synth.playNote maybe - I'm just guessing.

    Thank you, yes — we're exploring that in another thread. I'll post the answer if/when we find it.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Printing Viewport view positions?

    3
    0 Votes
    3 Posts
    251 Views
    VirtualVirginV

    @d-healey said in Printing Viewport view positions?:

    @VirtualVirgin The viewport's changed callback isn't called when moving the scrollbars. It's called when the viewport is in list mode and you select an item in the list, or when you call .changed()

    I just tried attaching a broadcaster to the the property, but that doesn't work either - smells like a bug there @Christoph-Hart

    The only things I can suggest trying are a mouse broadcaster or using a timer to poll for changes.

    Thanks, I think I'll just leave it alone for now.
    I was hoping to use it somehow as a workaround to get scroll wheel events since the panel mouseCallback does not have this data.
    And that I was hoping to use as a workaround for the fact that the Viewport obscures the scrollbars when the content inside is lager than 2 dimensions.
    So I think for the time being I will have to stick either a panel with scrollbars (and no scroll wheel) or a viewport with scroll wheel and no scroll bars.
    Otherwise I guess I would have to learn how to edit the HISE source code, but that seems like a steep learning curve for me at the moment.

  • Adding presets to a combobox

    14
    0 Votes
    14 Posts
    976 Views
  • Close standalone app

    2
    0 Votes
    2 Posts
    206 Views
    David HealeyD

    @tomekslesicki Engine.quit()

  • Clear audio file reference from waveform on front end

    7
    0 Votes
    7 Posts
    1k Views
    C

    @ospfeigrp Was that the final answer on this one?

  • noob question: UI component.set()

    7
    0 Votes
    7 Posts
    1k Views
    HISEnbergH

    @prehm there's been a few posts floating around on the topic of panels lately. Hypothetically the panel can store both UI and control data. In practice, for control data, it is best to use another component and reflect UI changes in the panel. So in your case, maybe try using a hidden knob for your four-button state, and using mousecallbacks and a paint routine on the panel to interact with and change the state of the knob.

    You could bypass the knob altogether, I sometimes find issues with it when trying load presets or initialize the project. Really depends on what you are trying to do though.

    https://forum.hise.audio/topic/11797/saveinpreset-not-working-for-panel-data/7?_=1741176180193

    https://forum.hise.audio/topic/12016/is-panel-data-persistent

  • Check if file exists on server

    4
    0 Votes
    4 Posts
    560 Views
    T

    Thanks so much, that's very helpful, I appreciate it!

  • Dynamic creation of components?

    3
    0 Votes
    3 Posts
    277 Views
    VirtualVirginV

    @d-healey said in Dynamic creation of components?:

    @VirtualVirgin At the moment I think the only dynamic components you can add are child panels. Christoph is working on a dynamic container but I don't think it's ready yet.

    Thank you :)

    I looked into the child panels and made this snippet:

    HiseSnippet 1736.3oc2X0saaaCElJIpq1qEqEX6tcgfuXvooMw1M8mztgk+ayV9wnNqKAAAEzRz1bQlzihNIBE4l8BrWh8fzGo8FrcNTxVR1xIoYq6h4aL34+yG44nCYckzkEDHUDqh6G1iQrticiPgtyZcnbAYq0IVuvdeVflKZ63EJnc4tNtc39dN8nBluiqhQ0bovQqBQYzRm.5oLGOplRVMrGMHf4Qrrl9Un8rJLCw76O+9Uo9TgKKgDg7VI2ksMuKWmPs9x+H22eSpGaed2TRu3xa4JEqI8k8gXeZ6JjdT2SnsY6RQwlxl7ZZPGh0CrccWbI1yaU6YUpsD6IdK1rV0JzZUVZomwnOohayk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i0GWIkkMcVSxynFrEvVd3g8d8C5fCYiGtMCZSw1HHqKe7f4GY9.zNQdI9q9i1NMmdu+mzO8Z1pzL+TWI..sTxtiAGebfQjkF.GXsRltOQrgoa6Vmpvo5l.jk2HUHlgMiJyMcEb3Ne6HS1AzlatKeTBvYCchTrqTy1SDY5hWTzYTVsZkKOb9Tkz2moxkMd8J0koXYQ+tMYpG5bJBhwe4dgGD8kIAWmrGf28KZJlr3Lf.Gg6cC3rWyeAJe.pQIeorRW5EinNfDuL+c1fA6rIVEAtGr.lIvcbxdwI6Iewoz2qyMZd9TBJEaA44d8XhIcaOR7k.vKYECafnZyUrt6fqXggLgCWj5qryIYHF3kX801+Pi8188iCJGc7EDxOsEpv.2.5CQQOlRywDzZc3zqKK5lcErWmEbhV1CtT7v6k.20cRA0WXmodlbd5anGldg4qCCIr7uubzmEFR4C+1xYb4smjKumc1owS6ysVNL8BXLR4YCFlL.UcMbhw.muw40PMphH6Q+UD9rlJa3A51yT7lJfFMUIo38YSdSKm4bSGwG9QFw+yhya8wc3JINqGlJN+P6kOcPUf0z3QtsD0g1YLMhjjweuf6YuizquOUm84KvG4IlAz6HyaFfuKf.lNKL8i.8u1aZbcCw6aWmqc6jeLNUNwHTh8oHFieIn6ZuQqVP2pj.bF6MO3Syy9PhF8p8NTshCmCr2se2FvnItv2anB7qU.MXyFU0rtBtFQfFLgmYweA+hYVEWaEyr5.ljtTWk7ctQs9v2Z51FJPLILuKWA3nLr1o5f1bI3bWtG+cttYM0XJV6lp3iuoJt3MUwmbSU7o2TEe1MUwme0JhuL4J80xtQkMDxN02v7MHKqMDT3Dn4zJ4uA3bJKSD

    It creates and destroys the child panels dynamically from the buttons:
    Screen Recording 2025-03-04 at 3.41.25 PM.gif

    The child panels are not saved in the component list and will not be remembered on compile,
    so I created a method of restoring the panels by using persistent data in another panel.
    At this point it just recreates the amount of panels that were there last time, but I would like to be able to recall and restore more complex data from the panels.
    A drawback here is that the child panels do not accept "Component.setPropertiesFromJSON" because the child components do not have a name.

  • Change pitch

    10
    0 Votes
    10 Posts
    666 Views
    S

    @d-healey I want to set the pitch randomly for each note, but I think I've got it now!

  • Issue with working with global scripts/recompiling after fixing errors

    10
    0 Votes
    10 Posts
    1k Views
    T

    @d-healey said in Issue with working with global scripts/recompiling after fixing errors:

    @thrice801 All included files should be available from the little drop down at the top of the script editor in which they are included.

    b8625da2-eefd-4895-b95c-73dce3b334df-image.png

    ahh ok I see thank you! been meaning to subscribe to your patreon gonna do that now

  • 0 Votes
    9 Posts
    1k Views
  • 1 Votes
    8 Posts
    832 Views
    David HealeyD

    @d-healey said in How to programmatically change table viewport component values?:

    Any way to have the buttons off by default

    This is possible when setting the table row data

    local listData = []; for (x in data) { local obj = { CheckButton: 0, // Here I can set the button state Name: x.name }; listData.push(obj); } viewport.setTableRowData(listData);
  • Panel popupMenu with first click callback?

    5
    0 Votes
    5 Posts
    711 Views
    whoopsydoodleW

    Haha dirty indeed. But it works!

    I don't know why but the mouseDownX and mouseDownY values I get when clicking on the panel are always huge. So I'm using an X that's higher than my object width to trigger that? Idk man... haha

    if (event.mouseDownX > 26) { //click on panel //first click shows menu, second hides menu } if (!event.hover && !event.mouseDownX) { //click off of panel that also hides menu }
  • Saturator bypass button

    11
    0 Votes
    11 Posts
    699 Views
    ChazroxC

    @d-healey I seeeee! I'll start doing it like this. I've been using if statements alot because im comfortable but I can see that I may be complicating things in some situations. Thanks Dave.

14

Online

2.2k

Users

13.5k

Topics

117.6k

Posts