Re: [LAD] Hello World in LV2

2011-07-07 Thread David Robillard
On Wed, 2011-07-06 at 13:40 +0200, Olivier Guilyardi wrote:
[...]
 For now, maybe that you could just review and commit the amplifier example
 mentioned by Gabriel. I think that a trunk/examples/ folder would be nice.

http://lv2plug.in/repo/trunk/plugins/eg-amp.lv2/

Note you have to check out the top-level of the repository to build
this, e.g.:

svn co http://lv2plug.in/repo/trunk lv2-svn

I am working on adding a sampler example (contributed by Gabriel M.
Beddingfield and James Morris) which will demonstrate a bit more of an
advanced plugin (which references external files, persists state, etc)

Other contributions of exampley plugins are, of course, welcome.

-dr


___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-07 Thread Gabriel M. Beddingfield
On Thursday, July 07, 2011 02:29:33 pm David Robillard 
wrote:
 I am working on adding a sampler example (contributed by
 Gabriel M. Beddingfield and James Morris) which will
 demonstrate a bit more of an advanced plugin (which
 references external files, persists state, etc)

FYI, I've put that example here as well:

   https://gitorious.org/gabrbedd/lv2-sampler-example

-gabriel
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-07 Thread Olivier Guilyardi
On 07/07/2011 09:29 PM, David Robillard wrote:
 On Wed, 2011-07-06 at 13:40 +0200, Olivier Guilyardi wrote:
 [...]
 For now, maybe that you could just review and commit the amplifier example
 mentioned by Gabriel. I think that a trunk/examples/ folder would be nice.
 
 http://lv2plug.in/repo/trunk/plugins/eg-amp.lv2/

Thank you David :)

--
  Olivier
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-07 Thread David Robillard
On Thu, 2011-07-07 at 22:03 +0200, Olivier Guilyardi wrote:
 On 07/07/2011 09:29 PM, David Robillard wrote:
  On Wed, 2011-07-06 at 13:40 +0200, Olivier Guilyardi wrote:
  [...]
  For now, maybe that you could just review and commit the amplifier example
  mentioned by Gabriel. I think that a trunk/examples/ folder would be nice.
  
  http://lv2plug.in/repo/trunk/plugins/eg-amp.lv2/
 
 Thank you David :)

You're welcome.

Apologies for the delays migrating all the old site data to the new
site.  I try not to spend 20 hours a day staring at screens in the
summer as in the winter :)

-dr


___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-06 Thread Olivier Guilyardi
On 07/06/2011 02:03 AM, David Robillard wrote:
 On Tue, 2011-07-05 at 15:44 -0500, Gabriel M. Beddingfield wrote:
 On Tuesday, July 05, 2011 03:34:15 pm Olivier Guilyardi 
 wrote:
 Okay, then, if it is still compliant, it would be nice to
 have it in there: http://lv2plug.in/trac/browser/trunk
 I sent an e-mail to the LV2 ML to see if anyone can find the 
 old tutorial text.
 
 Sorry, the hosting migration has been a bit rougher than expected.  I
 have a dump of the entire Wiki, which will be restored soon.
 
 That said, I agree with the original premise that well-documented
 *examples* are what is most needed, by a long shot.  Tutorials and
 other prosey things that aren't working examples and few people are
 likely to bother with, not so much.

I agree.

For now, maybe that you could just review and commit the amplifier example
mentioned by Gabriel. I think that a trunk/examples/ folder would be nice.

That said, what about a Hello World host example? I know there are various ways
to parse Turtle, and a host example may be a bit Lilv-specific. But having
minimal host+plugin examples on the official LV2 website would be useful. Or at
least a link to a simple Lilv host example.

 Also, I don't see the URL of the SVN repo mentioned
 anywhere on the website. There's just a download link
 with tarballs.
 
 Please sign up and modify the site as you see fit, the entire thing
 (except of course generated docs and such) is a Wiki.

I actually don't know the SVN URL, and I think that a page listing all download
options is better written by official maintainers.

--
  Olivier

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-06 Thread Emanuel Rumpf
2011/7/6 David Robillard d...@drobilla.net:

 ...  Eventually I think it might be nice to do a big LV2 Universe
 tarball release of everything in there,

I can only say YES YES YES to that.
Would you believe, how cumbersome it's been to track, follow and
install LV2 releases ?
(The same unfortunately applies to some of your other apps, ingen, ...)


 .., but I am not sure
 of the form this should take yet.

