• What's the Multipage Editor?

    2
    0 Votes
    2 Posts
    88 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
    247 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
    409 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
    102 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
    125 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
    403 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
    72 Views
    No one has replied
  • struggling to find how and what params are parsed with sfz importer

    4
    0 Votes
    4 Posts
    94 Views
    d.healeyD

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

  • Granulator audio file

    11
    0 Votes
    11 Posts
    280 Views
    R

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

    Link Preview Image AudioLoop Player/Granulator File Handling

    @Adam_G my example is using a script FX module ;) EDIT: Nope sorry it's in a Scriptnode Synth, but it should work the same way with a script FX, the essentia...

    favicon

    Forum (forum.hise.audio)

    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
    73 Views
    A

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

    Link Preview Image [Engine] Polyphonic Script FX Prevents the Envelope/Engine From Killing Voices · Issue #564 · christophhart/HISE

    HiseSnippet 1345.3ocyX0saSbDEd13L.IkhJHjZunRcunW.RnfcH.UpUBm3e.WhSr7lFwcVCqGGOJ6NypYlMAWDpuR8QfGIdCZOyr6ZOqwM33xeAIzdNyYl4672b9R5IEgTkRHQdabzjDJx653fIb83FiILNpSSj2MvcIJMU5moZuIIDkhND44U4oFEdarNx9y6dxdjHBOjNSEBcrfER2mEyzyz1q9yYQQsICoGwhcr...

    favicon

    GitHub (github.com)

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

    7
    0 Votes
    7 Posts
    139 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 :beaming_face_with_smiling_eyes:

  • Best practice for fx clicking oninit?

    8
    0 Votes
    8 Posts
    299 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
    387 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
    233 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
    168 Views
    C

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

  • Getting HISE to recognise I've downloaded and installed Faust 2.74.6....

    28
    0 Votes
    28 Posts
    790 Views
    clevername27C

    @Christoph-Hart Will do - thank you.

  • 0 Votes
    3 Posts
    184 Views
    W

    @WepaAudio thanx, im in Mac m1, it seems some of the mono sounds not readable in hise, I use them in other stuff, I did a round robin with just the mono sounds and almost all work, I will try to combine the working ones with stereo and see, I will post result later, thanx

  • Viewport starts all the way down

    Unsolved
    13
    0 Votes
    13 Posts
    354 Views
    d.healeyD

    @treynterrio Without seeing your code I can't give a useful answer as I don't know what the cause of the issue is.

  • .extractZipFile() ...doesnt unzip folders?

    5
    0 Votes
    5 Posts
    209 Views
    d.healeyD

    @Lindon said in .extractZipFile() ...doesnt unzip folders?:

    in a real world example

    Can you provide one I can test?

48

Online

1.6k

Users

11.2k

Topics

97.2k

Posts