How to save Presets

Home Forums General Using Ctrlr How to save Presets

This topic contains 1 reply, has 2 voices, and was last updated by dnaldoog dnaldoog 2 months, 3 weeks ago.

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
    dnaldoog
    Participant
    • Topics: 1
    • Replies: 158
    • Total: 159
    • ★★

    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)

You must be logged in to reply to this topic.

There is currently 0 users and 28 guests online
No users are currently active
Forum Statistics
Threads: 2,198, Posts: 15,460, Members: 54,507
Most users ever online was 12 on January 22, 2019 3:47 pm
Do NOT follow this link or you will be banned from the site!