A tar.bz2 with any script, that would build and install the whole LV2
devel stuff,
including seldom used dependencies. Plus a README, listing additional
dependencies.
For example: I would not expect GTK+ to be included, but a required
rdf-library I've never heard before...

A second tarball, including all currently known LV2 plugins.
This could be called  Official-LV2-plugin-pack_2011-08-01.tar.bz2
and could be updated regularly.

Thank you for this effort.
Making your work more accessible is much appreciated.

-- 
E.R.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-06 Thread David Robillard
On Wed, 2011-07-06 at 18:27 +0200, Emanuel Rumpf wrote:
 2011/7/6 David Robillard d...@drobilla.net:
 
  ...  Eventually I think it might be nice to do a big LV2 Universe
  tarball release of everything in there,
 
 I can only say YES YES YES to that.
 Would you believe, how cumbersome it's been to track, follow and
 install LV2 releases ?
 (The same unfortunately applies to some of your other apps, ingen, ...)

Unreleased is unreleased.  On purpose.  Unreleased things are not
*supposed* to be as widely distributed as released things, because they
are not stable.  Stable in this case does not mean it might crash,
it means that everything related will break catastrophically in the
future.  They are not useful unless you are a developer seeking to
participate in the implementation of a new extension, in which case you
use SVN.  There are all sorts of things in that repository that are
rotten crap and most definitely should NOT be widely distributed and
used.  If it was release suitable, it would be released :P

Extensions are not released until there are at least 2 independent
working implementations of them.  I think most would agree this is a
good rule.

For users, there are tarballs of all released extensions, and packagers
have been doing their thing nicely with them.  I don't see how it is any
more cumbersome to track LV2 releases than any other project.  Tarballs
are released, and announcements are made.  What is the problem?

  .., but I am not sure
  of the form this should take yet.
 
 A tar.bz2 with any script, that would build and install the whole LV2
 devel stuff,
 including seldom used dependencies. Plus a README, listing additional
 dependencies.
 For example: I would not expect GTK+ to be included, but a required
 rdf-library I've never heard before...

... So, something like a waf script, and an INSTALL file, and a README
file?  Something like, oh I don't know, the ones that have been there
ever since the repository was created? ;)

 A second tarball, including all currently known LV2 plugins.
 This could be called  Official-LV2-plugin-pack_2011-08-01.tar.bz2
 and could be updated regularly.

I don't think it's appropriate or wise to create any such official
thing.  Plugins are written by diverse authors in diverse languages with
diverse build systems.  That's sort of the point.  Anyone is welcome to
create a meta-package, though, and it would be nice in some cases, but
that is a much more messy task than doing so for extensions, since there
is no standard format for plugin sources (nor could there be).

The scope of plugins is much wider than this wish implies.  For example,
LinuxSampler is a known LV2 plugin these days.  Ingen will be as well.
Including these things in such a release is clearly inappropriate.

I think actively maintaining, hosting, distributing, and guiding the
development of *extensions* is a job that lv2plug.in should strive to
do, to keep the LV2 ship sailing straight, so to speak.  Plugins,
however, are independent projects.  The point of a good plugin
specification is to enable independent developers to implement whatever
plugins they see fit.  Centralization is not a win.

 Thank you for this effort.

You're welcome.

 Making your work more accessible is much appreciated.

Don't assume that developers actually *want* everything to be
accessible ;)  I assure you several developers are actively working to
design, solidify, implement, and release new extensions that will
provide us with new advanced plugin capabilities as quickly as possible.

-dr

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-06 Thread Emanuel Rumpf
2011/7/6 David Robillard d...@drobilla.net:

 For users, there are tarballs of all released extensions,  ...
 Tarballs are released, and announcements are made.  What is the problem?

The problem is: tarballs is plural.

For LV2 you have to download x tars, compile, install and
when you're finally done, your new LV2-plugin still doesn't compile,
cause it would have needed an experimental extension...
my experience so far. Ah right. I should wait for the final release ;)


 A second tarball, including all currently known LV2 plugins.
 This could be called  Official-LV2-plugin-pack_2011-08-01.tar.bz2
 and could be updated regularly.

 I don't think it's appropriate or wise to create any such official
 thing.  Plugins are written by diverse authors in diverse languages with
 diverse build systems.

   Centralization is not a win.


I thinks it can be. I'm not talking about centralizing different projects, but
*final* distribution centralization, a kind of central mirror for
spread projects.

