• Global Variables || Global Icon Paths in namespaces?

    8
    0 Votes
    8 Posts
    54 Views
    d.healeyD

    @Christoph-Hart said in Global Variables || Global Icon Paths in namespaces?:

    Can you make an example of what customization makes internal scripts "more approachable"?

    Here's a script for handling guitar picking

    fbb92c17-f5df-4c3f-b1df-74a5a150e782-image.png

    Here's the front end view that the users see

    4f8476f7-31b3-4bdf-84fe-5d60719ee565-image.png

    Making the back-end look a bit more like the front end would make it easier for developers to understand how the two things relate, without having to look into the script so much.

  • Drop Shadows || Can we do drop shadows for text?

    4
    0 Votes
    4 Posts
    12 Views
    ChazroxC

    I love it when we work together.

  • 0 Votes
    24 Posts
    430 Views
    d.healeyD

    @Lurch said in XY Panel controlling Knobs, Panel does not create DAW automation but Knobs do?:

    but I get a load of errors

    Start by making a minimal snippet. 1 panel and 1 knob.

    Then try and implement Christoph's solution.

    You can leave this part out if you want, it's just a check to see if you've compiled HISE with the HISE_SEND_PANEL_CHANGED_TO_PLUGIN_PARAMETER preprocessor definition, and this needs to go at the very top of your script, before any comments.

    #on #if !HISE_SEND_PANEL_CHANGED_TO_PLUGIN_PARAMETER // If this causes an error, you need to add HISE_SEND_PANEL_CHANGED_TO_PLUGIN_PARAMETER=1 // to your ExtraDefinitions of the project and rebuild the component tree (either reload the patch) // or click on the refresh icon in the interface designer) Console.assertTrue(false); #endif // FOR AUTOMATION FROM PANEL
  • How to specify text color

    3
    0 Votes
    3 Posts
    37 Views
    Christoph HartC

    "#FFB7AA5B" is a hex representation of a colour with the #AARRGGBB format. You're almost there, you just need to turn that into an actual number with the hex format:

    const var RED = 0xFFFF0000; const var GREEN = 0xFF00FF00; // same as #FF00FF00 const var TRANSPARENT = 0; // shortcut for 0x00000000
  • Do something only when automating?

    7
    0 Votes
    7 Posts
    86 Views
    Christoph HartC

    @tomekslesicki yes there are plenty of other solutions

    just not calling changed() in the slider would prevent the infinite loop writing a custom panel instead of the buttons that store its value and is assigned to a plugin parameter would also work. you could even get away with just styling the slider with a laf and make it look like a few buttons but thatโ€˜s advanced hackery and might not work with you design.
  • FFT Analyser Path - Need help drawing the magnitude to height

    Unsolved
    24
    0 Votes
    24 Posts
    2k Views
    oskarshO

    @ILIAM not sure what is going wrong can you share a snippet and what to change? Are you using windows ?

  • Buttons

    3
    0 Votes
    3 Posts
    45 Views
    DanHD

    @SBKZ check the snippets in the Hise help menu (browse snippets). Pretty sure there's an example in there.

  • Timestretching sounds robtic/metalic

    5
    0 Votes
    5 Posts
    122 Views
    W

    @griffinboy Thanks for the information. I'll continue finishing my plugin without it for now then, and look into zynaptiq in case. Otherwise, might just have an informational snippet on saying use FL or the DAW built in stretching.

  • Stretch player questions

    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • Moddifying the table UI element

    9
    0 Votes
    9 Posts
    116 Views
    DanHD

    @Christoph-Hart ah nice, didn't know about this :)

    It would be also be an excellent ux upgrade to include drag handles for the curves rather than mousewheel / right-click dragging.

  • This topic is deleted!

    3
    0 Votes
    3 Posts
    14 Views
  • MidiOverlay Drag but not Drop

    3
    0 Votes
    3 Posts
    56 Views
    rglidesR

    Solved. Bit of a workaround but simpler than I expected

    const var pnl_DETECT = Content.getComponent("pnl_DETECT"); const var tile_DRAGROP = Content.getComponent("tile_DRAGROP"); const var pnl_BLOCK = Content.getComponent("pnl_BLOCK"); pnl_DETECT.setMouseCallback(function(event) { var w = this.getWidth(); var h = this.getHeight(); var isMouseOver = (event.x >= 0 && event.x <= w && event.y >= 0 && event.y <= h); var isDragging = event.drag || event.mouseDown || (event.x != this.data.lastX || event.y != this.data.lastY); this.data.lastX = event.x; this.data.lastY = event.y; if (isMouseOver && isDragging) { pnl_BLOCK.showControl(false); } else { pnl_BLOCK.showControl(true); } });
  • LAF help - Flip vertical slider for gain reduction

    3
    1 Votes
    3 Posts
    44 Views
    DanHD

    @d-healey thank you kindly ๐Ÿ™Œ

  • This topic is deleted!

    8
    0 Votes
    8 Posts
    8 Views
  • This topic is deleted!

    7
    0 Votes
    7 Posts
    49 Views
  • Deleting .json Items || = undefined??

    5
    0 Votes
    5 Posts
    70 Views
    ChazroxC

    @d-healey If its writing the new data, and not deleting the old one...where are these numbers coming from?

    d888f7f6-a101-4c0f-b840-a849d08ade97-image.png

    they look like items i've added and removed before but if they arent showing up in the .json file, where are they?

  • Learning Objects || One last thing!

    Solved
    5
    0 Votes
    5 Posts
    128 Views
    ChazroxC

    @Matt_SF you're right. I dropped the .length and boom. Good to go!

  • Script processors are blank after my last export.

    16
    0 Votes
    16 Posts
    164 Views
    ChazroxC

    @d-healey damn that thing is going around rn.

  • Pushing Array Values || Its me again...

    Solved
    9
    0 Votes
    9 Posts
    149 Views
    ChazroxC

    @VirtualVirgin damn I been up all night on this...

    and this was the fix...

    WRONG

    for (i = 0; i < NumSliders.length; i++)

    CORRECT

    for (i = 0; i < NumSliders; i++)

    Thank You!

    ๐Ÿ™

  • The Death Crash || Prevention?

    15
    0 Votes
    15 Posts
    149 Views
    ChazroxC

    @d-healey super critical. Good thing I back up the entire project folder after ever new function added. I'll lose a few hours of work at most. I'll see about recreating that.

32

Online

1.8k

Users

12.2k

Topics

106.1k

Posts