How to save Presets

Home Forums General Using Ctrlr How to save Presets

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #90312
    Juergen
    Participant
      • Topics: 1
      • Replies: 0
      • Total: 1

      Hi, I am new here and testet the program first time…. so I want to built a controller to work with my lightdevices over cantabile performer.

      One thing I dont understand… my first simple controller works with midi but now I want to store the momentary values of the buttons as a preset.

      So the question is how to do this? …is ctrlr able to save this Presets or is it my turn to link this to stored midi values in cantabile??

      Cheers Jürgen

      #90331
      dnaldoog
      Participant
        • Topics: 4
        • Replies: 480
        • Total: 484
        • ★★

        Hi there Juergen,

        If you want to save your values for reloading the next time you use Ctrlr, you could save values to a binary file, which you would reload back into Ctrlr. Have a look at the files.panel here https://github.com/RomanKubiak/Panels/tree/master/DEMO.

        You might need to use lua at some point too.

        Also have a look at this panel http://ctrlr.org/dsi-pro2-editor-and-librarian/ – just about anything you would want to achieve can be found in this panel, but it’s pretty complex!

        You can also write lua functions used to save the Ctrlr state and reload it using stateData:setProperty method and stateData:getProperty. See Called when Ctrlr State is saved and Called when Ctrlr State is saved on the Ctrlr panel menu. You might also find some useful information here → http://ctrlr.org/forums/topic/statedata/page/3/

        I hope I understood the question.

        Regards,

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