[linux-audio-dev] LADSPA port hints again!

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] LADSPA port hints again!
From: Mike Rawes (mike_rawes_AT_yahoo.co.uk)
Date: Sat Aug 23 2003 - 18:40:45 EEST


Hi,

Back in March it was suggested that some additional hints should be
added to LADSPA - there was some discussion, but nothing since. Here's
what I gathered from the archives:

/* Hint MOMENTARY indicates that that a control should behave like a
   momentary switch, such as a reset or sync control.
LADSPA_HINT_MOMENTARY
   may only be used in combination with LADSPA_HINT_TOGGLED.
   */
#define LADSPA_HINT_MOMENTARY 0x40

/* Hint RANDOMISABLE indicates that it's meaningful to randomise the
port
   if the user hits a button. This is useful for the steps of control
   sequencers, reverbs, and just about anything that's complex.
Randomising
   a control should not result in anything too suprising happening to
   the user (eg. sudden +100dB gain would be unpleasant). */
#define LADSPA_HINT_RANDOMISABLE 0x80

/* Hint OUTPUT_METER indicates that the value of output
   control port is likely to be most meaningful to the user if
   displayed as a meter. Can be combined with LADSPA_HINT_LOGARITHMIC
   if the meter should use a log scale. (e.g. dB)
*/
#define LADSPA_HINT_OUTPUT_METER 0x??

/* Plugin Ports:

   Plugins have `ports' that are inputs or outputs for audio or
   data. Ports can communicate arrays of LADSPA_Data (for audio
   or continuous control inputs/outputs) or single LADSPA_Data values
   (for control input/outputs). This information is encapsulated in the
   LADSPA_PortDescriptor type which is assembled by ORing individual
   properties together.

   Note that a port must be an input or an output port but not both
   and that a port must be one of either control, audio or continuous.
*/

[...]

/* Property LADSPA_PORT_CONTINUOUS_CONTROL indicates that the port is
   a control port with data supplied at audio rate. */
#define LADSPA_PORT_CONTINUOUS_CONTROL 0x10

-
Myk


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Aug 23 2003 - 18:47:58 EEST