• Inline functions sharing iterators

    9
    2 Votes
    9 Posts
    445 Views
    Christoph HartC

    This is because the i variable is in fact a global variable, because inline functions do not have a scope for default variables.

    In order to fix it, just create a local variable before using the loop:

    inline function one() { local i = 0; for (i = 0; i < 20; i++) { two(); } } inline function two() { local i = 0; for (i = 0; i < 10; i++) { Console.print(i); } }
  • Inconsistency between timer and timer object

    2
    0 Votes
    2 Posts
    239 Views
    Christoph HartC

    Yes this is one of the most annoying inconsistencies, but I can't change it without breaking every single use of the timers.

    The reason for it was that I created the global timer first and didn't bother about milliseconds as unit, but the UI timer object is just a wrapper around a JUCE class which uses milliseconds as unit.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Possible to download data Within Hise Script

    4
    0 Votes
    4 Posts
    268 Views
    d.healeyD

    @nodeToVst

    You can use the Expansions system to provide additional sample content (sample maps + samples) to your plugin. This is how PercX works but it does it all from within the VST. You'd need to build a separate installer to place the content in the right location on your user's system and you'd need to design your plugin to make use of the expansions.

  • One panel multiple popup menus

    9
    0 Votes
    9 Posts
    891 Views
    d.healeyD

    Yeah this example (built on your snippet) demonstrates the issue. Clicking on a menu item opens the popup but all I want is to trigger the callback. The work-around obviously is to not store the menu items in the panel, but this is the perfect place for them :)

    HiseSnippet 1528.3ocsWs2aaaCDWJMZn1cYcEXe.3LvJjZ7brcR5ikETm5jrZrkVu31thk0UvHQaSDYRAI5j3FDr9Ed.6av1QR8f1wIqv.k+CEui2wi+tG5X2XtOIIgGaYW5UShHV1eoSuILwv1CwTlUmcsr+JmCvIBRLRS5YShvIIj.Ka6a8SRB1kV1RM9mm9LbHl4SJHYY8FN0m7KzQTQA0ts9YZX393.xqniL18Fs53yYs4g7wf8bKm5VQX+SvCHu.K21RNV1ewdATAOtm.KHIV1K+LdvjdC4mwz6+MzD5wgD4hFV8.EoIuOOLPZwRpVsGRCC5lcuSr.szs.EtkFE9FmCnAzb5EnwWqXfJjvDOrW5lLuFllW8Ocyy1v7VVad2yomeLMRTv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85N6BdWYeRozf8EQhEToIXuK4TnATcWSkb1kjbhfGA8RlWI1x9tBE2Ux5oRVI2hBcNcaG8OLsNunG0m2ZRwhcZclLuLmPq+pkN+LmxG2oE3I4mk4OAS5tN6DFhJHjmhnJH.l7RJJujcnTSsCo9mHahSFem0ZbouHq85BpMMIe7fqtUATn4pTOlGGPh6Q+vTcsqodHNfNNwjtkArcmqC1J4jFxZfae7XCbq0ulgaN19v5LLyw9ugUSWxvxdUG4GnFkUSM0Sqqm1POsod5gVyE4FBsW2IYZZ+eNkSyBUcr0OY4JsfCODfGLNDKl90AxmDkx.xYlpMbYq1rDpXh4Sl9r7jgOUy8dNcoB+gy2dWZN1Kjk841dSe.1JN60uO7m3BicYm8e6m+WaYo68Z.zIaLEhecdw3Q8fbFeBXILHDWVWydIYpfdc8rXjdDVfZw+BiTlMjqsSY1Hio0HreL+895poxm3caEEvlXpW5VBdxMrF0vRUgEjyods5VifWd9deeIT78fsOeYZt.xr9BHyFKfLat.x7vEPlGs.x73aTF4i92YrfORml.D5tm52N116wvPTlJhz5+.q75xQ.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Loops in realtime callbacks

    5
    0 Votes
    5 Posts
    421 Views
    Christoph HartC

    nope, still not allocating :)

    It's known at the compilation that the counter will be needed so it's allocated during that phase.

  • SliderPack doesn't trigger onControl Callback

    8
    0 Votes
    8 Posts
    595 Views
    d.healeyD

    @toxonic sliderpack.changed()

  • Added server update listener

    3
    1 Votes
    3 Posts
    402 Views
    Christoph HartC

    yes, basically it's just a way of displaying on the UI when the docs are being fetched from the server. Otherwise people will see an empty page for 5 seconds and think it's broken.

    I don't think it's hooked up to the HISE floating tile yet (somebody's using it in his C++ project...)

  • Scriptnode... how to start

    2
    0 Votes
    2 Posts
    250 Views
    toxonicT

    @toxonic
    okay, i managed it to open a snippet, posted in another thread and got it going now - i didn't know where to start and didn't know about the "Engine.createDspNetwork()" function to call.
    sorry, very beginner... ;-)

  • Sliderpack: how to access single slider values

    3
    0 Votes
    3 Posts
    240 Views
    toxonicT

    thank you much, that did the trick! :-)

  • Markdown panel

    40
    0 Votes
    40 Posts
    2k Views
    d.healeyD

    @ustk Hmmm. I'm going to make a really simple test with just a markdown panel and see if it works.

  • button to override values recalled by preset

    10
    0 Votes
    10 Posts
    498 Views
    M

    @ustk said in button to override values recalled by preset:

    HiseSnippet 1315.3ocsWstaaaCElxIJq1ctaEXO.L9OyFH00dqsaXCE0MNIatsIwHNKX+X.EzRz1rghzPjJqFAAXOh6QXOB6MX6PJIKIG4rTCL4.DQdt8ctQdzvPoGUojgHmpmuXNE474tiVHzy5OivDnAGfbdj6wDklFhi2Z+EyIJE0G43r0OY1vo51H6ye+p8IbhvilsEBcgj4QeGKfoy1cXu2x37iH9zyYA439Y8F3IE8kbYDfmsb6flS7tjLkdBwvVEWjyNG5yzxvQZhlp.d1W5uXzL4uKh4+BlhMlSMK5hFAJJdaT+YLt+vTeUgPNaOLyy2J1y+J2iY9rk6mEA9RKAblD4iANUJBosK.otqCRGI49FErF34jCdaGCuG6NxKjMWmQwfsG5NP.ImIDHrmGVw7hp3riaeIvgP2NfbI8nPXwRIZ9hNc1C+7NcZ8i0qArojbZaONkD1zri4GjPTZ7UjP76Hio7t3WhS02TptuLXtT.KZ1HlbCibYxDRUTskx9ZwZEs.WVMrTVaTED75Fgp3EM9gN2jfs50XBNSPwShDdZlTfkh2Jji6ZLSnj2zK0F6AngGQaUu100qUMFpsA02rgl9QciTxfdqB+8zmhOUfmaA.1aFQLktGlMAqmQwiA+XFQgGSoB.hdDNm5iaP.6eEsQrvmYEzvM2Xo50tIN7VhqagaiVFrj.59fFGCk8MK5KsV5yk40Ehf2s2igG.iiHWQsPTYivxLuiIvPLgFJHb7DFmFKxZyFVUabPCWGJlBHqseTv7WqdynSOoYlb6gWJU6Onro40GWVojn73SYdc93T8Zfi9yLeeHUMmHnb7GhfBSsDxff2SvdI5BqCYSmRCgLobkDuUGmOioRzPfQCiMYV3+PnxD0VFnwblBh1JIlADUY0GjIlCPg2wWB4T0dXp1qc61kkJGZLS26UN7LJw2B.S4WDg23VIyRxcIoHtj3CGFDXSR2JwXjJmYdhs71HuUuQZM.UngPPovgX3liA+LRESsPzy1pDuASCXuJHTtRh1o1skosLynKAcZx0j+uv3+M6lBuhbWRKciAecPbq3t6tK3UVdu4tJ5hC8qqZqPhoXYl4WtT3IRM8TQyV0ttV0Z2TCuJoISJkVhp4zvRIatqL7tDroHJXLMLsRIkQ3Bjh2P8v62MTdwwnbLJECDL8oyoIqytCyPK1qSo1AszYyuUlOleWqqUBaYac6qHQI4P3xxJIrCrpsWU9njqJGwY9zPDCv3m4ZOMEYiMYib7muBspv0Sum0jusx9.23b+pBCO+xfCHZh4B6D3.PbNMTyLAZmCnWAS+De8cU2CnpK0x4P9XYMG79+Ih+3RC9G7dKxV7ldnb5Ymhf21Oj.93dib5AGjWO+VOJTdPrU.PL.ZdLvIeyCJugbKB38sGFXszW3VnmMmA6k2f+keOEb76.wPK6FidGNRIYAPutNuDzzByKX3kqRqfc1ZEUWAc6Aofw4j9Qbht3LdlgYSH.sUEFlxLvjPwzKxOr6mvfecJcvutkUUeOg6icGxzdyJGuUJAul1j+mwaxXz0cObxDpmNCra6dzutoyL+I.kyjQZlX5wD31bSMxIQAifujviBHQ.UNJS4REyIGwq6XVahLinBe6h+AdRH10r1IgX2Thn.hWn78dwGYXFT+A1c.LIreiRU3ikf03kmU351ocGT.78Cu2yyDJdBf8xk4a1.Y91MPlmsAx77MPlWrAx7cafLe+cJi4S2dcjVFD2l.aL7P6Y1NNGJLm5YqHQ+KmwEOgB

    ok ill mess with this

  • addArc animated, how to?

    3
    0 Votes
    3 Posts
    465 Views
    ulrikU

    @d-healey Yes of course, stupid me, I have to learn to check the documentation. Thank you David!

  • I Need A Little Help With This Vector Button :) [ SOLVED ]

    27
    0 Votes
    27 Posts
    1k Views
    NatanN

    @ustk Thanks Man 🙏🏻 You Rock. 🙌🏻🙌🏻🙌🏻

  • Script Envelopes?

    5
    0 Votes
    5 Posts
    555 Views
    C

    I appreciate the suggestion of combining separate modulators. Thankfully, I've just found a method that makes use of the apparent fact that the modulation amount can be scripted to have a value greater than one, so the problem is solved. :)

  • get 2 different callbacks for same object?

    8
    0 Votes
    8 Posts
    489 Views
    ulrikU

    @Lindon thank you, it works just the way I would like it to! 🍻

    compare a and b.gif

  • Label for user preset name - get name when session reopened?

    14
    0 Votes
    14 Posts
    1k Views
    ulrikU

    @d-healey thank you, that solved it, it's so easy to forget. :)

  • Sample playback with stored sample start offsets

    4
    0 Votes
    4 Posts
    296 Views
    B

    @Christoph-Hart I'm thinking that one of the best methods for approaching this feature would be to add it as a distinct playback option for the Sampler.

    But before I start coding, I wanted to ask whether you would be open to this as an eventual pull request?

  • Has no-one noticed the terrible sound of the compressor?

    2
    0 Votes
    2 Posts
    435 Views
    Dan KorneffD

    @mwplugs Do you have auto makeup turned on? I found that the output is way too hot, so I updated the math in another thread.
    Also, when the attack and release values are set too low, the signal will have terrible artifacts. I wouldn't use anything lower than .1ms there

23

Online

1.8k

Users

12.1k

Topics

105.7k

Posts