• Custom popup values help

    General Questions
    11
    0 Votes
    11 Posts
    340 Views
    R

    @ulrik said in Custom popup values help:

    @rzrsharpeprod the percentage knob spits out a value between 0-1, and using

    local gain2 = 50 * Math.log10(value);

    on that value will result in a value between -100 and -11, and the saturation need a value between 0-1 so you could have set the percentage knobs value directly to the saturator, but you wanted 100% (1.0) in the ui to set a value of 60% (0.6) in the saturator so...

    A good way to check that the value you're about to set to a module, other component etc.. will fit to that range. Use

    Console.print(value) in your callbacks

    Awesome, thankyou. I appreciate the assistance and the pointers :)

  • Preset "Warning" Popup

    General Questions
    9
    0 Votes
    9 Posts
    454 Views
    trillbillyT

    @d-healey Damn. Thanks anyway!

  • 0 Votes
    4 Posts
    239 Views
    LindonL

    @trillbilly said in Button return opposite value for popup:

    @d-healey Well I'll be a son of a gun...

    Thank you

    or for those times where you are not using logical operators

    DelayBlackoutimg.showControl(1 - value);

    or you want the result to filp between 1 and minus 1:

    myVal = (value*2)-1;
  • Button + Popup Panel Issues

    General Questions
    6
    0 Votes
    6 Posts
    357 Views
    trillbillyT

    @d-healey Got it. Thank you.

  • One panel multiple popup menus

    Scripting
    9
    0 Votes
    9 Posts
    619 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.EtkFE9F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zwj3raZ1FgtSlt8Gmqu8Gyty700GM1Hm0gQEuLhvttlhrRKpBe85N6BdWYeRozf8EQhEToIXuK4TnATcWSkb1kjbhfGA8RlWI1x9tBE2Ux5oRVI2hBcNcaG8OLsNunG0m2ZRwhcZclLuLmPq+pkN+LmxG2oE3I4mk4OAS5tN6DFhJHjmhnJH.l7RJJujcnTSsCo9mHahSFem0ZbouHq85BpMMIe7fqtUATn4pTOlGGPh6Q+vTcsqodHNfNNwjtkArcmqC1J4jFxZfae7XCbq0ulgaN19v5LLyw9ugUSWxvxdUG4GnFkUSM0Sqqm1POsod5gVyE4FBsW2IYZZ+eNkSyBUcr0OY4JsfCODfGLNDKl90AxmDkx.xYlpMbYq1rDpXh4Sl9r7jgOUy8dNcoB+gy2dWZN1Kjk841dSe.1JN60uO7m3BicYm8e6m+WaYo68Z.zIaLEhecdw3Q8fbFeBXILHDWVWydIYpfdc8rXjdDVfZw+BiTlMjqsSY1Hio0HreL+895poxm3caEEvlXpW5VBdxMrF0vRUgEjyods5VifWd9deeIT78fsOeYZt.xr9BHyFKfLat.x7vEPlGs.x73aTF4i92YrfORml.D5tm52N116wvPTlJhz5+.q75xQ.
  • 0 Votes
    3 Posts
    464 Views
    gorangroovesG

    @Jay That's wicked! Thanks, mate!

  • Some indications to make small popup

    Scripting
    28
    0 Votes
    28 Posts
    6k Views
    gorangroovesG

    @d-healey I shall try that. Thank you very much!