Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-23 Thread hollundertee
On Tue, 19 Oct 2021 11:38:57 +0200 Sven Jaehnichen wrote: > Am 19.10.21 um 00:13 schrieb Robin Gareus: > > [...] > > This would be an interesting option :-). Although turtle has got a > very intuitive syntax (once you know it), it might be a bit > discouraging for newbies as it looks different

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-21 Thread David Robillard
On Wed, 2021-10-20 at 22:32 +0200, Fons Adriaensen wrote: > On Wed, Oct 20, 2021 at 10:26:41AM -0400, David Robillard wrote: >   > > > That C isn't trying to describe the entire world. > > > > This is a glaring straw man.  I'm not sure what you're arguing > > against, > > but it certainly isn't

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-20 Thread Fons Adriaensen
On Wed, Oct 20, 2021 at 10:26:41AM -0400, David Robillard wrote: > > That C isn't trying to describe the entire world. > > This is a glaring straw man. I'm not sure what you're arguing against, > but it certainly isn't LV2. No, it isn't. Sorry if I gave that impression. It's more likely what

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-20 Thread Hermann Meyer
Am 20.10.21 um 16:26 schrieb David Robillard: Fair enough. "I just want to write C and only C" is a reasonable and understandable position, no need for any hand-wavey nonsense. For that case XUiDesigner may come handy, it will generate a complete working LV2 bundle from just stick a user

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-20 Thread Thomas Brand
On 2021-10-20 14:26, David Robillard wrote: The main reason LV2 uses separate data files is so that hosts don't need to load and execute code only to discover what plugins are present. This has pros and cons, like most things. It has some merit to have all metadata in a text file separate

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-20 Thread David Robillard
On Wed, 2021-10-20 at 10:10 +0200, Fons Adriaensen wrote: > On Tue, Oct 19, 2021 at 05:32:59PM -0400, David Robillard wrote: > > > life is hard. > > And complex, having real and imaginary parts. > > > The only reason you can understand a C header that defines a struct > > with filter

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-20 Thread Fons Adriaensen
On Tue, Oct 19, 2021 at 05:32:59PM -0400, David Robillard wrote: > life is hard. And complex, having real and imaginary parts. > The only reason you can understand a C header that defines a struct > with filter coefficients or whatever is the same. True. > What's the difference? That C isn't

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-20 Thread Hanspeter Portner
On 20.10.21 00:39, David Robillard wrote: On Tue, 2021-10-19 at 22:51 +0100, Will Godfrey wrote: On Tue, 19 Oct 2021 16:58:39 -0400 David Robillard wrote: On Tue, 2021-10-19 at 19:17 +0100, Will Godfrey wrote:  What is even worse, is when there is a problem of some sort with a plugin,

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread David Robillard
On Tue, 2021-10-19 at 22:51 +0100, Will Godfrey wrote: > On Tue, 19 Oct 2021 16:58:39 -0400 > David Robillard wrote: > > > On Tue, 2021-10-19 at 19:17 +0100, Will Godfrey wrote: > > > >  What is even worse, is when there > > > is a problem of some sort with a plugin, and host reports that > > >

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Will Godfrey
On Tue, 19 Oct 2021 16:58:39 -0400 David Robillard wrote: >On Tue, 2021-10-19 at 19:17 +0100, Will Godfrey wrote: >> What is even worse, is when there >> is a problem of some sort with a plugin, and host reports that the >> (apparent) >> url doesn't exist! > >That's rather strange. Most

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread David Robillard
On Tue, 2021-10-19 at 21:12 +0200, Fons Adriaensen wrote: > On Tue, Oct 19, 2021 at 01:00:24PM -0400, David Robillard wrote: > > First of all, thanks to all who responded ! > > Hi David, long time no see... 'lo! Indeed. I'm trying to get back into cleaning up various messes, this one

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread David Robillard
On Tue, 2021-10-19 at 19:17 +0100, Will Godfrey wrote: > On Tue, 19 Oct 2021 13:04:08 -0400 > David Robillard wrote: > > > On Tue, 2021-10-19 at 10:00 +0100, Chris Cannam wrote: > > > And, of course, URIs are just strings - the fact that they are > > > typically written with http at the start

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Neil C Smith
On Tue, 19 Oct 2021, 19:18 Will Godfrey, wrote: > Like many people, if I see what looks like a valid url, then that's what I > expect it to be, not some form of labelling. > It's common, eg. XML namespaces. More fun when people start complaining they're not https. :-) Best wishes, Neil

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Fons Adriaensen
On Tue, Oct 19, 2021 at 01:00:24PM -0400, David Robillard wrote: First of all, thanks to all who responded ! Hi David, long time no see... > The reason you can't "just" use the short one everywhere is that they > are not globally unique (being the whole point). But why should it be globally

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Will Godfrey
On Tue, 19 Oct 2021 13:04:08 -0400 David Robillard wrote: >On Tue, 2021-10-19 at 10:00 +0100, Chris Cannam wrote: >> And, of course, URIs are just strings - the fact that they are >> typically written with http at the start etc is just a namespacing >> convention. The lv2 standard could have

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread David Robillard
On Tue, 2021-10-19 at 11:38 +0200, Sven Jaehnichen wrote: > Am 19.10.21 um 00:13 schrieb Robin Gareus: > > > There is currently ongoing work to allow JSON-LD as alternative, > > but > > that's just the encoding. > > This would be an interesting option :-). Although turtle has got a > very >

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread David Robillard
On Tue, 2021-10-19 at 10:00 +0100, Chris Cannam wrote: > And, of course, URIs are just strings - the fact that they are > typically written with http at the start etc is just a namespacing > convention. The lv2 standard could have used > instead of > and it

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread David Robillard
On Tue, 2021-10-19 at 09:46 +0200, Fons Adriaensen wrote: > On Tue, Oct 19, 2021 at 12:13:17AM +0200, Robin Gareus wrote: > > > https://www.w3.org/TR/turtle/ to the rescue :) > > Been there of course... > > > Instead of e.g.   http://lv2plug.in/ns/lv2core#ControlPort > > you can just write  

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Sven Jaehnichen
Am 19.10.21 um 00:13 schrieb Robin Gareus: There is currently ongoing work to allow JSON-LD as alternative, but that's just the encoding. This would be an interesting option :-). Although turtle has got a very intuitive syntax (once you know it), it might be a bit discouraging for newbies

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Chris Cannam
On Tue, 19 Oct 2021, at 10:00, Chris Cannam wrote: > For example, I could have chosen to write [...] naturally I notice a typo just after sending - forgot to capitalise the P of lv2:Plugin in my second version. Sorry. The capital initial in "type" URIs is also just a convention, btw. Chris

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Chris Cannam
On Mon, 18 Oct 2021, at 21:54, Fons Adriaensen wrote: > Which raises the question why those @prefix lines are > required at all. [...] > So all that these lines seem to provide is some illusion > of conformity which isn't enforced or checked at all. I used to find this conceptually tricky as

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Hermann Meyer
Am 19.10.21 um 09:46 schrieb Fons Adriaensen: Instead of e.g.http://lv2plug.in/ns/lv2core#ControlPort you can just writelv2:ControlPort That I understand. But: 1. The logic that allows this is hard coded in the LV2 host, it is not the result of 'including' the @prefix. Checking

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Bruno Vernay
Hi I think that the intention was just to be able to use whatever short name suits you. You could use: @prefix prj: @prefix l2: @prefix lv2: ... I am not judging. Regards Bruno

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-19 Thread Fons Adriaensen
On Tue, Oct 19, 2021 at 12:13:17AM +0200, Robin Gareus wrote: > https://www.w3.org/TR/turtle/ to the rescue :) Been there of course... > Instead of e.g. http://lv2plug.in/ns/lv2core#ControlPort > you can just writelv2:ControlPort That I understand. But: 1. The logic that allows this

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-18 Thread Robin Gareus
On 10/18/21 10:54 PM, Fons Adriaensen wrote: > I never got to grips with turtle. https://www.w3.org/TR/turtle/ to the rescue :) There is currently ongoing work to allow JSON-LD as alternative, but that's just the encoding. > In particular not with things like: > @prefix doap:

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-18 Thread Fons Adriaensen
Sorry to _low_show - this was meant for the list. On Mon, Oct 11, 2021 at 03:19:45PM +0200, _low_show wrote: > Looks great, will make some time to try it out! Thanks for making this! I somehow deleted the original post, but refer to > https://youtu.be/51eHCA4oCEI > https://lv2plug.in/book I

Re: [LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-11 Thread _low_show
ugin from scratch tutorial video series > (Sven Jaehnichen) > > > -- > > Message: 1 > Date: Sun, 10 Oct 2021 13:58:57 +0200 > From: Sven Jaehnichen > To: linux-audio-annou...@lists.linuxaudio.org, > linux-audio-dev@lists.linuxaudio.org, de...@lists.lv2plug.in > Subject

[LAD] Programming LV2 plugin from scratch tutorial video series

2021-10-10 Thread Sven Jaehnichen
Hi, I started with a programming tutorial series about making LV2 plugins. Really from scratch. Dedicated for beginners. I read in chats from so many hobbyist and bedroom producers that that they want to make LV2 plugins but they don't have any idea how to start. The most of them have got