• Javascript Libraries into HISE

    3
    0 Votes
    3 Posts
    151 Views
    T

    @tomekbruml thank you for the quick response! Much appreciated.

  • How do a route sampler output 1 to container input 1+2?

    7
    0 Votes
    7 Posts
    260 Views
    OrvillainO

    adb32698-490b-4f2f-9b53-0def7a2c5f5b-image.png
    e3fe4cc0-b597-4155-9089-612fadbcbd13-image.png

    This is how I handled it:

    Main container. Inside:

    Sampler Send container

    Sampler FX:

    A series of send effects. Each one selects a channel pair (0 being 1+2, 2 being 3+4, etc)

    Sampler routing matrix:

    For the outputs that I need to duplicate.... route the left through to the container inputs. Leave an empty socket for the right. Any top row sources that are genuinely stereo just route through as normal.

    Send Container routing matrix:

    Connect the top row channels to the 'empty sockets' for the right source. This means that 1+2 now carry the same signal. 3+4 carry the same signal.

    Main container:

    Now you can add Simple Gain insert effects and assign them to the pairs. This gives you a volume control for the dual-mono pairs, as well as the regular "true stereo" sources.
  • suffix on Panel Slider

    4
    0 Votes
    4 Posts
    208 Views
    ustkU

    @alobassmann Well, @d-healey just went to the most important point to begin with...

  • Level display in hise

    3
    0 Votes
    3 Posts
    115 Views
    K

    @ustk thank you so much, I'll try!

  • What's the Multipage Editor?

    2
    0 Votes
    2 Posts
    183 Views
    d.healeyD

    @11235813 I don't think it's ready for production yet. You can see it in action if you open the broadcaster wizard.

  • Drawing an arc for the knob LAF; where am I going wrong?

    Solved
    17
    0 Votes
    17 Posts
    441 Views
    M

    @d-healey done, final version:

    //KNOBS LAF const var Knob17 = Content.getComponent("Knob17"); const var laf = Content.createLocalLookAndFeel(); laf.registerFunction("drawRotarySlider", function(g, obj) { var a = obj.area; // Draw the background ellipse g.setColour(obj.bgColour); g.fillEllipse(a); // Draw the inner ellipse (smaller) g.setColour(obj.itemColour1); var innerMargin = 20; // Increase this value to make the inner ellipse smaller g.fillEllipse([a[0] + innerMargin, a[1] + innerMargin, a[2] - 2*innerMargin, a[3] - 2*innerMargin]); // Calculate the rotation angle for the arc var start = 0; // Starting at 0 radians var end = 2 * Math.PI * obj.valueNormalized; // Ending at 2π radians for full rotation // Define the arc path var p1 = Content.createPath(); var arcThickness = 12; // Thickness of the arc var arcMargin = 8; // p1.addArc([arcMargin, arcMargin, a[2] - 2 * arcMargin, a[3] - 2 * arcMargin], start, end); // Draw the value arc with .textColour g.setColour(obj.textColour); g.drawPath(p1, 0, arcThickness); // Modified line with 3 arguments // Draw the needle g.rotate(end, [a[2] / 2, a[3] / 2]); g.setColour(obj.itemColour2); g.fillRect([a[2] / 2 - 8 / 2, 0, 8, 40]); }); Knob17.setLocalLookAndFeel(laf);
  • Preset category not selected on startup?

    Unsolved
    17
    0 Votes
    17 Posts
    1k Views
    LindonL

    @d-healey said in Preset category not selected on startup?:

    Easy yes, but you have to recompile HISE each time.

    ..and all your ScrtiptNode dlls....

  • font alignment in LAF

    4
    0 Votes
    4 Posts
    329 Views
    StraticahS

    @majetone you can replace the + - "offsethere" with your value

    var a = [obj.area[0], obj.area[1], obj.area[2], obj.area[3]]; g.drawAlignedText(obj.text, [a[0], a[1] + offsethere , a[2], a[3]], "centred"); //x y width height
  • I don't understand how to use g.rotate in knob laf

    Solved
    3
    0 Votes
    3 Posts
    369 Views
    M

    @ustk Thanks, that's perfect. Now I have to understand how the arch works to which I will assign "textColor"

    laf.registerFunction("drawRotarySlider", function(g, obj) { var a = obj.area; // Draw the background ellipse g.setColour(obj.bgColour); g.fillEllipse(a); // Draw the inner ellipse g.setColour(obj.itemColour1); g.fillEllipse([10, 10, a[2] - 20, a[3] - 20]); // Calculate the rotation angle var start = 0; // Starting at 0 radians var end = 2 * Math.PI * obj.valueNormalized; // Ending at 2π radians for full rotation g.rotate(end, [a[2] / 2, a[3] / 2]); // Draw the needle g.setColour(obj.itemColour2); g.fillRect([a[2] / 2 - 8 / 2, 0, 8, 40]); });
  • Can't compile plugin after update(v4)

    16
    0 Votes
    16 Posts
    2k Views
    d.healeyD

    @clevername27 To make it more difficult to export :)

    The idea is that many new users were not aware of the various steps they needed to take before they could export/compile their projects - things like installing Visual Studio/Xcode, setting the HISE path, etc. The wizard is meant to check that all these things are in place and guide them, but currently it doesn't seem to be doing it's job.

  • 2 random audio loop player questions

    1
    0 Votes
    1 Posts
    259 Views
    No one has replied
  • struggling to find how and what params are parsed with sfz importer

    4
    0 Votes
    4 Posts
    333 Views
    d.healeyD

    @ospfeigrp I'm not familiar enough with SFZ to know the answer, sorry.

  • Granulator audio file

    11
    0 Votes
    11 Posts
    881 Views
    R

    @Lindon I just found this thread which seems to be exactly what I am looking for.

    https://forum.hise.audio/topic/7812/audioloop-player-granulator-file-handling/4?_=1722250501048

    I shall try this out when I get home but from reading it through it looks like it should give me enough to get to where I need to get to and build from there.

  • Sampler not killing voices?

    2
    0 Votes
    2 Posts
    113 Views
    A

    @aaronventure Caused by polyphonic script FX, and it's not just the sampler

    https://github.com/christophhart/HISE/issues/564

  • 0 Votes
    1 Posts
    128 Views
    No one has replied
  • Beginner Questions - Create Custom Callback

    7
    0 Votes
    7 Posts
    252 Views
    ustkU

    @Matt_SF Oh I see! My bad! I just couldn't think you could name a component with spaces, this is so unnatural, I wasn't able to follow here 😁

  • Best practice for fx clicking oninit?

    8
    0 Votes
    8 Posts
    1k Views
    A

    @whoopsydoodle Yeah you can just set it and forget it.

  • parametric eq every band has a different color

    7
    0 Votes
    7 Posts
    1k Views
    DanHD

    @goldee do it in scriptnode. set up a new filter for each band (check on here as to which filters are working properly there was a thread from @aaronventure on it), set each filter to the same external buffer display. Then on your UI set up a FilterDisplay floating tile for each band / filter and change the colours (via LAF if you want gradients).

    The nodes you can do with the snippet above and a draggableFilterPanel floating tile...

  • Faust macOS Note

    5
    1 Votes
    5 Posts
    287 Views
    A

    @ustk it removes the quarantine attribute from the file which triggers the gatekeeper.

    there's a similar thing for Windows which triggers the defender smartscreen.

    good thing about these OS terminal commands (on both OS') is that they're very well documented; just ask ChatGPT.

  • Building a Panic Button

    3
    0 Votes
    3 Posts
    211 Views
    C

    @ustk I don't know why I didn't think of that... Thanks!

48

Online

2.1k

Users

12.9k

Topics

112.0k

Posts