<div dir="ltr">Hi Harry,<div><br></div><div>  Sorry, I should have mentioned I did read the LV2 plugin documentation but it's still not enough for me to "connect the dots".  I know it works great for copying and pasting some code and getting something to work even if the full API is not clear. Unfortunately for hosts this won't do.</div><div><br></div><div>  In any case, again, my point is to humbly request documentation about this.  I'm sure someone experiencedcan put something together in an hour and it would save me and future host implementers a huge amount of time. </div><div>  </div><div>  I hope you guys understand that Linux is rarely a priority for host developers, which means little time can be dedicated to it.  By making it so difficult to understand how a LV2 host works, you are just making people not even considering spending time with it.</div><div><br></div><div>Best</div><div><br></div><div>Juan</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, May 6, 2018 at 5:39 AM Harry van Haaren <<a href="mailto:harryhaaren@gmail.com">harryhaaren@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 href="mailto:reduzio@gmail.com" target="_blank">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 href="http://lv2plug.in/book/" target="_blank">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" target="_blank">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="m_-3469660900861130509gmail-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="m_-3469660900861130509gmail_signature"><br><a href="http://www.openavproductions.com" target="_blank">http://www.openavproductions.com</a></div>
</div></div>
</blockquote></div>