On 29 Jan 2007, at 15:23, Paul Winkler wrote:
> On Mon, Jan 29, 2007 at 08:08:37AM +0000, Steve Harris wrote:
>> Ah, well the host is not supposed to change port values during run()
>> anyway, the idea in LADSPA (and LV2) is that the host should chop the
>> run() block where port values change.
>
> /delurk
>
> What does "chop the run block" mean?
>
> /relurk
Imagine you have a block of 1024 samples, and at sample 24 a control
value changes from 1 to 2, you could do:
plugin->port = 2.0;
plugin->run(1024);
which puts the control value change in slightly the wrong place, or
you could do: (chopping)
plugin->port = 1.0;
plugin->run(24);
plugin->port = 2.0;
plugin->run(1000);
It's not a technical term or anything, I just needed a word :)
- Steve
Received on Mon Jan 29 20:15:03 2007
This archive was generated by hypermail 2.1.8 : Mon Jan 29 2007 - 20:15:04 EET