<!doctype html>
<html>
 <head> 
  <meta charset="UTF-8"> 
 </head>
 <body>
  <p>Hello, I really want to understand this thing about lv2 specification, it cames to me into evidence when I created my lv2 how-to</p>
  <p><a href="https://aidadsp.github.io/howto_sdk_lv2_plugins.html">https://aidadsp.github.io/howto_sdk_lv2_plugins.html</a></p>
  <p>and during the writing of the article I start to compare the specification with other existing technologies like</p>
  <p><a href="http://reaper.fm/sdk/js/js.php">http://reaper.fm/sdk/js/js.php</a><br></p>
  <p>So the problem to me is the absence of the equivalent of method "@slider" (found in js scripting) in lv2 specification.</p>
  <p>Imagine that you need to calculate the five coefficents of a simple biquad filter. The coefficients need to be changed when you rotate the "Freq" knob. In all the lv2 examples I've found, all the coeffs are re-calculated in the "run" method but, from what I know, it's wrong. In the run method I should execute only the code that implements the biquad cell.</p>
  <p>The method slider should run in a separate thread and a signal or a variable used to notify run method to fetch the newly calculated coeffs when they're ready and start use them. In theory run thread should be able to mask the slider thread as much as he need it.</p>
  <p>Let me know if you have other ideas or comments. Thanks in advance.</p>
  <p>Max</p>
  <p><br></p>
  <p class="ox-34096c9ac2-default-style"><br></p> 
 </body>
</html>