<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, May 6, 2018 at 12:55 AM, Juan Linietsky <span dir="ltr"><<a target="_blank" href="mailto:reduzio@gmail.com">reduzio@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr">Hi, I don't know anything about LV2, and I only have very little time available out of which I would like to port a sequencer I'm working on to use it.</div></blockquote><div><br></div><div>Hi Juan,<br><br></div><div>We all started as LV2-beginners at some point :) Do you have a link to the sequencer? I'm always curious to hear about projects.<br></div><div> <br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div></div><div>Unfortunately, there seems to be no documentation at all on writing hosts, save for a reference on Lilv, which I can't make any sense of due to me being completely unfamiliar with the naming conventions and context. There are reference server implementations, but they don't really make any sense either to me due to complete lack of exposure to LV2, it's conventions and supported functions.</div></div></blockquote><div><br></div><div>Although it can be hard to "flip" at first, the plugin documentation can be helpful, as the host does the "flip side" of the actions. I'll agree that if starting from zero can be hard, particularly if you have to flip the APIs to host side while learning.<br></div><div> <br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div></div><div>I would really like to request documentation written similar to this - <a target="_blank" href="http://lv2plug.in/book/">http://lv2plug.in/book/</a> but seen entirely from the host side. If this could be done, I would enormously appreciated.</div></div></blockquote><div><br></div><div>Agreed that the book is a fantastic resource to learn plugin coding! <br><br></div><div>I won't speak for the quality of the code here (it was written a long time ago, and I'd hope I've improved since... :) but there is a sample LV2 host class here: <a href="https://github.com/harryhaaren/Lv2Host">https://github.com/harryhaaren/Lv2Host</a><br></div><div><br></div><div>I hadn't looked at it in years - but testing just now it still compiles and runs the default testing plugin ArtyFX Roomy without warnings. That said, a quick poke with valgrind shows that there are improvements possible - so please don't copy-paste this verbatim and expect it to work right :)<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div></div><div>And again, please don't insist on telling me to go read a reference or source code. As I mentioned, that takes way more time than I currently have for working on this. I believe documentation should be equally good for both hosts and plugin, even if there are less hosts written than plugins.</div></div></blockquote><div><br></div><div>I understand nobody has infinite time - but if you're really under time pressure think about if LV2 is really the right thing to ramp-up and learn about. When working with new / unfamiliar libraries and code we programmers just aren't as efficient as when we're working in our comfort zone :D<br></div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div><br></div><div>Best</div><span class="gmail-HOEnZb"><font color="#888888"><div>Juan</div></font></span></div></blockquote><div><br></div><div>Hope the above helps! -Harry<br></div></div><br>-- <br><div class="gmail_signature"><br><a target="_blank" href="http://www.openavproductions.com">http://www.openavproductions.com</a></div>
</div></div>