Commit Graph

69 Commits

Author SHA1 Message Date
Tim LaBerge
4291fa71b2 Fixup label range values.
A number of EffectValues of type label had invalid ranges. Make
them less invalid.

Also add SYNTH_TALK id's to xml settings.

Make format_ipv warn instead of crashing if an xml setting is not
found.
2012-04-07 19:46:36 -07:00
Tim LaBerge
ea80320531 Human readable debug
Leverage the code that writes a preset to XML so that messages
can be displayed in a human readable format.

E.g.,

(6, 2432, 1280)  Distortion: Dist Type: Screamer

The 3-tuple is position, id, value, which is followed by the
colon separated decode of the position, id, and the mapped value.
2012-04-07 19:45:50 -07:00
Tim LaBerge
1205a1639d Add 'Label' to modifier group log message. 2012-03-31 18:48:49 -07:00
Tim LaBerge
122bbcd823 More logging changes. 2012-03-31 18:48:22 -07:00
Tim LaBerge
5c42cad5e7 Add labels to debug messages.
Add a global settings settings to the xml settings array.

Start adding label strings to the debug messages. This
needs cleaning up, but it should help.
2012-03-31 18:25:19 -07:00
Tim LaBerge
7781063407 Presence effect in wrong place for some devices. 2012-03-31 18:25:10 -07:00
Tim LaBerge
e56884ecd9 Add missing effects to modifier array.
Change AMP_POSITION to AMP_A_POSITION.

Add AMP_B_POSITION to the modifier array.

Add AMP_PRESENCE to the modifier array and move it to follow Treble
in the Equalizer effect.

Add EQ_B_POSITION settings to the modifier array.

Change the formatting of the debug messages to print more
readable columns.

Conflicts:

	gdigi.c
2012-03-31 18:24:29 -07:00
Tim LaBerge
2b27302166 1) Require libxml-2 and build new file preset_xml.c
2) In effects.c, some EffectsValues are changed to better reflect the
   strings used in the XML.

3) New EffectSettings are added for use when writing out effects to XML.

4) Added an XmlLabel structure for mapping a value to a string. Generally,
   these are the union of the set of all values over the set of supported
   devices.

5) There's a large array of XmlSettings used to derive the translation of
   a preset to XML.

6) Add an enum for product_id and use it to set a filter for file suffix.

7) Minor cleanup in push_message() that suppresses spurious error messages.

8) Fixed a bad memset in read_data_thread().

9) In gdigi.h, a few changes in names to be consistent with XML.

   There are some new definitions of LFO and VSWITCH parameters that
   need to be computed.

10) In gui.c, fixed up a compiler warning.

    Added a map from device id to file type and code to set a default filter
    in the read dialog.

    Wired up the 'save to XML' callback and reorganized the menue entries to
    better distinguish between 'save to file' and 'store to device'.

   In preset.c, sort the params so that what we write as XML more closely
   matches what is generated on the windows side.
