More LV2 questions

Fons Adriaensen <[email protected]>
Newsgroups gmane.linux.audio.devel
Message-ID <[email protected]>
Hello all,

Some more questions on my way to grok LV2

1. Should hosts echo parameter changes to the GUI if
   the change came from the GUI ?

   Jalv doesn't, Ardour does. That can make continuous
   changes (e.g. a fader) look erratic as the echo will
   probably arrive when the widget has already moved
   to the a new value. 

2. Getting the sample rate in the GUI is complicated,
   requiring the 'options' feature. This could have
   been communicated to the GUI in the same way as
   to the DSP part... Too simple ?

   And which is the correct one ?

   http://lv2plug.in/ns/ext/parameters#sampleRate

   or

   http://lv2plug.in/ns/ext/core#sampleRate

   Both jalv and Ardour use the 'parameter' one, 
   why does the other exist at all ?

3. A GUI may want to show an optional second window
   (e.g. a frequency response). The only way to get
   a meaningful title for such a window seems to be
   to go through a lot of X11 magic to get the plugin
   window's WM_NAME. Or is there a better way ?

   As the sample rate, this is such a basic requirement
   for a plugin GUI that I wonder why this is not provided
   with the initialisation parameters...


TIA for any info !

Ciao,

-- 
FA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.