HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. ulrik
    3. Posts
    • Profile
    • Following 1
    • Followers 13
    • Topics 296
    • Posts 3,142
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: a set of Buttons to Change the slider pack value

      @ILIAM try this, it's storing the value of each slider at init, it will also store the value of each slider if the sliders button is inactive

      HiseSnippet 1230.3ocsW00TabCEUKlMSW2lLIc5a8EUdxtvP7W3.SZmZv.sdBe3VmPalLLYj2UqsFVK4YWY.2N8+V+I0+AsWIslUFVnfSwOvfz8dz4n68Jo61MV3SSRDwHmhuc5XJx4Kb6MkKG1dHgwQc1E47L2CIIRZL1L0NSGSRRnAHGmB+nZBGukQ5e+8OrCIhv8oYSgPmHX9zCXiXxrY615Mrnn8IAz2xFY4ciVc7E71hHwDPOEbqfFS7OiLfdDQ41RtnehjLD47staTqteifWETq1Fa0zmzjtUHILrZ8fFMZt4VUquEowlMoU1.47j8BXRQbOIQRSPNKuiHXZughK3FBNgkv5GQUCph5ALaldeQTfZKplE0dHKJn6r.UBBVktYgsBlv1W4dHKfc07YgumqMfyPXG.cVZd4UXN4U0VdUrjWNRxwRRKajzKb64GyFKyrnzym61gCYyPBjmrkhwWzRsbcaK.O3x0GQNiteLL3JDkpUoxZX3OkecQ3GjsRj3yIw3dQr.ZbWHcUE+83YKv.prsXzXAGFTZEKeVQgOC8NSjRX.f7C4C03..ash379cWnpsPnpuPnZrR4SgcVLc.NARqz.chUsuTS+xW5ENg6KYBNVJvvBfkCofmJeDgXJweHNQGkvLtwldj5XPQFOhwo3qVA.dVDUySoxE+ihdghXbIFvYkWiY3uyN0nz7QSFYlIoTYvgUWsbQOOPYJ1NmDMghu.Nbh6SS2AqgM1E7noXVHnJVRprRv8065Tbv7gjnDJ3O3WouIMq9A1oJdOQ4SoxJ17rhMfUPpWSilgZDaKKwfhk+Dp1td.PvsfoxJwhnR9yRIqYTkNj.xWSIdbLMArkExyhwIE8xKhBTCYt6QA85IJaZQzlDE0GlsTdJTex4lakzf0ctMhD9jHLK3RHhk5+5Ld.8xiCy..quWQcBv.Tu4gJsz5JntqBjBrC3Iy11aCGzgUqDvvZX0QbOJjNu4BXRelf38ZslKeGb4ooQUckZeUod5tAJN5mebb9viJFZE6NRHoGyMU+PkB95lBCy0V5hEQiy0r5so36BXI9jQ8ow1YHkiv8uyeot6seot8aN9lZLKGE7Nbl73wT9s8RDJsvDd.vMUU.8R80+eY50+YoGDCto+otV4KjV5.XmBvhEPjDjyW6Vs45M+4AuY0emsyut4zCldPsiEmWo8Vqa3SSRACIOKkDS9QSfma5s0yV7rlAdHvq8oAu9mF7F4.+cc1UEffGKSi5PlXLMVxTIYmcomCc5Xd40ycWZxYRwXcZI8fI7+OfDyk1TO0df4b31iDS3V8T87VHKldx8H6baL79VWvBjCylnSqgT1fgRaWdXjUylrNsdbIqtMYu+QlrFVj8W8e3jcyt1f9EEAShHx4ahT0pcpA3Rn45bS0cFOgImZ2J9+acVdek3Kb6xj9CyWiKkiFgCROFZLse7m5tWXH0WlIvkc2+2dbZ9F8KhIRFevgDYLCpGbU8XAeCiOEXmygGQU2vtj5FHy3JpwpHPOJOPO3efeoFqpF6jZr5LinQD+XwG8MWgo53+yzy.Zhq+5HO3yzfw3bt1cD7AHez2e9k5F.qsn.qun.arn.2XQA1bQA9pEE3l+2.Uee31SjhQliMHzgc2S+RiiydbBTApqVQ+61RwUd
      
      posted in Scripting
      ulrikU
      ulrik
    • RE: a set of Buttons to Change the slider pack value

      @ILIAM then you have to store the state before it's set to zero, and recall it when switching back
      You could use an array to store it

      posted in Scripting
      ulrikU
      ulrik
    • RE: a set of Buttons to Change the slider pack value

      @ILIAM You could use the function "setSliderAtIndex"

      inline function onButtonsControl(component, value)
      {
      	if (value)
      		SliderPack1.setSliderAtIndex(Buttons.indexOf(component), 0);
      	
      };
      
      for (b in Buttons)
      	b.setControlCallback(onButtonsControl);
      
      posted in Scripting
      ulrikU
      ulrik
    • drag audio file to daw

      I have a plugin that load a user audio file which you can slice into custom parts and sizes.
      The plugin operates on the buffer and it can process the audio using the stretch player node (speed & pitch) for direct playback synced to the daws tempo.

      There is a "drag audio to daw" function which takes the buffer inside the stretch player node and saves it to a temp audio file on the hard drive which then gets imported in to the daw.

      It works nicely
      However the dragged file is not manipulated by the stretch player, instead it is the "original file", how can I get the buffer that's been manipulated by the node?
      Do I have to record it, or is there some way to just grab the manipulated buffer and save it as an audio file?

      Is it possible to make a render in the background that includes the modified buffer?
      Any help is appreciated

      posted in ScriptNode
      ulrikU
      ulrik
    • RE: Codesign Hise for a smoother experience

      @ustk great info, thanks!

      posted in Blog Entries
      ulrikU
      ulrik
    • RE: Help with loading 4x file_players from Ui button/Knob

      @Rognvald
      I made some notes inside

      HiseSnippet 3108.3oc6akzbabbEdFRMThzVxKwIGRNjtPkCfVbASicaGKvUaZQRASvHaWJrnahoAQGNXFjYZvk3RUoKopTUtjq9l+Yji9WRJeOW70bJ408LCldvJIDWbREnCZ5kW+d8668d8qWXUO25TeeWOM841+h1TM82zn1EN7lq0jvbz1ZcM8GYroaGOTUaxETOesUunMw2mZooqO8mH5i9r2SS96GexpDahScZbUZZO2kUmtMqEiGWa0JOkYauIwhtOqkRuyUYq5tNq4ZC7SSeZiLZsI0OgbLcWhnaSYn8oD+lZ5uuQdb154rJZgw4KWnNo.sbCRiFlYsxkqPoxlYKSxUp.MSdM8Y1vhwc8pwIbpul98V005hZMcOyIfAOm4yNxlJJXpUC3bP0a5ZaIlhhZ0VqIy1pZjhxWCFkpwpsoCTaumwNLKV25iUeusrATLEpJP8oRJdSmP7LUEuLJh2.DIcEQ5dAhz6XTqtGqMOtEg77FFa4vodMH.NoJJA8UapO3WZrlKzCG9RsHmP2zCJzkhz4yjYATtLYl+Cmat4VdP+P0VYmpauQMzhHSTs8WYu8QHzxi8mXzV7V52bfUlOGcJwCELq27KMQ+Vjzteoio7U5XwbqQZ01l1U2kNUPWQPeSAy9fgv21k6Cj9hC.8QCWOTZFTJyGhXnOBgg+6wOd949l4.MPPW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e7IwMNPFE2bfJOnou6a+1+kBkIjjW8O+7oTXYR4A86+0ecE4e+VTuALeCaYfRRXa8OqCanuI9uQQJ1gbBsS6ALb82f9z+2T9e2F7nEotm6gc2DHDcPVCLucjg6m0XGQYz.tzjVLK1g0qmbn5iP7jRX1IkvbSJg4mTBKLoDVbRIrz3IT72R3Jc3tsBx7Gxju5FAqnp206TeZs+C.06fsZ
      

      fourplayers.gif

      posted in ScriptNode
      ulrikU
      ulrik
    • RE: RNBO in Hise works but not after plugin export

      @felix-martinz said in RNBO in Hise works but not after plugin export:

      @ulrik Exported as MIDI FX plugin. I know for sure Nuendo/Cubase supports it. It also works directly exported from Max. I also see the interface keyboard reacting to MIDI in.

      I'm not sure about Windows, but on Mac the MidiFX plugin is not able to handle audio that I know of.
      In Logic the MidFX plugin is inserted before any instrument, manipulating the incoming midi and then sending it to the instrument.
      You should go the FX plugin route compiling.

      I have RNBO working here, both as pure FX plugins and inside instruments.

      Did you set "ENABLE_ALL_PEAK_METERS=1" in the project settings?

      Skärmavbild 2025-09-08 kl. 05.50.22.png

      posted in General Questions
      ulrikU
      ulrik
    • RE: RNBO in Hise works but not after plugin export

      @Chazrox said in RNBO in Hise works but not after plugin export:

      @ulrik We should have some kind of list by now if we keep track of things DAWs do and dont like. Is there anything like this anywhere?

      Yes, I agree, it would come in handy
      I don’t think such a list exists

      posted in General Questions
      ulrikU
      ulrik
    • RE: RNBO in Hise works but not after plugin export

      @felix-martinz
      Did you export it as FX plugin?
      If so, not all daws are able to send midi to an FX plugin, maybe that is the problem?
      Enable Midi Input FX as @felix-martinz said and try with different daws

      posted in General Questions
      ulrikU
      ulrik
    • RE: I wrote a reverb

      Well done
      it sounds nice!

      posted in C++ Development
      ulrikU
      ulrik
    • RE: Stretch player questions

      @Chazrox no that one I've built but I set audio buffer into the stretch player to enable the pitchRatio and Timing functions

      posted in Scripting
      ulrikU
      ulrik
    • RE: Stretch player questions

      @Chazrox the stretch player node has been in script node for a while

      posted in Scripting
      ulrikU
      ulrik
    • RE: Stretch player questions

      @ulrik how do I get the audio buffer from a stretch player node when it's been set to be processed with the TimeRatio or/and Pitch?

      Is it possible without recording the result?

      posted in Scripting
      ulrikU
      ulrik
    • RE: DisplayBuffer in compiled network causing crash

      @dane-zone looking at @ustk example, it works here to compile to a hardcoded version

      the reference to the Hardcoded FX is not needed, you only use it to get the DisplayBufferSource like this:

      const BufferSource = Synth.getDisplayBufferSource("HardcodedMasterFX1");
      
      HiseSnippet 1303.3oc2X01SaaDG+LIdZIccacqaZu7DuxLwRig.srITABPAMdHhP6pzzT0g8kjaXem24yPip5Gk8t88YeO1q5GfIs8+N6fsGg1rnUJcQBB2+mte9+ylNRgGMNVHQV0OdXDEY8Q1cGxUCZOfv3nc2DY841axhiBHCwajzqGUh2oMZigQj3XpOxxpxizBZUqJx74UObCR.g6QyIgPOQv7n6wBYpbpcV66YAAaS7oGyBKHcq010SvaKBDI.npX2DEQ7Nkzmd.QK1L1ncHwCPVes8RKrnWK+66uvBKsxxdjkoqzizqm6h9sZs7CVwcwUHsdvxzlKgr9fs7YJgrqhnnwHqpaH7G1cf3bd5E7DVL6j.p9fKpKbyoj2VD3qeD0TQsGvB76LxaEiPV1cx8cUR8c20delO6B549vO0v.mqQQGn0LkgWkRvysH7ZV.diARVEfT0THcG6tdRVjJmiFO2xdWthJ6Qf3TQnjJKZFbE61BPBtpQH4T51R3vEZ331r473kZN22UuNDphU3rDjN7.7p3QJ1mpZKBiDb3fyr4hLatdoITcgHsGEzzj3o0KS3hrclcGhz2S.Qj8Iw.R19otZKUB.YInqVxvWxfNtZDbu6g6.gGE9HQhhwo354PrQLUYXlwyoWB2SwDbm9ygq+h5X3S+F8f720CBbRyUiabR.jnBltV8ZmQj3H.Gkt2FdRJDg6PTCbTCXwZfsmviDrgHg6G6zrQy4lG+ifu0cdL76uw8mfuazzXxzqLV6S021EWpj5C7S45KImardz73Hs0yLrqwvuX1iGv7NkCYAy9sXf1KAE0+X7E5hPItMIH3D3oHyspLDWEuEuO3ExvuQxCO4modJGPaiLZfYnOx.4drKbXEbuRZj165LB.Y1PQjoVwYQSxU85irBVvOPnnGBlCrVs5urN9expWuwxSmMJEAAfQGG6zq60nnCOI7Dpbd7YjfD5EBB0WkKZsu5h1h8T7RKNJHnfuKmoNLhxupNMnrJJ3ud7taRTDckdFMPtHpTwzPvZS5YPe1z59Z1aRiOUIhLxlUFBnVY3d6QcEHbZ.h4qa6mGePOuXy6gEOftbGFn2lvOIfnJ2vSOVHiA3PK0kQ2IgGyTCKN13+rtfSJDuicGlxav3w3LiAifa+sAFylcba6sflDdpb.V0d6mdMLnvN89+B6KZvhS6vhgqWii6Ze4Vukv0AT04B4o5jnXSZ0y58bWzlIggk8dUlX3695ge0ILD+I1cbwSd.9cPRHfvEtwivEuwivVuiPX59A82mnjLnoo8AIgoKc.niCsV0CFrlQ2BO8bS8YMH5R49lC+E7Iioq9rUFS2QLK5E93Tuvsr6BiiMaKYb.eo4L9GHmQwOhxoRs+w8JWR+2+0+XRWROZhWR+POEb8GKI73HQbIC2kFxNFl+DWj3iigsJo+xQ5PVQ5sED4XY8pGtM7PNVc5RTIRSre8PXiG0qqoS0IqoyaX2+p2318+8fAykl5TaDF6xBiBnawOiF.qxXv3mA6tzijDnFQsbt79BtHZffy7JFnOhB0f86SkEw9XefVWofMTyob5ZGQCnjBIs+4us1dPxFQB9I5T5Kb+W+pZiMd8U1ov0rfN982Epp7+5EptVFDbcbGgDOo3Ydou6iNO8CMTfmat4e+RM680mwtHy6CULVFBc4dlmWYScIEWXZUbwoUwVSqhKMsJt7zp38mVEevaVQ8Pn0SThvzRSDZ+NaYdYRKqs3DHK2TQf9a8beiHC
      
      posted in General Questions
      ulrikU
      ulrik
    • RE: panel in front

      @VirtualVirgin a temporay solution would be to restrict the dragginBounds

      for (p in pnls)
      {
          p.set("allowDragging", true);
          p.setDraggingBounds([p.get("x"), p.get("y"), p.getWidth(), p.getHeight()]);
          
          p.setMouseCallback(function(e)
          {
              if (e.clicked)
                  this.setZLevel("Front");
          });
      }
      
      posted in Scripting
      ulrikU
      ulrik
    • RE: Loading Files Into MIDIPlayer via script?? || SOLVED! 🙏

      @Chazrox is this working, you have a semicolon instead of a comma?

      "*.mid;*.midi"
      
      posted in Scripting
      ulrikU
      ulrik
    • RE: Stretch player questions

      @ulrik
      video

      posted in Scripting
      ulrikU
      ulrik
    • RE: Stretch player questions

      An example:

      I have recorded an audio file in 7/8 meter, the bpm was 120 for a quarter note. 12 bars long
      If I import it in the stretch player node, enable the clock sync function, I have to set the bpm to 90 to get the right tempo for this file.
      How can I adjust the stretch player to play in the right tempo with tempo set at 120 with the clock sync enabled?

      posted in Scripting
      ulrikU
      ulrik
    • RE: Stretch player questions

      @ulrik I have some more questions regarding this node

      Skärmavbild 2025-08-27 kl. 12.16.07.png
      How do the stretch player node decide how many beats a certain audio file has?
      Is it always 2, 4, 8, 16 etc… ?
      Is it possible to change?

      posted in Scripting
      ulrikU
      ulrik
    • RE: Continuous note loop

      @tsempire use split zones, or different midi channels and more than one sound source

      posted in General Questions
      ulrikU
      ulrik