Take ladspa as an example:
There are X websites with ladspa-packages, containing diverse plugins.
Now every maintainer (and interested user) has to track those sites,
downloading from X locations...
My thought: If there was a central collecting point, most maintainers
could simply download
one tar and make the content ready for their distro.
Plugin creators would also benefit: They simply would have to send
their current sources to the collecting point, knowing it
soon became public and spread.



 I think actively maintaining, hosting, distributing, and guiding the
 development of *extensions* is a job that lv2plug.in should ... do ..

So maybe my request should have gone to that address.


 Don't assume that developers actually *want* everything to be
 accessible ;)  I assure you several developers are actively working to
 design, solidify, implement, and release new extensions that will
 provide us with new advanced plugin capabilities as quickly as possible.

Pleased to hear that :)


-- 
E.R.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-06 Thread Emanuel Rumpf
2011/7/6 David Robillard d...@drobilla.net:

 ... So, something like a waf script, and an INSTALL file, and a README
 file?  Something like, oh I don't know, the ones that have been there
 ever since the repository was created? ;)


Indeed - one has to install lv2 from the repository.
Then installation is much simpler than the website download, as I'm
just experiencing,
just use waf.
repo download:
  http://lv2plug.in/trac/changeset/273/trunk?old_path=%2Fformat=zip
  don't forget to run lv2config

Then checkout drobilla
  svn co http://svn.drobilla.net/lad/trunk drobillad
and
  ./waf configure --prefix=/usr --bindings --jack-dbus --dyn-manifest

-- 
E.R.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-06 Thread David Robillard
On Wed, 2011-07-06 at 22:21 +0200, Emanuel Rumpf wrote:
 2011/7/6 David Robillard d...@drobilla.net:
 
  ... So, something like a waf script, and an INSTALL file, and a README
  file?  Something like, oh I don't know, the ones that have been there
  ever since the repository was created? ;)
 
 
 Indeed - one has to install lv2 from the repository.
 Then installation is much simpler than the website download, as I'm
 just experiencing,
 just use waf.
 repo download:
   http://lv2plug.in/trac/changeset/273/trunk?old_path=%2Fformat=zip
   don't forget to run lv2config
 
 Then checkout drobilla
   svn co http://svn.drobilla.net/lad/trunk drobillad
 and
   ./waf configure --prefix=/usr --bindings --jack-dbus --dyn-manifest

My top-level repository contains several unreleased things, and
accordingly depends on the LV2 SVN repository.  All is as it should be.

-dr

___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-05 Thread Paul Davis
On Tue, Jul 5, 2011 at 3:12 PM, Olivier Guilyardi l...@samalyse.com wrote:
 Hi,

 Looking around the LV2 Trac at http://lv2plug.in/trac/, I don't see any simple
 introduction on how to create a minimal plugin. Is there any plan for this?

I'm not part of the LV2 effort, but I think I can say with the
greatest confidence that whether there are plans or not, what will
actually happen will only be the result of people simply doing the
work. In other words, someone just has to provide this, and suddenly
there will be a plan for it.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-05 Thread Gabriel M. Beddingfield
On Tuesday, July 05, 2011 02:12:40 pm Olivier Guilyardi 
wrote:
 Looking around the LV2 Trac at http://lv2plug.in/trac/, I
 don't see any simple introduction on how to create a
 minimal plugin. Is there any plan for this?

It used to exist.  Looks like it got lost while someone was 
sexing up the website.

I've uploaded the code here:

   http://gitorious.org/gabrbedd

We still need to track down the text.

-gabriel
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-05 Thread Olivier Guilyardi
On 07/05/2011 09:47 PM, Gabriel M. Beddingfield wrote:
 On Tuesday, July 05, 2011 02:12:40 pm Olivier Guilyardi 
 wrote:
 Looking around the LV2 Trac at http://lv2plug.in/trac/, I
 don't see any simple introduction on how to create a
 minimal plugin. Is there any plan for this?
 
 It used to exist.  Looks like it got lost while someone was 
 sexing up the website.
 
 I've uploaded the code here:
 
http://gitorious.org/gabrbedd

 We still need to track down the text.

Thanks Gabriel.

Is this code ok according to the latest LV2 specs? Is it a good candidate for
being an official example? Is there anything important to add/remove/change?

--
  Olivier
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-05 Thread Gabriel M. Beddingfield
On Tuesday, July 05, 2011 03:11:32 pm Olivier Guilyardi 
wrote:
 Is this code ok according to the latest LV2 specs? Is it
 a good candidate for being an official example? Is there
 anything important to add/remove/change?

