Forum
    • Categories
    • Register
    • Login
    1. Home
    2. ustk
    3. Posts
    • Profile
    • Following 0
    • Followers 15
    • Topics 460
    • Posts 5,954
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Where are we with Hise currently?

      @Christoph-Hart I’m pretty happy with the current mod matrix but my needs are rather simple so I am not yet facing limitations others might have with more advanced projects

      However, the problem is that what’s existing already isn’t working:

      • Matrix Modulators are not controlled in exported plugins (at least for FX) neither with UI sliders nor from modulation. But I reckon we narrowed this down to the extra_mod nodes not operating so it might not be the MM itself in the end but its connection to the node.

      • there’s still the issue where changing the target from the dropdown messes up the connections. The automatic git branch fix isn’t fixing the issue.

      posted in General Questions
      ustkU
      ustk
    • RE: Where are we with Hise currently?

      @David-Healey Concerning the sub module thingy I was speaking about Hise supporting cross-project assets/script to make our life easier. I think I've read something about that...
      Yes for JUCE I already use the git sub-module as I am on the latest Hise version

      posted in General Questions
      ustkU
      ustk
    • Where are we with Hise currently?

      Hey guys. I've missed some important parts lately since I was away, apparently not at the best time concerning the newly discussed changes with Hise.
      So I've heard about AI, proprietary sub-module-github-ish stuff, and of course the last bug fixes and improvements especially around the matrix modulation. In short, very interesting stuff ! 😎

      1. So my question is, what is the order of importance in all this?

      2. Because my plugin is waiting for the matrix modulation to work to be released (as it was planned to already be), are the bug fixes still a top priority?

      3. I understand the necessity and the hype around AI that I can't myself wait to see and embrace. But is it not adding too much burden at a crucial moment where big stuff are still waiting to be released (and a new Hise version if I remember well), and for which many people are waiting a working/stable version to release their products?

      It would be cool to understand the current roadmap better so that we can adapt to it ☺

      posted in General Questions
      ustkU
      ustk
    • RE: Broadcaster Events - Looking for mouse scroll / wheel

      @DanH I tried several times in the past with no luck. It seems intricate with the manner Juce works with the scroll event that is hard to extract... If what I said ever makes any sense lol 😁

      posted in General Questions
      ustkU
      ustk
    • RE: Matrix Modulation System - Last Call for bugs fixes & changes!!

      @Christoph-Hart So I'm back after being away for a while and it seems a lot of things happened around here!
      Still the issue of selecting another target or "No Connection" from the dropdown is not fixed.
      I did try the branch fix/686-matrix-target-change with no improvement

      posted in General Questions
      ustkU
      ustk
    • RE: Adding External FX Libraries to the HISE source code

      Coming right on time (well, when ready...) as I am to release a set of plugins based on the same engine so if fixes and updates can be done just once for the bundle I can already see the benefit of this!

      posted in C++ Development
      ustkU
      ustk
    • RE: Using custom preset system - as in the actual presets themselves, not a browser

      @David-Healey I tried in during my testing and even if I could make it work, the parsing of an array that contains strings is bad bad bad. You need to rework the result to remove the escape char and other things.
      This might just be normal, but then what about rewriting it back? Might work, might be risky, this I'm not sure until further testing it

      posted in General Questions
      ustkU
      ustk
    • RE: Using custom preset system - as in the actual presets themselves, not a browser

      @DanH Yeah that's where the biggest job resides.
      might doable with some XML parsing, and save as XML but the object might live as strings that are difficult to read/write. I won't be able to make tests within the next days so...

      posted in General Questions
      ustkU
      ustk
    • RE: Using custom preset system - as in the actual presets themselves, not a browser

      @DanH said in Using custom preset system - as in the actual presets themselves, not a browser:

      @ustk clever - but possibly running through all the presets every time you load a new preset is going to take a while.... I'd need to cache them somehow.

      No, only at init when for checking if new presets are present

      How does saving panel data work? Do you have to save the preset (bad for my use case)? Does it auto update / write to the .preset file?

      Yes true... but it should be possible to just write it in the preset dynamically without the need to save. but that would require some clever string handling, don't know if it's secure enough and/or doable, but that might worth a try...
      That might be where the already existing custom preset system is better...

      Where is the data in the .preset file?!

      Under the panel's value, like all other components

      EDIT - Oh it's not persistant... doh 😆

      Yes it is if in the preset..., it's recalled like any other value, that's what I do a lot in the things I've worked on

      posted in General Questions
      ustkU
      ustk
    • RE: Using custom preset system - as in the actual presets themselves, not a browser

      @Orvillain I'm not certain my brain gets all this so pardon me if it's not helping...
      But can't you do it the other way round, saving the module state with addModuleStateToUserPreset and then restore the UI components from it with updateConnectedComponentsFromModuleState?

      posted in General Questions
      ustkU
      ustk
    • RE: Using custom preset system - as in the actual presets themselves, not a browser

      @DanH Oh in fact you don't even need to create a JSON file, all can be kept internally in a variable since the tag list is gathered at init...

      posted in General Questions
      ustkU
      ustk
    • RE: Using custom preset system - as in the actual presets themselves, not a browser

      @DanH The stock preset system doesn't just recall parameters, it also stop/release the audio (or something like that) during loading time, and probably a bunch of other stuff you don't want to do without...

      An approach could be to store an object in a panel that contains what you need like tags.
      Then at init (or anytime you want really) you automatically create/update a unique JSON file that contains all the tags from all the available presets. So if a user shares a preset, this can be automated (or with a "collect tags from presets" button) and the local JSON file updates (as well as your preset browser which ever it is).

      posted in General Questions
      ustkU
      ustk
    • RE: HISE’s CPU readout is at 0% in the compiled plugin in logic.

      @jeffd Since DAWs are reporting there own vison of the plugin CPU consumption, can't you just hide it in the plugin with Engine.isPlugin(). This might prevent confusion for the user since the values won't be the same between DAW and plugin...

      posted in General Questions
      ustkU
      ustk
    • RE: Colour non-sense...

      @dannytaurus Oh cool! Bug or not I can at least make my project to work so thanks!

      posted in Bug Reports
      ustkU
      ustk
    • RE: Colour non-sense...

      A little snippet to support the case...

      HiseSnippet 1638.3ocuXssbaTCFVqa1RsoGnyvCfFeCNfw01woMjRo1NwowCwIlXmRY5zoHuq1XMYsjGsZyA5jY3FtmmCtlmEtlGAtiKK+Z20dWeJMwLvNSRpz+oO8eTpskBKpmmPhLxz8hgTjwcM6bAW0eq9DFG0bajwmXtkvU3K2Wv6P4dTT8KFR77n1HCia8BMWFoWAE78WOuNwkvsnwagPuTvrn6wFvTw61t52xbc2gXS6xFjf6JUaZI3g1CYbKyhngDqSHGS2mnYKkIZWhWejwmaVlXuQE60KYUpXEh0ZOd8x8V2ojCkTobwxq8jxkbpPsrKQPF2tgMSIjcTDE0CTZcg8Ec5KNiGZfWx7X8bo5EkPc.KGtMZq9LW61ibOdHjwJsicV2JzY8olsX1rw6mzooIfikHoSyH0UAoR2.HYj.RqDBoGZ1wRxFphonwyGa1jqnRGh0jwuPdQodqIDkAN3pBCHmP2QBKFKQtGWrXdL7qUeZFfKOgKsfkKkHyAajICDw7T3SIRb2cazpAV+8Lbwycbb5s1WsQkmlfica9hc2C9oKvwwTUX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5Oht2DNonyZSvOZSqKjf2ZB566OHz0pEasfsBW+85jzC0WFBH75fa.TrvZS8k+FtOr8aBrwdLOUMIkL9bFYg7y6OikJDYGJNqMw1FRkutxM1cWW3ys0mzWGRnkPFEgllRbV4zTF4mmgZlKQKnx92lokx3dnIJgSeM5gmnrklnrE0sZXSszlG0oAFtDIBxLg1c5mrrGb5459dRhMS7BoveX3rkwn8bTRzl6FiqxIv0O5MObc+.bM5po+aA2rOQBdblv12knl7Ea52xFQ.ZiLwyjzOEBJJTWjbh3M3YbEuxmwccg3CMayTV8mOFSMGLpm5+e.Fid768La33PsTw.bEycd0x9R2Of4OT3qmG0hnjLH+wDZE0AJOrnf04vHTOc7NkNWLbcQ8ZsGnCkaGr38vWDwR50FQDKMhHZ.wRJdqU38bzOu9NA6.XhG7e+PZyV503Ryd8lAP14asrlTUyHX4kUv0VVAqrrBt9xJ3iWVAexxJ3FeXA0MOp4qDCBKaPnVsaDb4BCiFAcWBxVQ+CvssBkB
      
      posted in Bug Reports
      ustkU
      ustk
    • Colour non-sense...

      There's a strange thing happening with the colour when used as HEX vs computed.

      For instance I have this THEME colour 0xfffb3984, from which I obtain the HIGHLIGHT colour 0xFFFF85B4 after applying some saturation and brightness (using Hise stock methods)
      I can confirm the HEX obtained using a colorPicker on a panel I painted with.

      briefly:

      const var THEME     = 0xfffb3984;
      const var HIGHLIGHT = getColourFromTheme(0.48,  1.0); // sat + bright -> 0xFFFF85B4
      

      But from here it makes no sense:

      • If I use the variable in a paint routine as HIGHLIGHT, no problemo, it's the good one.

      • Now if I programmatically set a colour property of some components using HIGHLIGHT, essentially the preset browser floating tile, the resulting colour displayed is absolutely different (like green instead of pink)
        While pasting directly the HEX equivalent works... (even if both methods show the same HEX in the property panel)

      But this is not the case for other components like labels, for which if you either set the colour programmatically with the variable HIGHLIGHT or paste the HEX value, the result is the same, as expected

      Ok... So the preset floating tile colour handling is broken and then what?

      Well this is where things get interesting.
      When printing the decimal equivalent, you get two different values despite a colourPicker giving the same HEX for both:

      Console.print(0xFFFF85B4);  // 4294935988
      Console.print(HIGHLIGHT);  // -31308
      

      So my guess is that in the components that are working with either values (aka property set manually vs programatically), it might be because of some sanitisation behind the scene. While in the preset browser this sanitisation might simply not occur, so -31308 returns hise green instead of pink.

      So the questions are:

      • Why are the decimal results different, while a colour picker shows the exact same HEX? Are those decimals equivalent like when you make a full revolution around a trigonometric circle? (like 3 PI being equivalent to PI)
      • Why, if a sanitisation is needed, it doesn't happen directly after the use of Colours.withSaturation() and Colours.withBrightness()?
      • Can we fix the preset browser floating tile colour handling?
      posted in Bug Reports
      ustkU
      ustk
    • RE: showErrorMessage doesn't work

      @David-Healey yes this is what I use… just saying it’s broken too and after looking at the code they both use the same thing, so this explains why

      posted in Bug Reports
      ustkU
      ustk
    • RE: showErrorMessage doesn't work

      @David-Healey Neither does showMessage...

      posted in Bug Reports
      ustkU
      ustk
    • RE: UI feedback on tiny control

      @dannytaurus Yeah good move 👍

      posted in General Questions
      ustkU
      ustk
    • RE: Automation subfolders in DAW

      @DanH hmmm actually I have errors when opening the project then not anymore when compiling.
      I also see the warning when exporting the plugin but effectively it’s not a blocking point

      posted in Feature Requests
      ustkU
      ustk