[LV2] Internal GTK UI Not Being Detected and Also: External Python UIs?

Robin Gareus robin at gareus.org
Sat Dec 7 23:33:12 PST 2013


On 12/08/2013 08:20 AM, hermann meyer wrote:
> Am 07.12.2013 19:50, schrieb Kaspar Emanuel:
>>
>> Hi,
>>
>> I have run out of things to try on getting a basic GTK UI added to my
>> plugin:
>> https://github.com/kasbah/slim_looper.lv2/tree/feat-internal-ui/src
>>
>> I just copied the eg-sampler code for the time being and cut out what
>> I don't need and added what I though I needed to the ttl files and
>> changed the URIs. Jalv just doesn't detect

git rev 4d9e042fa runs just fine in jalv.gtk here.

>> it and I have no idea how
>> to get more info beyond that. 

lv2ls, lv2info, sord_validate,...

>> A second pair of eyes  to see if I am
>> doing something stupid are very much appreciated.
>
> A quick look on your slim_lv2.ttl shows that you use the @prefix ui: 2
> times.
> 
> As a side note, a look at your loop source shows that you use a couple
> of memset/memcpy calls in the dsp run callback, you should better avoid
> this, because that functions can block the flow.

memset, memcpy, memmove etc are fine they're O(N) and realtime safe.
(malloc, free, etc are not RT-safe).

>> On a semi-related note, how would I go about writing an external UI in
>> Python (PySide), is it possible? I have seen the KXstudio externalui
>> extension but don't fully understand it yet (hence I am playing with
>> the internal UI) and haven't found any examples using UIs written in
>> anything but C or C++.

Nedko's lv2fil GUI is written in python.

>> Cheers,
>>
>> Kaspar
>>
>>
>



More information about the Devel mailing list