HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. aulicon
    3. Topics
    A
    • Profile
    • Following 1
    • Followers 0
    • Topics 6
    • Posts 14
    • Groups 0

    Topics

    • A

      Polyphony in the age of timers

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      5
      0 Votes
      5 Posts
      309 Views
      LindonL

      @aulicon said in Polyphony in the age of timers:

      @d-healey Sounds genius but I'm having difficulty following the sub-dividing the timer part.
      Could you please show a snippet of the code where you do so?

      so lets say you have two things you want to happen.. one every 200 milliseconds, one every 150 milliseconds...

      so you run a timer at 50 milliseconds and each time it executes you add 1 to a counter...

      when the counter modulo 4 = 0 (if counter % 4 == 0) do the first thing, when the counter modulo 3 = 0 do the second thing...

      This is exactly how we used to do it in Kontakt...

    • A

      Drum articulation ROLL, FLAM, RUFF

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      3
      0 Votes
      3 Posts
      238 Views
      A

      @aulicon I tried the Midi player and I sort of got it working but now I have the problem of how to achieve this polyphonically. At the moment only the first Note On message gets processed...```
      function onNoteOn()
      {

      {

      // Check the current play state of the MIDIPlayer var playState = MIDIPlayer1.getPlayState(); // If the MIDIPlayer is playing, ignore the event if (playState == 1) { return; } // Ignore the original note event Message.ignoreEvent(true); // Get the pressed note number var pressedNote = Message.getNoteNumber(); // Get the event list from the MIDIPlayer var eventList = MIDIPlayer1.getEventList(); // Iterate through the event list and replace all note-on and note-off events with the pressed note for (i = 0; i < eventList.length; i++) { var e = eventList[i]; if (e.isNoteOn() || e.isNoteOff()) { e.setNoteNumber(pressedNote); } } // Flush the message list to apply changes MIDIPlayer1.flushMessageList(eventList); // Play the modified sequence MIDIPlayer1.play(0); MIDIPlayer1.setPlaybackPosition(0.62);

      }}

    • A

      Floating Tile Keyboard setMouseCallback.

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      5
      0 Votes
      5 Posts
      199 Views
      A

      @d-healey I get it now! Subscribing to your patreon helped a lot...thanks!

    • A

      round robin chain offset

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      3
      0 Votes
      3 Posts
      172 Views
      A

      @d-healey yep you are correct. Thank you!

    • A

      Save dropped samples (make a copy in custom location)

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      3
      0 Votes
      3 Posts
      193 Views
      A

      @aaronventure Unfortunately not or at least I'm not aware of it.

    • A

      Scriptnode "save as"

      Watching Ignoring Scheduled Pinned Locked Moved Scripting
      3
      1 Votes
      3 Posts
      260 Views
      A

      @Soundavid Thank you that worked!