HISE Forum
    • Unread
    • Recent
    • Admin
    • Register
    • Login
    1. Home
    2. Recent
    Log in to post
    Load new posts
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • All tags
    • ChazroxC

      How do I get GlobalCable value?

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      2
      0 Votes
      2 Posts
      39 Views
      ChazroxC

      update...

      I figured it out...

      I found the snippet in Docs and modified it for my usage. Yee.

      const var rm = Engine.getGlobalRoutingManager(); const var mc = rm.getCable("bars"); const var pnlMasterPlayheadBars = Content.getComponent("pnlMasterPlayheadBars"); pnlMasterPlayheadBars.data.value = 0; mc.registerCallback(function(value) { pnlMasterPlayheadBars.data.value = value; pnlMasterPlayheadBars.repaint(); //Console.print(value); }, AsyncNotification); pnlMasterPlayheadBars.setPaintRoutine(function(g) { var a = this.getLocalBounds(0); g.fillAll(this.get("bgColour")); g.setColour(Colours.withAlpha(this.get("textColour"), 1.0)); var x = a[2] / 100 * (this.data.value * 100); g.drawVerticalLine(x, 0, a[3]); });
    • Oli UllmannO

      Get the modulated value of a slider

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Scripting
      3
      0 Votes
      3 Posts
      56 Views
      Oli UllmannO

      @ustk
      Yes, thank you very much. In addition to LAF, there is also ScriptModulationMatrix.getModulationDisplayData(String targetId).

      However, I actually want to use it for modulation, and I think both LAF and the function getModulationDisplayData run in the UI thread and are therefore not really suitable for modulation. But thanks for the idea! :-)

    • Dan KorneffD

      Linux + Bitwig Crash in hise::GlobalServer::WebThread

      Watching Ignoring Scheduled Pinned Locked Moved Bug Reports
      2
      0 Votes
      2 Posts
      37 Views
      d.healeyD

      @Dan-Korneff I haven't ran into that one. Do you have a minimal test project?

    • StraticahS

      Oversampling pitch shifter a bad idea?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      85 Views
      YinxiY

      @Orvillain
      At one point I looked for a way to improve the sound of pitch-shifting, it seemed that the best solution was to build one in Faust or C++. By the way, I think the ScriptNode pitchShift node even bugs during compilation.

    • HISEnbergH

      Mod Matrix with Scriptnode / Hardcoded FX

      Watching Ignoring Scheduled Pinned Locked Moved Solved ScriptNode
      7
      0 Votes
      7 Posts
      126 Views
      HISEnbergH

      @Orvillain @ustk & of course @Christoph-Hart you guys are absolute gems, thanks for all of your input.

      For anyone else who may stumble on this thread, the critical documentation is basically found here: extra_mod.

      The discussion about doing this for a C++ node seems equally relevant if that tickles your fancy (mine was certainly tickled):
      https://forum.hise.audio/topic/13868/is-there-a-way-to-give-a-custom-c-node-parameter-modulation-support-without-wrapping-in-a-network

    • A

      Workspace Brightness & Contrast Adjustment

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      5
      0 Votes
      5 Posts
      62 Views
      ChazroxC

      @Ajak Try and see what happens. Im curious lol

    • E

      Look and feel drawing help

      Watching Ignoring Scheduled Pinned Locked Moved Scripting lookandfeel slider help
      2
      0 Votes
      2 Posts
      68 Views
      ustkU

      @eokeefee The full displacement is then the slider height minus the circle height:

      laf.registerFunction("drawLinearSlider", function(g, obj) { obj.drawOutside = true; var a = obj.area; var norm = obj.valueNormalized; var radius = 15; var cx = a[0] + (a[2] / 2); var start = a[1] + radius; var usefulDisplacement = a[3] - 2*radius; var cy = start + usefulDisplacement * (1.0 - norm); g.setColour(obj.itemColour1); g.fillEllipse([cx - radius, cy - radius, radius * 2, radius * 2]); });
    • Oli UllmannO

      Save timestretching information in SampleMap

      Watching Ignoring Scheduled Pinned Locked Moved Solved General Questions
      3
      0 Votes
      3 Posts
      41 Views
      Oli UllmannO

      @d-healey
      Damn it! :-)

      Thank you.

    • D

      Need Help Exporting Mac Version of a VST3

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      12
      0 Votes
      12 Posts
      106 Views
      d.healeyD

      @duma said in Need Help Exporting Mac Version of a VST3:

      @d-healey i dont have 99 dollars am I at a loss??

      If you want to release plugins for other people to use on Mac then yes.

    • YinxiY

      How to handle many instruments without a huge module tree?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      2
      0 Votes
      2 Posts
      42 Views
      Christoph HartC

      @Yinxi definitely the second one.

    • tsempireT

      Button open a web page

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      4
      0 Votes
      4 Posts
      54 Views
      tsempireT

      @Oli-Ullmann Thank you so much! Big respect 💪

    • Felix WF

      How do I specify a CC controller for Knob using code?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      68 Views
      Felix WF

      @d-healey I see. Thank you so much.🍻

    • OrvillainO

      Transient detection within a loaded sampler - SNEX ????

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      10
      0 Votes
      10 Posts
      347 Views
      HISEnbergH

      @Orvillain Niiiccee thanks this is precisely what I need. I agree the create C++ code for global cables is a bit clunky but once you get the hang of it it's not so bad. Here is the doc I think you are referring to:

      https://docs.hise.dev/scriptnode/list/routing/global_cable.html

    • tsempireT

      Simple copy protection 2025

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      16
      0 Votes
      16 Posts
      194 Views
      ILIAMI

      1000054321.jpg

    • A

      HISE User Interface Unusable

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      9
      0 Votes
      9 Posts
      109 Views
      A

      @d-healey Created new project, tweaked Mac display settings, tools & grid now visible on both projects:LAB2.png LAB.png

      Opened HISE on Laptop, pressed left trackpad button to drag app for scaling & it just popped into place. Thanks for pointing me in the right direction.

    • OrvillainO

      How do I create a matrix modulator for a given slotFX/HardcodedMasterFX instance?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      1 Votes
      3 Posts
      55 Views
      OrvillainO

      Figured it out. It does support addModulator. This is how you do it:

      d3660d2c-72ae-45d4-8e6d-f5110a221950-image.png

      Content.makeFrontInterface(600, 600); const var builder = Synth.createBuilder(); builder.clear(); const var generator = builder.create(builder.Effects.SlotFX, "generator", 0, builder.ChainIndexes.FX); const var slotfx = Synth.getSlotFX("generator"); slotfx.setEffect("Hardcoded Master FX"); const hardcoded = Synth.getEffect("generator_Hardcoded Master FX"); const numP = 4; for (i = 0; i < numP; i++) { hardcoded.addModulator(i, "MatrixModulator", "P" + (i+1) + " Modulation"); } builder.flush();
    • LindonL

      Lindon's interface has gone mad!....optimising a massive UI

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      21
      0 Votes
      21 Posts
      246 Views
      ustkU

      @Lindon For tables, shapes and consort, they can be saved as array values into the object.
      table data points, paths as string, base64 states...

    • YinxiY

      Looking for advice on hosting solutions

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      2
      0 Votes
      2 Posts
      49 Views
      d.healeyD

      @Yinxi

      Bunny

      If you're using WooCommerce there is a compatible plugin too - however the downloads from the developer's site aren't working so if you need it let me know and I'll send you it.

    • OrvillainO

      Is there a way to give a custom c++ node parameter modulation support without wrapping in a network??

      Watching Ignoring Scheduled Pinned Locked Moved C++ Development
      12
      0 Votes
      12 Posts
      397 Views
      OrvillainO

      And I assume these are the modulation colour references to use:

      HiseModulationColours::ColourId::ExtraMod HiseModulationColours::ColourId::Midi HiseModulationColours::ColourId::Gain HiseModulationColours::ColourId::Pitch HiseModulationColours::ColourId::FX HiseModulationColours::ColourId::Wavetable HiseModulationColours::ColourId::Samplestart HiseModulationColours::ColourId::GroupFade HiseModulationColours::ColourId::GroupDetune HiseModulationColours::ColourId::GroupSpread

      Is there any limitations around which colour a particular parameter should use? Or is it really just down to how you want it to appear in the module tree??

      And for the ParameterModes, would it be these ????

      modulation::ParameterMode::ScaleAdd modulation::ParameterMode::ScaleOnly modulation::ParameterMode::AddOnly modulation::ParameterMode::Pan modulation::ParameterMode::Disabled
    • E

      Button Script not working...

      Watching Ignoring Scheduled Pinned Locked Moved Scripting scripting button vst3
      4
      0 Votes
      4 Posts
      64 Views
      ustkU

      @d-healey seeing the number of people legitimately falling in that trap, it's a pity there's still no warning in the console