<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello<br>
<br>
I managed to make <a href="https://bitbucket.org/xaccrocheur/ksi">my
example plugin</a> (based on the only <a
href="http://www.nongnu.org/ll-plugins/lv2pftci/#A_synth">LV2
synth tutorial</a> that I could find) monophonic :)<br>
Now the only think that is left is a portamento function, to go from
one note to another (<i>exactly</i> like <a
href="http://d00m.org/%7Esomeone/so404/">so-404</a> does).<br>
<br>
I guess it has to do with the<br>
<br>
<tt> void on(unsigned char key, unsigned char velocity) {</tt><tt><br>
</tt><tt> m_key = key;</tt><tt><br>
</tt><tt> m_period = m_rate * 4.0 / LV2::key2hz(m_key);</tt><tt><br>
</tt><tt> m_envelope = velocity / 128.0;</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><tt><br>
</tt><tt> void off(unsigned char velocity) {</tt><tt><br>
</tt><tt> m_key = LV2::INVALID_KEY;</tt><tt><br>
</tt><tt> }</tt><tt><br>
</tt><br>
functions, I need to store the "note out" value to go from that, to
a "note in"...<br>
<br>
Does anyone know the algorithm to implement that? That would really
help me.<br>
<br>
Thanks<br>
<br>
PS - Excuse my poor English, I'm working on it<br>
<br>
<tt>--</tt><tt><br>
</tt><tt>Phil</tt><tt>ippe Coatmeur</tt><br>
</body>
</html>