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-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 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 tha

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 we

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 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 as

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 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 wo

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 > intu

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 used

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 un

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 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 etc

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 included,

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 host

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 > > >