HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. tomekslesicki
    3. Posts
    T
    • Profile
    • Following 0
    • Followers 3
    • Topics 106
    • Posts 570
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Roadmap to HISE 5

      I just wanted to chime in and say I really appreciate your work, and that the recent additions are awesome. Thank you!

      posted in General Questions
      T
      tomekslesicki
    • RE: Default Oversampling Filter

      @Dan-Korneff sweet, thank you! I'm on an older comit apparently.

      posted in General Questions
      T
      tomekslesicki
    • RE: Default Oversampling Filter

      @Christoph-Hart is this available now?

      And if not could someone help me out and tell me where filterHalfBandFIREquiripple is located?

      posted in General Questions
      T
      tomekslesicki
    • RE: Suspend On Silence as a scriptnode container

      @Christoph-Hart let's say you have a few processing chains you're modulating in a polyphonic context. Currently, to do this while benefiting from SOS, you'd need to split the signal into multiple individual networks. Or you're using a few convolution nodes in a single network - suspending some on silence would free the CPU for other tasks.

      posted in Feature Requests
      T
      tomekslesicki
    • Suspend On Silence as a scriptnode container

      Currently, we have an option to enable Suspend On Silence for the entire network, which is great. It would be even more cool for complex network if we could have a container to allow some more granular control and optimization of complex scriptnode networks. Would that be a complicated thing to add, @Christoph-Hart ?

      posted in Feature Requests
      T
      tomekslesicki
    • Colvolution module in Scriptnode - Gate

      Hey @Christoph-Hart can you tell me more about the Gate parameter on a Convolution node in Scriptnode? I understand what it does, I'm just interested in the fade in / out time. How fast is it? And can we customize it? Thank you!

      posted in ScriptNode
      T
      tomekslesicki
    • Show something when shift is down

      Is there an easy way to call showControl in a Timer callback when the shift key is pressed on the keyboard?

      posted in Scripting
      T
      tomekslesicki
    • RE: Preset browser LAF - hover?

      @d-healey yes, thank you.

      @Christoph-Hart may I point a little inconsistency here? On some objects, obj.over works, on some it's obj.hover. Wouldn't it make sense to make both of these descriptions perform the same function in LAF?

      posted in Scripting
      T
      tomekslesicki
    • Preset browser LAF - hover?

      Is it possible to add a hover state to the preset browser list with LAF, without crating a custom preset browser from the ground up just for that?

      posted in Scripting
      T
      tomekslesicki
    • RE: Running a shell script

      @Dan-Korneff Thank you, changing the extension to .command works like a charm!

      posted in Scripting
      T
      tomekslesicki
    • RE: Running a shell script

      @d-healey thanks! It should then be

      const oc = FileSystem.fromAbsolutePath("/bin/bash");
      

      but it doesn't open the script then.

      posted in Scripting
      T
      tomekslesicki
    • RE: Running a shell script

      @Dan-Korneff it still opens in XCode here becuase it's set as the default app for .sh files.

      @d-healey I found your older post about this where you suggested using:

      const oc = FileSystem.fromAbsolutePath("/usr/bin/open");
      

      and then:

      oc.startAsProcess(bashScript);
      

      But the problem is I can't figure out the path to shell using this method.

      posted in Scripting
      T
      tomekslesicki
    • RE: Running a shell script

      @Dan-Korneff thanks! What extension should I save this under?

      posted in Scripting
      T
      tomekslesicki
    • RE: Running a shell script

      @Dan-Korneff tell me how! :D

      posted in Scripting
      T
      tomekslesicki
    • RE: Running a shell script

      @d-healey Sure!

      HiseSnippet 914.3ocsVstaaaCElxIZnR6BVA1Cff+k7PQfbbRVJJBVZbr2L1bpwbWv9W.M0QQDQhzfjJsFCAnOO8IYON6MX6PIkH4T2sAiUYACetwym9NWjmojLPqkJhi+qWsDHNeg67UBS5vTJWPlbNw4ybMf1PNa0RpVCwDGmc9AqMGucIkW+42eFMiJXPiJB4RImA+LOmaZzN6zehmkMlFCulm2x6CNcBSJFJyjEHN1wMhrjxtgdMbA05VGWxOR0oDmu0c+8SXGGEc7fAGFQoChozC5CCdNjbTB6vnmGEu3vH7yQHpGEyMR0bCEQOwY2yjwqlmJeinJAWx07EYfUnOYNl4J0ikYw1GQqVxvTdV7r6IHMAOkYMz0NUz023NkGyePeCs80kFBZhnMA5zYc3syZvqea3E0Bda.RNsfztUP5otyYJ9RSiEKd9b2IBCnRnXcpMTp7kzIri6PI5gvrWN8FXrBEdHhvihhdV.9UuW36yEYbADjTHXFtTDHEmUXLRQea7JYVHSluTJvS5YA2RyJfd9+tuGOIHrTJ3jSB52y2C04kIYzrfEX0sBFAmDLlmAyWoMP9dWClxBhJrkxyA8MF4xdVqkzg0VXWEjKuEtJAE1Sm1EwomGdayZywuGWW5cOL8k42qkMMXF8VfUXfYfJmq03yVnQgv+EO1SCUYdotleC6Vks67w66P94dZzBv6Yhvt0bT2d1DUyTCoYYKvV8vGSg3A1hduPZfWIBKoQ+67CdrojjMZq9rxP9aSlsyfp+o.CEE4K.U6hn0QrOa8lW2Odya6YKVEszxQoXhfad0RP7wl3H0bI9qecx4TC01wWqC8aInLbKDbNGtE22T0+64V2iT5acAf37DSo0upd5nhvI7Xa.0rO4sOrT5c2b5pFgKOUSuElHlo.r5YGa35oxb7boJzMmNugGavMTtN+A5dJvuN0Xkde4ZuOXBE2MHiKxnl0WXXWqVa.KDqMkZmDEZtYU60t+usE4+JDep6LtgktYL1YCXDKWeJvX8t2uzcTRBvLM.bW2w+1mlEsjeQVX3hqmRMJN1l3dQQ9b78UL.ytP.Y1AAmN1V1J4HqrkAlCh3Rg+BupM12J6Tar+8FI4TlRdEqZ7ytc+IkZPLIJeSnm6TqbPeR4HYadNGeYyUL15G0GD39aafC11.OXaC7vsMvi11.+tsMvi+2Cz9eAdYgQlWM1PHSmMpbeliyHAE6.K6VI+MjtxwVE
      

      The problem is, it will open the .sh file in the default app, which can be changed. I need to run it from Terminal, or from within HISE.

      posted in Scripting
      T
      tomekslesicki
    • Running a shell script

      I'm trying to remove a file from the System Library on a Mac. Obviously, I need admin permissions to do this.

      Here's a bash script I want to execute:

      #!/bin/zsh
      # Prompt for password
      PASSWORD=$(osascript -e 'Tell application "System Events" to display dialog "Please enter your password:" default answer "" with hidden answer' -e 'text returned of result' 2>/dev/null)
      
      echo "$PASSWORD" | sudo -s rm -r -f "/Library/Audio/Plug-Ins/ComponentsPlugin.component"
      echo "$PASSWORD" | sudo -s rm -r -f "/Library/Audio/Plug-Ins/VST3/Plugin.vst3"
      
      killall Terminal
      

      The script is working outside of HISE, so that part is tested.

      I can call it with startAsProcess and it's starting, but the problem is that it opens in XCode instead of Terminal on my Mac - it may not be a problem for all users, but I guess it can be for some. Is there a way to make sure it's opened in Terminal, or to run it from within HISE using Background Thread or something? And if so - how? The docs are rather confusing in this regard.

      I know that @oskarsh and @aaronventure have mastered this, so if you guys have a spare moment to help me out, it would be really great!

      Thank you!

      posted in Scripting
      T
      tomekslesicki
    • RE: Disable Shift-Click Knob Text Box

      @d-healey it does, thank you!

      posted in Scripting
      T
      tomekslesicki
    • RE: Disable Shift-Click Knob Text Box

      @d-healey ok, so that I understand it correctly - I call createModifiers() once, and then loop through the sliders with .setModifiers, right?

      posted in Scripting
      T
      tomekslesicki
    • RE: Disable Shift-Click Knob Text Box

      @Christoph-Hart thank you! Once I call

      const var mods = Knob1.createModifiers();
      

      can I use the same logic for multiple knobs? Or does it have to be one set of .createModifiers per slider?

      posted in Scripting
      T
      tomekslesicki