summaryrefslogtreecommitdiff
path: root/muse2/README.ladspaguis
blob: c1b168ff059f051a54d0b2630b1b753b5c46d2e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
MusE can create LADSPA GUI's (graphical user interfaces) from
Qt designer *.ui files at runtime.
This allows a user to create or modify customized LADSPA guis without
recompiling MusE.

======================
   Installation
=====================

Copy the file muse/widgets/musewidgetsplugin.so into a directory were
Qt (designer) can find it.

Example:
      if you installed Qt in /usr/qt3:
      su -c "cp -af musewidgetsplugin.so /usr/qt3/plugins/designer"
Check:
      After starting the Qt designer you see all MusE specific widgets
      under Tools/MusE. If you cannot find any MusE widgets, designer
      did not find the file "musewidgetsplugin.so".

======================
   Environment
======================

Naming:
      The Qt designer files are named after the LADSPA plugin ID.
      Example: the "freeverb" plugin has the id "1050". A gui for
            freeverb has to be named "1050.ui".
      The plugin ID is shown in the MusE plugin browser.

Path:
      MusE looks for *ui files at (museglobalshare)/plugins/.
      If you installed MusE at "/usr" (configured with --prefix=/usr)
      MusE looks at "/usr/share/muse/plugins" for *ui files.

======================
   Creating *.ui file
======================

The association between LADSPA plugin parameters and Qt-Widgets is
done by name. All input widgets which manipulate a LADSPA parameter
must have a name starting with the letter "P" followed by the parameter
index.
      Example:
      A "Slider" widget which manipulates the 3th parameter of a
      plugin has the name "P3slider".

Supported Widgets:
      "Slider"       slider for float values
      "DoubleLabel"  entry for float values
      "QCheckbox"    to manipulate a on/off LADSPA parameter
      "QComboBox"    select from a list of named values; sets
                     integer LADSPA values

(for more hints please look at the example *.ui files)