HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Felix W
    3. Topics
    • Profile
    • Following 2
    • Followers 0
    • Topics 90
    • Posts 330
    • Groups 0

    Topics

    • Felix WF

      How do I specify a CC controller for Knob using code?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      45 Views
      Felix WF

      @d-healey I see. Thank you so much.🍻

    • Felix WF

      Sampler.setSoundPropertyForSelection(); seems to have a bug.

      Watching Ignoring Scheduled Pinned Locked Moved Bug Reports
      7
      0 Votes
      7 Posts
      65 Views
      Felix WF

      @CatABC said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

      @ulrik

      @d-healey said in Sampler.setSoundPropertyForSelection(); seems to have a bug.:

      @CatABC Use constants instead of magic numbers

      Sadly, I tried using constants, but the problem persists. Also, if I swap the positions of HIGH_KEY and LOW_KEY, and need to move the smaller value to the larger value, the contradiction still occurs.

      const var ComboBox1 = Content.getComponent("ComboBox1"); const var ROOT = 2; const var LOW_KEY = 3; const var HIGH_KEY = 4; const var C1 = 36; const var D1 = 38; const var E1 = 40; const var B3 = 71; inline function onComboBox1Control(component, value) { Sampler.selectSounds("C3"); if (value == 1) { Sampler.setSoundPropertyForSelection(ROOT, C1); Sampler.setSoundPropertyForSelection(HIGH_KEY, C1); Sampler.setSoundPropertyForSelection(LOW_KEY, C1); } if (value == 2) { Sampler.setSoundPropertyForSelection(ROOT, D1); Sampler.setSoundPropertyForSelection(HIGH_KEY,D1); Sampler.setSoundPropertyForSelection(LOW_KEY, D1); } if (value == 3) { Sampler.setSoundPropertyForSelection(ROOT, E1); Sampler.setSoundPropertyForSelection(HIGH_KEY,E1); Sampler.setSoundPropertyForSelection(LOW_KEY, E1); } if (value == 4) { Sampler.setSoundPropertyForSelection(ROOT, B3); Sampler.setSoundPropertyForSelection(LOW_KEY, B3); Sampler.setSoundPropertyForSelection(HIGH_KEY, B3); } }; Content.getComponent("ComboBox1").setControlCallback(onComboBox1Control);

      Ultimately, I set up two methods to call different methods depending on whether the value in the combobox increases or decreases.😹

    • Felix WF

      How to replace a single sample in the Sampler?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      65 Views
      Felix WF

      @d-healey Cool, thank you so much! Let me give it a try

    • Felix WF

      How can I make KeySwitch trigger only once?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      7
      0 Votes
      7 Posts
      358 Views
      Felix WF

      @d-healey
      Hello~David~~, sorry, I've been very busy lately and haven't been on the forum. But I suddenly realized something these past few days: I just need to add this simple code to the onNoteOff function of the Interface, and it will work!

      local n = Message.getNoteNumber(); if (n > 25) { Synth.playNote(24, 100); }
    • Felix WF

      Please help me, how to connect the button in the webview with the Button component of HISE

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      2
      0 Votes
      2 Posts
      183 Views
      Felix WF

      @CatABC
      OK, I think I figured it out. Using webview requires communication.

      wv.bindCallback("wvfunctionNmae", function(args) inline function onButton1Control(component, value) { wv.callFunction("wvfunctionNmae", { }); }; Content.getComponent("Button1").setControlCallback(onButton1Control);
    • Felix WF

      Non-English input method Label cannot be input

      Watching Ignoring Scheduled Pinned Locked Moved Bug Reports
      1
      0 Votes
      1 Posts
      174 Views
      No one has replied
    • Felix WF

      How to wrap text in a Label?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      361 Views
      Felix WF

      @DanH Hahaha, it's so simple, thank you very much for your guidance😙

    • Felix WF

      Is it possible to merge two ch1 files?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      7
      0 Votes
      7 Posts
      965 Views
      Felix WF

      @d-healey Okay, thanks David.🥂

    • Felix WF

      Paste screenshot in HISE plugin?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      13
      0 Votes
      13 Posts
      1k Views
      ustkU

      @Oli-Ullmann said in Paste screenshot in HISE plugin?:

      That sounds interesting! To do that, you would definitely have to check which OS is being used, as different operating systems use different folders. I'm also not sure if this can be configured individually for some operating systems... Tricky! 😁

      This could just be asked to the user at first launch and stored in a pref file

      Then background task to run a bash script (but yeah this one is OS dependent)

      https://forum.hise.audio//post/101582

    • Felix WF

      Split SampleMap?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      154 Views
      Felix WF

      @d-healey OK, I understand, thank you David

    • Felix WF

      LAF a vertical slider using CSS

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      7
      3 Votes
      7 Posts
      663 Views
      Felix WF

      @young60 Cool,hahaha😆

    • Felix WF

      Has anyone used CSS to create a Combobox UI?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      187 Views
      Felix WF

      @HISEnberg Ahaha, I was blind, thanks for helping me find it😂

    • Felix WF

      How to filter and display SampleMaps in ComboBox

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      2
      0 Votes
      2 Posts
      106 Views
      d.healeyD

      @CatABC Search the forum, this has been asked several times already so the solution is there.

      Basically you loop over all sample maps and only add the ones you want to the combo box.

    • Felix WF

      Make the Gain knob smooth the gain?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      79
      0 Votes
      79 Posts
      9k Views
      Felix WF

      @d-healey @Chazrox
      I'm back. After many days, I reviewed the code again today and finally succeeded!
      We need a loop!
      I would also like to thank all my friends who provided me with help and various solutions! I love you all😘

      function onNoteOn() { local n = Message.getNoteNumber(); local v = Message.getVelocity(); if (n >= knbLoKey.getValue() && n <= knbHiKey.getValue()) lastKs = n; if (Synth.isArtificialEventActive(eventIds.getValue(lastNote))) Synth.addVolumeFade(eventIds.getValue(lastNote), knbFadeTime.getValue(), -100); for (i = 48; i < 127; i++) { local e = eventIds.getValue(i); if (e != -1) Synth.noteOffByEventId(e); if (n == knbKs.getValue() && Synth.isKeyDown(i)) { ADSR.setAttribute(ADSR.Attack, fadeIn.getValue()); lastKs = n; eventIds.setValue(i, Synth.playNote(i, v)); return Message.ignoreEvent(true); }else{ ADSR.setAttribute(ADSR.Attack, knbResetAt.getValue()); } } lastNote = n; if (lastKs != knbKs.getValue()) return Message.ignoreEvent(true); eventIds.setValue(n, Message.makeArtificial()); }
    • Felix WF

      Sampling multiple velocity layers, how to evenly drop the velocity?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      13
      0 Votes
      13 Posts
      636 Views
      Felix WF

      @Orvillain yes,I already understand the design of HISE, it is more free than Kontakt!😻

    • Felix WF

      How to sign and authenticate VST and AU plug-ins for Mac?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      527 Views
      LindonL

      Ok well I can see this turning into the cluster f*** it usually is so here's how to code sign and notarize and staple your plugin - note this is for distributing plugins - not for distributing installers (like .pkg and .dmg files), also note you will need your apple ID, your team Id and to have made (and kept) a password for your notary tool all in the apple dev web site...you will also need the relevant certificates(A developer ID Installer certificate) in your Keychain Access

      build/compile your plugin. copy your plugin to the desktop open a terminal window move to the desktop with this command:
      cd desktop
      5.codesign your plugin with this command:

      codesign --deep --force --options runtime --sign "Developer ID Application: your dev name ( your dev id)" "/Users/your username/Desktop/your plugin name.vst3"

      zip up your plugin into yourpluginname.zip and leave it on the desktop Notarize your pluginzip with this command:

      xcrun notarytool submit --apple-id "your apple id (an email addess is likely)" --password "your notray tool password" --team-id "your team id" "yourpluginname.zip" --wait

      wait... it will tell you Processing.... and eventually tell you Accepted (if it works) Staple your plugin on the desktop --- no thats not the zip you just sent to Apple, its the plugin from step 2.... use this command:

      xcrun stapler staple "/Users/your user name/Desktop/your plugin name.vst3"

      if this is successful (it will tell you) ... you re done...and you can zip up and ship your plugin....
    • Felix WF

      Is it possible to add effects to samples on individual keys in a Sampler?

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      14
      0 Votes
      14 Posts
      738 Views
      Felix WF

      @d-healey Ahaha, that's it😹

    • Felix WF

      HISE multi-language support

      Watching Ignoring Scheduled Pinned Locked Moved Feature Requests
      2
      0 Votes
      2 Posts
      279 Views
      d.healeyD

      @CatABC I don't think this is on the horizon.

    • Felix WF

      How to convert a number to hexadecimal in HISE?

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      3
      0 Votes
      3 Posts
      365 Views
      Felix WF

      @d-healey great!very very Thanks David😎

    • Felix WF

      How to use HISE to call system commands?

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      3
      0 Votes
      3 Posts
      387 Views
      Felix WF

      @d-healey cool!thanks very much