Forum

    • Register
    • Login
    • Search
    • Categories

    save user preset

    General Questions
    1
    2
    137
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dan Korneff
      Dan Korneff last edited by

      I'm looking for a way to create a preset outside of the Preset Browser.
      Just a button the user can hit to name and save the current settings.

      I've tried

      Engine.saveUserPreset();
      

      but it doesn't seem to output any data or create a file?

      I also tried

      Content.storeAllControlsAsPreset()
      

      but the data it creates is different than a preset created by the Preset Broswer, and loading the file creates unexpected results.

      File created with Content.storeAllControlsAsPreset() contains:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <Preset>
        <Content Processor="Interface">
      
      ...stuff
      
        </Content>
      </Preset>
      

      and a file created with the Preset Browser contains:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <Preset Version="1.0.0">
        <Content Processor="Interface">
       
      ...stuff
      
        </Content>
        <MidiAutomation/>
        <MPEData Enabled="0"/>
      </Preset>
      

      Is anyone successfully using either of these to create user presets?

      Dan Korneff - Producer / Mixer / Audio Nerd

      1 Reply Last reply Reply Quote 1
      • Dan Korneff
        Dan Korneff last edited by Dan Korneff

        ok. Got a solution working pretty well... on everything EXCEPT AAX ☠ ☠ ☠ ☠ ☠ ☠ ☠

        @Christoph-Hart It looks like AAX does not like

        Engine.loadUserPreset();
        or
        Engine.saveUserPreset();
        

        EDIT:
        It looks like Engine.saveUserPreset() IS working, but Engine.loadUserPreset() is not.
        I'm using the workaround to Load a preset before you call saveUserPreset, but I just can't get it to load.
        Using the preset browser works as it should in PT. @Christoph-Hart What else is the Preset Browser doing when it Loads a preset that I can't achieve with Engine.loadUserPreset()?

        Dan Korneff - Producer / Mixer / Audio Nerd

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        15
        Online

        1.1k
        Users

        6.7k
        Topics

        62.1k
        Posts