Forum
    • Categories
    • Register
    • Login
    1. Home
    2. bwoogie
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 12
    • Groups 0

    bwoogie

    @bwoogie

    5
    Reputation
    1
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    bwoogie Unfollow Follow

    Best posts made by bwoogie

    • RE: Multiple Styles for Controls?

      Thanks guys! I realized i should be using LOCAL Look and Feel before I even got out of bed this morning 😆

      posted in Scripting
      B
      bwoogie
    • RE: Drawing an Arc problem...

      Yay! I was able to get it working. I guess the bounds were off. Thanks for the direction.
      b98cf78e-c9f8-467b-a244-fd364454ebd2-image.png

      posted in Scripting
      B
      bwoogie

    Latest posts made by bwoogie

    • RE: Multiple Styles for Controls?

      @Chazrox said in Multiple Styles for Controls?:

      @bwoogie and when you're done with that....🤣

      ...I'll know right where to find you 🙃

      posted in Scripting
      B
      bwoogie
    • RE: Multiple Styles for Controls?

      Thanks guys! I realized i should be using LOCAL Look and Feel before I even got out of bed this morning 😆

      posted in Scripting
      B
      bwoogie
    • RE: Multiple Styles for Controls?

      @Chazrox Yes, that makes sense. That may be the way I'll do it, if a better way doesn't show up. I'd prefer to be able to just change a style setting in the gui editor - like how you'd choose a knob or a slider. But at least I'll have a method.

      posted in Scripting
      B
      bwoogie
    • Multiple Styles for Controls?

      Is it possible to create multiple styles for the same control? Like, if I wanted to have a couple different looking buttons or knobs for instance.

      The only way I currently see is check the id of the control in my Look and Feel and draw based on that. But that's an awful way because it makes my code not reusable between plugins.

      posted in Scripting
      B
      bwoogie
    • RE: Drawing an Arc problem...

      Yay! I was able to get it working. I guess the bounds were off. Thanks for the direction.
      b98cf78e-c9f8-467b-a244-fd364454ebd2-image.png

      posted in Scripting
      B
      bwoogie
    • Drawing an Arc problem...

      I'm having a problem when trying to draw an arc. anything below about 160 degrees starts getting squashed and wonky. Need some help with figuring out what i'm doing wrong here....

      function drawArc() {
      var a = [0, 0, 64, 64];
      var p = Content.createPath();
      p.startNewSubPath(0, 0);
      		    
      p.addArc(a, degToRad(0), degToRad(160));
      		
      var pathData = {};
      pathData.Thickness = 2.0;
      pathData.StrokeType = "Solid";
      		
      g.setColour(accentColor);
      g.drawPath(p, a, pathData);
      }
      
      function degToRad(deg) {
      	return deg * (Math.PI / 180);
      }
      

      45 Degrees:
      772e4c6b-c9da-4ec4-8d5b-cf9fa2759594-image.png

      160 Degrees:
      0a8bd366-0802-46b5-b375-d0482f9f4023-image.png

      posted in Scripting
      B
      bwoogie
    • RE: Custom reactive audio animation

      @ustk said in Custom reactive audio animation:

      Anyway that's preset overwriting, not project XML.

      Screenshot 2025-12-01 202436.png

      That's the issue.. How do you save the project? I don't understand how any of it works. There's Load Project, but no Save Project (I understand the "Project" is stored in directories.)
      Under File Management there are Open and Save XML options, but I don't know what those are actually referring to.
      And then Open and Save Archive which seems to be autosaves and presets...
      I don't understand why it needs to be so non-intuitive. I'm not new to computers or programming by any means, and it's probably just because i'm new to hise, but...........

      posted in Scripting
      B
      bwoogie
    • RE: Custom reactive audio animation

      @d-healey i guess that explains it. my project crashed before i saved it. anyways, it wont be too hard to restart. just annoying.

      posted in Scripting
      B
      bwoogie
    • RE: Custom reactive audio animation

      i opened it in a new instance of hise, not in my project... but the auto saves even saved in my project. i don't know if it was still using my projects folder, apparently it was. i've turned auto save off now.

      posted in Scripting
      B
      bwoogie
    • RE: Custom reactive audio animation

      Well I got it working but my project got overwritten by the snippet.. 👏👏👏

      i absolutely hate hise's project management.

      posted in Scripting
      B
      bwoogie