Commit Graph

213 Commits

Author SHA1 Message Date
Tim LaBerge
4f40132742 Implement the LFO1 and LFO2 effects.
For now, this is just for rp355, though the code should work for other
devices with minimal modification.

1) The EffectValues for values_*_assign need to be VALUE_TYPE_POSID.

2) Disabmiguate "Delay Tape" for a couple of EffectSettings. This fixed
   some bugs in the creation of the global modifier group.

3) Remove #if 0's around the definition of the lfo2_settings.

4) Define proper lfo1 and lfo2 groups arrays.

5) Define the lfo2_effect[] array.

6) Add the lfo1 and lfo2 effects to the rp355_effects array.

7) Disambiguate "EQ B" from "Eq" for some effedts in the modifiers array.

8) In push_message(), after we receive the RECEIVE_MODIFIER_LINKABLE_LIST
   message, kick off the creation of the EXP, LFO1, and LFO2 effects.

9) Generalize the function used for the pedal1_assign effect and make it work
   for lfo1 and lfo2 as well. Convert printf's to debug_msg().

10) Since we're destroying the association of the grid with the placeholder
    combo box entry, steal the data so the child widget isn't destroyed.

11) Silence warning on exit about 0 unread messages in queue.
2012-12-02 21:59:26 -08:00
Tim LaBerge
cf239da94c Implement parameter linking to expression pedal. 2012-12-01 15:30:56 -08:00
Tim LaBerge
88819a795b 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-06 10:06:12 -07:00
Tim LaBerge
3002d2256e 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-06 08:57:08 -07:00
Tim LaBerge
87ae4cd280 Add 'Label' to modifier group log message. 2012-03-31 17:45:12 -07:00
Tim LaBerge
a073f5cde2 Refine logging infrastructure.
1) Make logging conditional on debug flags.

2) Add command line option for setting these flags.

3) Emit warnings with g_warning() instead of g_message().

4) Added note about how FX_LIB_LEVEL_MAX[1-3] is used.
2012-02-27 20:26:42 -08:00
Tim LaBerge
9fcf6939d0 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-02-26 21:52:27 -08:00
Tim LaBerge
71e087cfd0 Presence effect in wrong place for some devices. 2012-02-26 21:27:54 -08:00
Tim LaBerge
6a16e66cbd 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.
2012-02-26 21:21:27 -08:00
Tim LaBerge
4351613e72 Add a .gitignore file. 2012-02-26 20:45:26 -08:00
Tim LaBerge
2253833105 Add retrieval of global settings. Start LFO. 2012-02-26 08:37:51 -08:00
Tim LaBerge
87e6dcbb9c Better message tracking and retrieve usb settings. 2012-02-26 08:29:43 -08:00
Tim LaBerge
d92489348d Add the USB (global) effects. 2012-02-25 18:10:58 -08: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
Tomasz Moń
fd0369dc7c use GtkGrid instead of GtkTable 2011-10-15 16:24:57 +02:00
John Hammen
2c921df204 add RP150 support 2011-10-14 10:43:47 +02: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
John Hammen
907a3d0ed9 add RP155 support 2011-08-29 09:16:25 +02:00
Tomasz Moń
5dc5f0652f update HACKING file 2011-01-27 11:55:48 +01:00
Tomasz Moń
5a44076e4f Added tag 0.2.0 for changeset 6864af80db93 2010-10-07 11:09:14 +02:00
Tomasz Moń
0bb0f6db71 update manpage 0.2.0 2010-10-07 11:08:59 +02:00
Tomasz Moń
dcf66adfa9 fix RP1000 support 2010-08-25 11:15:29 +02:00
Tomasz Moń
0886ba00c1 add support for GNX4 and GNX3k patches 2010-06-17 19:20:58 +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
Rafael Moreno
2523b27205 add rp355p to SupportedFileTypes 2009-09-20 20:06:27 +02: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
Tomasz Moń
a8bac07f68 correct manpage 2009-08-11 12:18:03 +02:00
Andreas Karajannis
87bb59f43a don't use uninitialized value 2009-08-11 12:17:28 +02:00
Andrew O. Shadoura
cdeb821deb added manpage 2009-08-10 19:56:56 +01:00
Andrew O. Shadoura
ce463b29d8 added simple .desktop file 2009-08-08 21:04:40 +01:00
Andrew O. Shadoura
159bca158e use LDADD instead of LDFLAGS and -Wl,--as-needed; added install target 2009-08-08 20:53:07 +01:00
Tomasz Moń
6ae750c4fb GFile requires gio.h 2009-07-31 14:10:21 +02:00
Rafael Moreno
5f21c62a2f fix RP355 support 2009-07-28 11:38:24 +02:00
Tomasz Moń
08b20b398f remove redundant GFile 2009-07-19 18:52:57 +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ń
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ń
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ń
3da458d370 Added tag 0.1.8 for changeset 5e6d6124b5f2 2009-06-22 16:36:52 +02:00
Tomasz Moń
ba04930133 display GNX3000 settings in tabs 0.1.8 2009-06-21 20:05:42 +02:00
Stephen Rigler
18f137636d add GNX3000 amp channel settings 2009-05-20 20:51:10 +02:00
Jaco Kroon
eba8bbe5aa fix Makefile 2009-05-15 21:54:42 +02:00
Tomasz Moń
7a6e3b159c greatly reduce number of comparisions required to apply parameters to GUI 2009-05-15 20:59:28 +02:00
Tomasz Moń
cc85da9c71 update ignore list 2009-05-15 16:39:31 +02:00