Forum
    • Categories
    • Register
    • Login
    1. Home
    2. maxtownsley
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 10
    • Best 2
    • Controversial 0
    • Groups 0

    maxtownsley

    @maxtownsley

    2
    Reputation
    1
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    maxtownsley Unfollow Follow

    Best posts made by maxtownsley

    • RE: Make a button start and stop a Lottie animation.

      @aaronventure this did the trick ! many thanks!

      //button
      const var Buttonx = Content.getComponent("Buttonx");
      
      inline function onButtonxControl(component, value)
      {
          if (value)
          {
              // Button pressed, start animation
              p.startTimer(1000.0 / object.frameRate);
          }
          else
          {
              // Button released, stop the animation
              p.stopTimer();
          }
      }
      
      Content.getComponent("Buttonx").setControlCallback(onButtonxControl);
      
      
      
      posted in Scripting
      M
      maxtownsley
    • RE: Make a button start and stop a Lottie animation.

      @aaronventure amazing, thank you!!! will try when I get home

      posted in Scripting
      M
      maxtownsley

    Latest posts made by maxtownsley

    • RE: Confusing issue with scripting simple knob for AHDSR Envelope Knob

      @d-healey because I am actually linking the one knob to 3 different envelopes

      posted in Scripting
      M
      maxtownsley
    • Analyser and Floating Tile options for user

      Is it possible to script this?
      Trying to allow the user to select from a combobox the different Preview Types and have them change and display on the floating tile. Ive managed to link the combobox to the Analyser, however with the built in capabilities, HISE wants either 0, 1 or 2 option for what to display in the tile. I know there must be a way to script it but I don't know what it is. Thanks for any help!

      posted in Scripting
      M
      maxtownsley
    • Envelope on Moog LP Filter makes a lot of pops and noise

      Hi, this is the only Filter that seems to behave this way when using a Simple envelope or AHDSR envelope to modulate it. Any idea why? Thanks!

      posted in General Questions
      M
      maxtownsley
    • RE: Confusing issue with scripting simple knob for AHDSR Envelope Knob

      Nevermind, I got it with this...

      inline function onKnbAttackEnvControl(component, value)
      {
      AHDSREnvelope1.setAttribute(AHDSREnvelope1.Attack, value);
      };

      posted in Scripting
      M
      maxtownsley
    • Confusing issue with scripting simple knob for AHDSR Envelope Knob

      Here is what I have and it compiles ok, but the knob instead switches back and forth from monophonic to polyphonic mode on the envelope. Im sure someone knows what I am doing wrong. Thank you :)

      //FILTER ENV ADSR KNOB

      const var AHDSREnvelope1 = Synth.getModulator("AHDSR Envelope1");

      const var KnbAttackEnv = Content.getComponent("KnbAttackEnv");

      inline function onKnbAttackEnvControl(component, value)
      {
      AHDSREnvelope1.setAttribute("AttackTime", value); //I've tried "Attack" as well

      };

      Content.getComponent("KnbAttackEnv").setControlCallback(onKnbAttackEnvControl);

      posted in Scripting
      M
      maxtownsley
    • RE: Make a button start and stop a Lottie animation.

      @aaronventure this did the trick ! many thanks!

      //button
      const var Buttonx = Content.getComponent("Buttonx");
      
      inline function onButtonxControl(component, value)
      {
          if (value)
          {
              // Button pressed, start animation
              p.startTimer(1000.0 / object.frameRate);
          }
          else
          {
              // Button released, stop the animation
              p.stopTimer();
          }
      }
      
      Content.getComponent("Buttonx").setControlCallback(onButtonxControl);
      
      
      
      posted in Scripting
      M
      maxtownsley
    • RE: Make a button start and stop a Lottie animation.

      @aaronventure amazing, thank you!!! will try when I get home

      posted in Scripting
      M
      maxtownsley
    • Make a button start and stop a Lottie animation.

      Hi. Ive managed to get a Lottie file into the Lottie dev and compress properly and have it animate on compiling in the interface. Now Id like to have a button start the animation when it is pressed and stop it when it is pressed again. It's a plus if the animation stops at the point in which it is stopped and starts up again from that position in the loop when button is pressed again to start it back up. Thanks to any help!!

      posted in Scripting
      M
      maxtownsley
    • RE: Make one combobox control the waveform choice on 3 different LFOs

      @ulrik That worked like a charm, thank you so much! The array is what I've been missing. many thanks

      posted in Scripting
      M
      maxtownsley
    • Make one combobox control the waveform choice on 3 different LFOs

      Im sure this is a simple solution but I've been banging my head against the wall. Im a coding novice, been learning from tutorials and chat gpt helps a bit. Thanks for any help!
      Max

      posted in Scripting
      M
      maxtownsley