It's up-to-date with 3.0.  I don't know about 4.0.

...and the C example used to *be* the official example.

-gabriel
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-05 Thread Olivier Guilyardi
On 07/05/2011 10:24 PM, Gabriel M. Beddingfield wrote:
 On Tuesday, July 05, 2011 03:11:32 pm Olivier Guilyardi 
 wrote:
 Is this code ok according to the latest LV2 specs? Is it
 a good candidate for being an official example? Is there
 anything important to add/remove/change?
 
 It's up-to-date with 3.0.  I don't know about 4.0.
 
 ...and the C example used to *be* the official example.

Okay, then, if it is still compliant, it would be nice to have it in there:
http://lv2plug.in/trac/browser/trunk

Also, I don't see the URL of the SVN repo mentioned anywhere on the website.
There's just a download link with tarballs.

--
  Olivier
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-05 Thread Gabriel M. Beddingfield
On Tuesday, July 05, 2011 03:34:15 pm Olivier Guilyardi 
wrote:
 Okay, then, if it is still compliant, it would be nice to
 have it in there: http://lv2plug.in/trac/browser/trunk

I sent an e-mail to the LV2 ML to see if anyone can find the 
old tutorial text.

 Also, I don't see the URL of the SVN repo mentioned
 anywhere on the website. There's just a download link
 with tarballs.

Because SVN is deprecated for everyone except the likes of 
drobilla.  Use the tarballs.

-gabriel
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-05 Thread David Robillard
On Tue, 2011-07-05 at 15:44 -0500, Gabriel M. Beddingfield wrote:
 On Tuesday, July 05, 2011 03:34:15 pm Olivier Guilyardi 
 wrote:
  Okay, then, if it is still compliant, it would be nice to
  have it in there: http://lv2plug.in/trac/browser/trunk
 
 I sent an e-mail to the LV2 ML to see if anyone can find the 
 old tutorial text.

Sorry, the hosting migration has been a bit rougher than expected.  I
have a dump of the entire Wiki, which will be restored soon.

That said, I agree with the original premise that well-documented
*examples* are what is most needed, by a long shot.  Tutorials and
other prosey things that aren't working examples and few people are
likely to bother with, not so much.

  Also, I don't see the URL of the SVN repo mentioned
  anywhere on the website. There's just a download link
  with tarballs.

Please sign up and modify the site as you see fit, the entire thing
(except of course generated docs and such) is a Wiki.

 Because SVN is deprecated for everyone except the likes of 
 drobilla.  Use the tarballs.

? I'm not sure what this is supposed to mean, but the entire point of
the SVN repository is to make it easy for others to contribute (and I am
not the only one with commit access, and many people track it).  Patches
against the repository are most welcome, and the best way to contribute
code that will be maintained at lv2plug.in.  All tarballs and
documentation and such are generated from it.  Appropriate contributions
(e.g. example plugins, extensions, documentation, tools) will be gladly
added.  Eventually I think it might be nice to do a big LV2 Universe
tarball release of everything in there, or something, but I am not sure
of the form this should take yet.  Regardless, the repository is
definitely where things should go.

-dr


___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-05 Thread Gabriel M. Beddingfield
On Tuesday, July 05, 2011 07:03:28 pm David Robillard wrote:
  Because SVN is deprecated for everyone except the likes
  of drobilla.  Use the tarballs.
 
 ? I'm not sure what this is supposed to mean, but the
 entire point of the SVN repository is to make it easy
 for others to contribute (and I am not the only one with
 commit access, and many people track it).  Patches

My bad.  I was just thinking don't install lv2core from 
SVN... use the tarball.

-gabriel
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Hello World in LV2

2011-07-05 Thread David Robillard
On Tue, 2011-07-05 at 19:23 -0500, Gabriel M. Beddingfield wrote:
 On Tuesday, July 05, 2011 07:03:28 pm David Robillard wrote:
   Because SVN is deprecated for everyone except the likes
   of drobilla.  Use the tarballs.
  
  ? I'm not sure what this is supposed to mean, but the
  entire point of the SVN repository is to make it easy
  for others to contribute (and I am not the only one with
  commit access, and many people track it).  Patches
 
 My bad.  I was just thinking don't install lv2core from 
 SVN... use the tarball.

Well, sure, it's a development repository, the usual disclaimers apply.
However, using the SVN version should never break anything, at least as
far as core is concerned (the unreleased extensions, however, may be
changed at any time)

-dr


___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev