Has the xml import/export previously been tested against X-Edit in this manner?
1) save preset from X-Edit (or download from the web, as I did) - 'input.xml'
2) import preset into gdigi
3) export preset from gdigi to xml - 'output.xml'
4) xmlsort -k ID -r Param input.xml > input.sorted; xmlsort -k ID -r
Param output.xml > output.sorted
5) diff input.sorted output.sorted
This leads me to a followup question: are the <Name> and <Text> fields
important to X-Edit, or are they just there for convenience?
Using a GSP1101 xml preset that someone else on the internet created
and following the above steps resulted in a number of fields changing.
I'm not sure how critical it is that these <Name> and <Text> fields
match (for all I know, it could just be Position:ID:Value that is used
by X-Edit), but I figured my goal was to output xml that would match
the input file exactly. If they *do* matter and *do* differ between
versions of X-Edit/product, then I would have to create a separate set
of XML labels for the GSP1101 - that would be good to know!
eg,
- {EQ_BASS, EQ_A_POSITION, "EQ A Bass", &values_eq_db,},
- {EQ_MID, EQ_A_POSITION, "EQ A Mid", &values_eq_db,},
- {EQ_TREB, EQ_A_POSITION, "EQ A Treb", &values_eq_db,},
+ {EQ_BASS, EQ_A_POSITION, "EQ Low Level", &values_eq_db,},
+ {EQ_MID, EQ_A_POSITION, "EQ Mid Level", &values_eq_db,},
+ {EQ_TREB, EQ_A_POSITION, "EQ High Level", &values_eq_db,},
For those curious, I seem to be able to read/write import/export all
of the GSP1101 C63 preset registers (full functionality, minus access
to the global registers not in xml). I'm now tracking down the last
weird little issues, like an XML Text value disagreeing with the
hardware when they share the same Value (presumed X-Edit bug). I'm
pretty pleased with the progress in one week. :D
currently (without cleanup/refactoring, just fixes and GSP1101):
effects.c | 1333
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
effects.h | 3 +-
gdigi.c | 157 +++++++---
gdigi.h | 170 ++++++++++-
gui.c | 143 ++++++---
gui.h | 3 +-
preset.c | 2 +
preset_xml.c | 21 +-
8 files changed, 1578 insertions(+), 254 deletions(-)
cheers,
Greg
> --
> You received this message because you are subscribed to the Google Groups "gdigi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
gdigi+un...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/gdigi/20200907103557.2d8f748c%40coco.lan.