Commit Graph

99 Commits

Author SHA1 Message Date
Tim LaBerge
baa5fdff85 Fix display of signed/unsigned debug msg.
Also twiddle the .gitignore file.
2012-04-07 20:05:04 -07:00
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
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
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
dd1f4408c9 Better message tracking. 2012-03-31 18:18:00 -07:00
Tim LaBerge
35e42dc653 Detect DigiTech devices on startup. If more than one device is found, ask user which one to use. 2012-03-26 16:17:03 +02:00
Tim LaBerge
ce296d2698 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-03-26 22:08:29 +08:00
Tomasz Moń
ee2fcd181e port to GTK+ 3 2011-09-28 15:32:30 +02:00
Ahmed Toulan
2eb4e97810 detect DigiTech devices on startup 2011-09-05 20:45:35 +02:00
Tomasz Moń
0886ba00c1 add support for GNX4 and GNX3k patches 2010-06-17 19:20:58 +02:00
Tomasz Moń
6ae750c4fb GFile requires gio.h 2009-07-31 14:10:21 +02:00
Tomasz Moń
3ab55054c1 add restore_backup_file() 2009-07-19 16:15:23 +02:00
Tomasz Moń
97b8c9fd6d add create_backup_file() 2009-07-19 14:03:55 +02:00
Tomasz Moń
55b9b08230 check RECEIVE_WHO_AM_I reply size 2009-05-12 21:51:43 +02:00
Tomasz Moń
400e221a4f make some devices happy 2009-05-12 21:14:46 +02:00
Jaco Kroon
5b93c91bfe fix unsigned comparisions 2009-05-12 19:43:17 +02:00
Tomasz Moń
def4917a07 revise mutex logic 2009-05-11 21:17:04 +02:00
Tomasz Moń
1a65deb8d5 if get_message_by_id can't find message, wait until new message is pushed before retrying 2009-05-06 13:19:49 +02:00
Tomasz Moń
4509c14bbc make get_current_preset return list of messages describing preset rather than just one message with preset parameters 2009-05-06 13:10:46 +02:00
Tomasz Moń
b1a8d69dba Receive Who Am I can vary in length between versions 2009-05-04 17:39:46 +02:00
Tomasz Moń
20769ace01 Fix memory leak 2009-05-04 17:29:22 +02:00
Tomasz Moń
2633bac5d8 update GUI on remote preset change 2009-05-04 17:04:32 +02:00
Tomasz Moń
06fd3eee66 apply asynchronous parameters changes to GUI 2009-05-03 22:17:41 +02:00
Tomasz Moń
acb1c1e273 introduce setting_param_new, setting_param_new_from_data and setting_param_free 2009-05-03 21:38:15 +02:00
Tomasz Moń
7bf55352b8 set device into GUI mode 2009-05-03 20:32:13 +02:00
Tomasz Moń
d7b3f7a3d6 add Device struct 2009-04-30 17:27:55 +02:00
Tomasz Moń
6512696240 read MIDI IN messages in new thread 2009-04-30 10:32:24 +02:00
Tomasz Moń
f1359d18e4 open device in sync mode 2009-04-27 13:46:27 +02:00
Tomasz Moń
e93e6bd16b add compability mode dialog 2009-04-14 21:00:10 +02:00
Tomasz Moń
c964d38c17 add RP500 compressor and amp settings 2009-04-12 18:36:41 +02:00
Tomasz Moń
96317d5ac5 actually 'is it connected' doesn't make sense here 2009-03-17 15:36:16 +01:00
Tomasz Moń
aa2cc7bbb1 some Doxygen work 2009-03-14 18:51:08 +01:00
Tomasz Moń
9778dc47c3 add comments 2009-03-14 14:23:18 +01:00
Tomasz Moń
e607c6cf37 move modifier_linkable_list to effects.c 2009-03-14 10:07:00 +01:00
Tomasz Moń
dc66db841a introduce get_message_by_id 2009-03-14 10:04:56 +01:00
Tomasz Moń
cd5d7387f3 remove obsolete function 2009-03-13 20:33:24 +01:00
Tomasz Moń
40ebcfaf16 make modifiers[] complete 2009-03-13 18:00:41 +01:00
Tomasz Moń
3f717a51cd add gui_free 2009-03-09 18:49:29 +01:00
Tomasz Moń
90df427200 add knobs 2009-03-09 18:22:20 +01:00
Tomasz Moń
e7c7efe857 expression pedal settings work-in-progress 2009-03-08 13:25:37 +01:00
Tomasz Moń
8ec3d6579c change query_preset_names 2009-03-04 18:26:22 +01:00
Tomasz Moń
c61c2372ae cleaning 2009-03-03 23:06:03 +01:00
Tomasz Moń
49b7f42012 compile with -ansi 2009-03-03 22:39:55 +01:00
Tomasz Moń
157fba0380 make set_option wrapper to send_message 2009-03-03 22:31:25 +01:00
Tomasz Moń
904a30bb38 propertly apply xml patch 2009-03-03 21:57:47 +01:00
Tomasz Moń
eb48d0b9d2 add get_message_id stub 2009-03-03 11:46:28 +01:00
Tomasz Moń
baa3829263 start gui with proper values 2009-03-03 11:39:25 +01:00
Tomasz Moń
968d2947a7 set gui widgets to proper values after loading xml file 2009-03-01 19:00:35 +01:00