2012-02-25 17:52:52 -08:00
John Hammen
2c921df204 add RP150 support 2011-10-14 10:43:47 +02:00
John Hammen
907a3d0ed9 add RP155 support 2011-08-29 09:16:25 +02:00
Tomasz Moń
dcf66adfa9 fix RP1000 support 2010-08-25 11:15:29 +02:00
Jonathan A. Tice
e12de97fab add RP1000 support 2010-04-24 15:07:18 +02:00
Miklos Aubert
59753a61dc add RP255 support 2010-03-04 18:54:58 +01:00
Tomasz Moń
ff0be8230e fix some rp500 values 2010-02-05 09:43:21 +01:00
Tomasz Moń
07cfd70941 display values correctly (offsets, correct steps, suffixes, labels) 2010-01-03 14:18:53 +01:00
Tomasz Moń
530dd397c5 remove USB settings from effect list as they're not part of Preset 2009-09-20 19:57:39 +02:00
Rafael Moreno
158fd081a5 fix RP355 amp B settings 2009-09-04 17:49:11 +02:00
Rafael Moreno
5f21c62a2f fix RP355 support 2009-07-28 11:38:24 +02:00
Tomasz Moń
1be664e82f rename Pickup to Pickup/USB as this frame contains both pickup and USB settings 2009-07-19 18:32:48 +02:00
Tomasz Moń
97b8c9fd6d add create_backup_file() 2009-07-19 14:03:55 +02:00
Tomasz Moń
211df27cf8 fix typos in comments 2009-06-29 20:03:54 +02:00
Rafael Moreno
dfe28ac81d add RP355 support 2009-06-29 20:02:50 +02:00
Tomasz Moń
ba04930133 display GNX3000 settings in tabs 2009-06-21 20:05:42 +02:00
Stephen Rigler
18f137636d add GNX3000 amp channel settings 2009-05-20 20:51:10 +02:00
Tomasz Moń
4a7ab848e7 remove id and position fields from EffectGroup 2009-05-15 10:20:42 +02:00
Jaco Kroon
2703e79d39 add GNX4 stompbox, noisegate, chorus, delay and reverb settings 2009-05-15 09:19:23 +02:00
Tomasz Moń
dbab804d52 actually the compressor settings are the same for both GNX3000 and GNX4 2009-05-13 12:19:44 +02:00
Tomasz Moń
c3f82416f5 rename values_synth_talk_balance as it's actually used for more effects 2009-05-13 12:10:40 +02:00
Tomasz Moń
145b41cb6c actually the whammy settings are the same for both GNX3000 and GNX4 2009-05-13 10:41:58 +02:00
Stephen Rigler
26d1db9e4f add GNX3000 amp channel + warping settings 2009-05-13 08:03:29 +02:00
Jaco Kroon
cc311f4f18 add GNX4 pickup, wah, compressor and whammy effect 2009-05-13 07:47:58 +02:00
Jaco Kroon
d85e83c89e make get_device_info interate over list of supported product and family ID 2009-05-13 07:27:11 +02:00
Stephen Rigler
e9c0ed8b38 add GNX3000 reverb settings 2009-05-11 07:39:15 +02:00
Tomasz Moń
400a7d41f8 merge GNX3000 delay settings 2009-05-10 15:28:30 +02:00
Stephen Rigler
40a9d06e4c add GNX3000 delay settings 2009-05-10 14:13:40 +02:00
Stephen Rigler
e820ce0cc4 add GNX3000 chorus settings 2009-05-09 07:47:22 +02:00
Stephen Rigler
d7f10eb509 add GNX3000 whammy/ips, preset level and noisegate settings 2009-05-06 08:14:27 +02:00
Stephen Rigler
af1d3a2906 add GNX3000 pickup, wah and compressor settings 2009-05-04 15:26:15 +02:00
Tomasz Moń
b798d6ee39 remove reduntant defines 2009-05-01 20:33:09 +02:00
Tomasz Moń
24a1c2718b remove reduntant defines 2009-05-01 16:06:15 +02:00
Tomasz Moń
31a635839a add GNX3000 distortion settings 2009-05-01 07:53:23 +02:00
Tomasz Moń
d7b3f7a3d6 add Device struct 2009-04-30 17:27:55 +02:00
Tomasz Moń
85ce157bb8 remove reduntant defines 2009-04-17 17:45:01 +02:00
Tomasz Moń
3a849de954 add RP250 pickup settings 2009-04-17 17:30:50 +02:00
Tomasz Moń
29124043ba add RP500 distortion settings 2009-04-14 23:23:41 +02:00
Tomasz Moń
e93e6bd16b add compability mode dialog 2009-04-14 21:00:10 +02:00
Tomasz Moń
f7ddd5e0d6 add RP500 chorusfx settings 2009-04-14 18:22:32 +02:00
Tomasz Moń
6a082acc53 add RP500 delay settings 2009-04-13 11:42:15 +02:00
Tomasz Moń
1abcc82829 add RP500 equalizer settings 2009-04-12 20:55:17 +02:00
Tomasz Moń
c964d38c17 add RP500 compressor and amp settings 2009-04-12 18:36:41 +02:00