- Eventide Audio

Home Forums Products Rackmount a new software editor for Eclipse? Reply To: a new software editor for Eclipse?

#158248
nickrose
Moderator
Eventide Staff
    Here is the C code for the program structure – hope it helps:

     

    typedef struct {

    char nNumber[2];

    char szName[PRATAS_PROGRAM_NAME_LENGTH];

     

    char nEffects;

    char nSource;

     

    char nRouting;

     

    char nAAlgorithm[2];

    char nAMix1;

    char nAMix2;

    char fALevel1[4]; // fixed float–4 characters

    char fALevel2[4];

     

    char nBAlgorithm[2];

    char nBMix1;

    char nBMix2;

    char fBLevel1[4];

    char fBLevel2[4];

     

    char lHotKeys[MAX_HOTKEYS][4]; // each one is a long (4 chars)

     

    //these variables maintain the state of the system, but 

    //are not part of the preset file

    char FxReversed; //set if FxA and FxB are reversed from the UI standpoint

    char szVersion[8];

    char dirty;

    char acycles;

    char a96k_bad;

    char bcycles;

    char b96k_bad;  

     

    // hotkey names, min, max

    char szHotKeyName[MAX_HOTKEYS][PRATAS_PROGRAM_NAME_LENGTH];

    char fHotKeyMin[MAX_HOTKEYS][4];    // these are floats, but stored as 4 chars for backup purposes

    char fHotKeyMax[MAX_HOTKEYS][4]; // these are floats, but stored as 4 chars for backup purposes

    } PRATAS_PROGRAM_FILE;