HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. benosterhouse
    3. Topics
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 72
    • Groups 0

    Topics

    • B

      Getting started compiling on Mac

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      23
      0 Votes
      23 Posts
      1k Views
      d.healeyD

      @Christoph-Hart said in Getting started compiling on Mac:

      And yes, Mojave is definitely the place where the cool people hang around right now...

      Just got my 2018 Mac Mini. Are the cool people still on Mojave or should I move to Big Sur? I want to compile natively for M1 if that makes a difference.

    • B

      Engine.getHostBpm() doesn't work in a deferred script

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      2
      0 Votes
      2 Posts
      232 Views
      Christoph HartC

      Hi Ben,

      that‘s rather surprising - the tempo gets detected in the audio thread but it will be stored and should be accessible from any thread.

      Can you use it in another function that is run on the UI thread? Eg. a panel paint routine (or a slider callback)?

    • B

      Encrypted part of console messages?

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      1
      0 Votes
      1 Posts
      176 Views
      No one has replied
    • B

      SampleStartMod affects all zones that reference the same wav file

      Watching Ignoring Scheduled Pinned Locked Moved Bug Reports
      4
      0 Votes
      4 Posts
      265 Views
      Christoph HartC

      No it‘s not expected behaviour but it‘s one of the more useful easter eggs in HISE :)

    • B

      How to get event ids for artificial events?

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      28
      0 Votes
      28 Posts
      2k Views
      B

      Cool, yep it gets initialized in the onInit

    • B

      Getting the play positions of held notes

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      3
      0 Votes
      3 Posts
      295 Views
      B

      Ok, to answer my own question :winking_face_with_tongue:

      // onInit const timerInterval = 0.05; Synth.startTimer(timerInterval); const sampleLength = (60 / 110) * 16; var keyDown = Engine.createMidiList(); var legatoPlayPos = 0; function onNoteOn() { keyDown.setValue(Message.getNoteNumber(), 1); if (keyDown.getValueAmount(1) == 1) { Console.print("first note played"); legatoPlayPos = 0; }; }; function onNoteOff() { keyDown.setValue(Message.getNoteNumber(), 0); }; function onTimer() { if (keyDown.getValueAmount(1) >= 1) { normalizedIntensity = (legatoPlayPos * timerInterval) / sampleLength; // set the intensity of sample start constants here legatoPlayPos++; }; };
    • B

      Adding and removing notes from the buffer

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      7
      0 Votes
      7 Posts
      419 Views
      B

      @Christoph-Hart If you delay the note off in the onNoteOff using the same offset as when you added the note in the onNoteOn, it will put the note off after the note on.
      I'm trying to make it so that if you let go of the key before the note on, it doesn't play the delayed note on.

      Of course, just use a PitchFade! Thanks for the tip.

    • B

      compiling Musicbox Tutorial

      Watching Ignoring Scheduled Pinned Locked Moved General Questions
      3
      0 Votes
      3 Posts
      254 Views
      B

      I see --I just tried something with a bigger interface, and the ok button was there.
      Thank you!

    • B

      'ipp.h': No such file or directory

      Watching Ignoring Scheduled Pinned Locked Moved Bug Reports
      24
      1 Votes
      24 Posts
      4k Views
      B

      That was it. The VST exported!
      Thank you :D