LUA API Docs

Home Forums General Programming LUA API Docs

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #82923
    alfonso
    Participant
      • Topics: 2
      • Replies: 13
      • Total: 15

      Hi all,
      is there any LUA API docs?
      I’m trying to deal with a fairly complex Bulk Request prodedure and i can’t find any LUA API docs for Ctrlr.
      thanks!
      a.

      #82927
      Possemo
      Participant
        • Topics: 14
        • Replies: 638
        • Total: 652
        • ★★★

        As far as I know – no. There is no API doc. To manage bulk data you don’t need a lot of commands. The TG77 panel seems to manage a fair amout of TG77 sysex data. Just check all involved methods, beginning with “midiMessageReceived”.

        #82928
        alfonso
        Participant
          • Topics: 2
          • Replies: 13
          • Total: 15

          Many thanks @Possemo! But where can i find the docs for all the LUA functions as ‘midiMessageReceived’?
          Yeah the TG77 sysex is fairly big. In the present TG77 panel there is the Bulk Request and the sysex sequence is correct (i took a look at the TG77 SysEx manual and check with MidiOX).
          Where can i find the docs on how to post the received MIDI bytes in the LUA console?

          thanks!

          #82929
          dasfaker
          Keymaster
            • Topics: 80
            • Replies: 793
            • Total: 873
            • ★★★

            Ctrlr is Juce based and use the same API: http://rawmaterialsoftware.com/juce/api/classes.html
            But not all functions are included

            Also, you can type what(object) to see all the available object properties.

            Also look here: https://github.com/RomanKubiak/ctrlr

            #82932
            alfonso
            Participant
              • Topics: 2
              • Replies: 13
              • Total: 15

              Many thanks @dasfaker.
              Anyway i see a lot of LUA functions that are not documented in Juce.
              Am I wrong?

              #82946
              dasfaker
              Keymaster
                • Topics: 80
                • Replies: 793
                • Total: 873
                • ★★★

                For instance?

                #82958
                alfonso
                Participant
                  • Topics: 2
                  • Replies: 13
                  • Total: 15

                  For instance?

                  panel:getModulatorByName(“ModeSelect”):setModulatorValue(ModeSelect, false, false, false)

                  often there are false and true values but i don’t know what they are used for.

                  or

                  timer:setCallback (2,RestMidCallback)
                  timer:startTimer(2,1000)

                  where can i find docs about the timer object?

                  sorry for my stupid questions but my humble opinion is that CTRL would need a better documentation or at least some source for it.

                  Maybe is somwhere hidden in CTRLR sources?

                  thanks

                  #82959
                  dasfaker
                  Keymaster
                    • Topics: 80
                    • Replies: 793
                    • Total: 873
                    • ★★★

                    There’s no Ctrlr documentation. All we have is the JUCE API, the forum and the panels created.
                    About timers: https://docs.juce.com/master/classTimer.html#a8adc40ca0fb4170737ba12e30481b9d8
                    About setModulatorValue: https://github.com/RomanKubiak/ctrlr/blob/master/Source/Lua/CtrlrLuaModulator.cpp

                    Best way to assign values to modulator

                    You have to dig the forum, it’s full of answers.

                    #82960
                    alfonso
                    Participant
                      • Topics: 2
                      • Replies: 13
                      • Total: 15

                      Many thanks!

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • The forum ‘Programming’ is closed to new topics and replies.
                    There is currently 0 users and 62 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