Think this needs to go to LAD too... --- Steve Harris <S.W.Harris@xxxxxxxxxxxxxxx> wrote: > I think there was one more too, but I can't think what it was... I remember one about sidechains or something. I don't know what a sidechain is, though, I just recall seeing it somewhere :) > I agree AUDIO_RATE_CONTROL should be renamed. > > There was a suggestion on ardour-dev that a hint to say whether control outs > were supposed to be informative or a source of control data might help, > but I'm not sure about it. Not sure what 'informative' means here... what information do we get if we ignore the control data on the output? > Does someone want to reword these in a more meaningful way? If not I'l do > it, then you'l be sorry ;). I'll have a go :) (The LADSPA_IS_* things will need to be added too) /* 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. A control with this hint should not result in anything too suprising happening to the user (eg. sudden +100dB gain would be unpleasant). */ #define LADSPA_HINT_RANDOMISABLE 0x80 /* 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 - Mike > > - Steve > > > On Wed, 15 Jan 2003 18:13:35 +0000 > > Steve Harris <S.W.Harris@xxxxxxxxxxxxxxx> wrote: > > > > > There have been a few suggestions recently, I'l try to summarise them > > > for comment. > > > > > > MOMENTARY. A hint to suggest that a control should behave like a > > > momentary switch, eg. on for as long as the user holds down the > > > key/mouse button/whatever. Useful for reset or sync controls for > > > example. Would be useful in the DJ flanger. Only applies to TOGGLED > > > controls. > > > > > > AUDIO_RATE_CONTROL. Hints than an audio control should/could be > > > controlled by a high time res. slider or control data, but shouldn't > > > be connected to the next audio signal by default. I can't think of any > > > simple examples off hand, but combined with MOMENTARY it could be used > > > for sample accurate tempo tapping. > > > > > > RANDOMISABLE. Hints that its useful/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. Allows > > > you to specify which controls can be randomised without anything too > > > supprising happening to the user (eg. sudden +100dB gain would be > > > unpleasent). __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com