incoming Midi clock

Home Forums General General MIDI discussion incoming Midi clock

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5184
    msepsis
    Participant
      • Topics: 219
      • Replies: 732
      • Total: 951
      • ★★★

      Is there any kind of hook that can be called from Lua to see if midi Clock is coming in through the designated midi in port?

      Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

      #5196
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        It’s possible for me to implement, but it would be a bad idea for performance reasons. I can ad a hook for LUA that will receive notifications of MIDI CLOCK in an async matter, but that will be useless you won’t be able to sync anything to it, or do anything useful with it. It would only make sense if the LUA script be executed in the MIDI thread, but if do that, that call won’t be able to access any GUI components without locking the GUI. It’s complicated.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • The forum ‘General MIDI discussion’ is closed to new topics and replies.
      There is currently 0 users and 79 guests online
      No users are currently active
      Forum Statistics
      Threads: 2,495, Posts: 17,374, Members: 77,605
      Most users ever online was 12 on January 22, 2019 3:47 pm
      Ctrlr