S. Massy | 3 Oct 23:10 2011
Picon

Re: LV2 Plugin Support

Hello,

Let us know when you're ready for some alpha testing. I'm sure some of
us would be glad to help.

Cheers,
S.M.

--

-- 

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Jeremy Salwen | 4 Oct 03:47 2011
Picon

Re: LV2 Plugin Support

Hi,

Thanks for this email...Otherwise the code probably would have sat around forever while I contemplated it.

Basically, I wrote up a preliminary draft of the code, but then I started to run into issues with how I wanted to use lilvmm.  I thought that there could be a nicer way to wrap the lilv library in C++ objects than is currently done (and I still believe so today).  I started writing up a draft of my would-be nicer C++ wrapper, but in hindsight, I realize that this is probably not going to work out for ecasound, 1) because it requires unique_ptr, which is provided by Boost or C++0x, neither of which you probably want brought into the ecasound codebase. 2) It would still take a bit more work and testing to make it ready for prime time.

So basically, having a shock to my system was enough to make me realize that I should give up what I was doing (at least temporarily), and implement LV2 support with manual memory management.

At this point, a major bug in lilvmm makes it so that it will only link if I make a modification to a library header... But once I think the basic functionality is working, I'll release an alpha version.

Jeremy

On Mon, Oct 3, 2011 at 5:10 PM, S. Massy <lists <at> wolfdream.ca> wrote:
Hello,

Let us know when you're ready for some alpha testing. I'm sure some of
us would be glad to help.

Cheers,
S.M.

--

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Jeremy Salwen | 4 Oct 04:49 2011
Picon

Re: LV2 Plugin Support

Okay, so I did a little more work on it.  now trying to test it out.  Unfortunately, the git version of ecasound (before I make any changes to it) is giving me...

$ echo "ladspa-register" | ecasound -c
********************************************************************************
*        ecasound v2.8.1+dev (C) 1997-2011 Kai Vehmanen and others   
********************************************************************************
(eca-chainsetup) Chainsetup "untitled-chainsetup"
(eca-session) NOTE: Unable to create a valid chainsetup from the command-line arguments.
ecasound ('h' for help)> (eca-control) Registered LADSPA plugins:

ecasound ('h' for help)> ecasound ('h' for help)> ---
ecasound: Exiting...


Whereas the Debian package will list all the LADSPA plugins installed on my system with the same command.  So at this point, I am a bit troubled as to how I can test my LV2 support, as I have nothing to compare it to.

If anyone is interested in seeing what the problem is, I have put up a git repository of my work: https://github.com/jeremysalwen/Ecasound-LV2 the branch "master" is just the current ecasound branch.  The branch "LV2" is the one I did work on.

You still need to modify lilvmm.hpp if you want it to compile.  Just change

    const char* uri_to_path(const char* uri) { ...

to

    static const char* uri_to_path(const char* uri) {...

wherever it is installed in your system.

Also, any help with understanding why ecasound won't list the LADSPA plugins when I build it from source would be great.  (As a note, I get this error system installed ladspa.h, or the one bundled with ecasound)

Jeremy


On Mon, Oct 3, 2011 at 9:47 PM, Jeremy Salwen <jeremysalwen <at> gmail.com> wrote:
Hi,

Thanks for this email...Otherwise the code probably would have sat around forever while I contemplated it.

Basically, I wrote up a preliminary draft of the code, but then I started to run into issues with how I wanted to use lilvmm.  I thought that there could be a nicer way to wrap the lilv library in C++ objects than is currently done (and I still believe so today).  I started writing up a draft of my would-be nicer C++ wrapper, but in hindsight, I realize that this is probably not going to work out for ecasound, 1) because it requires unique_ptr, which is provided by Boost or C++0x, neither of which you probably want brought into the ecasound codebase. 2) It would still take a bit more work and testing to make it ready for prime time.

So basically, having a shock to my system was enough to make me realize that I should give up what I was doing (at least temporarily), and implement LV2 support with manual memory management.

At this point, a major bug in lilvmm makes it so that it will only link if I make a modification to a library header... But once I think the basic functionality is working, I'll release an alpha version.

Jeremy


On Mon, Oct 3, 2011 at 5:10 PM, S. Massy <lists <at> wolfdream.ca> wrote:
Hello,

Let us know when you're ready for some alpha testing. I'm sure some of
us would be glad to help.

Cheers,
S.M.

--


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Jeremy Salwen | 4 Oct 10:53 2011
Picon

Re: LV2 Plugin Support

Big heads up:

1. I do not expect it to compiled without a patched lilvmm.hpp.
2. I do not expect it to work without debugging (i.e. I wrote all the code I believe is necessary, but I would be highly surprised if it works out of the box).

I mainly posted the code so someone else could help me point out where I was going wrong in debugging it (i.e. why I can't get any version I compile to successfully list LADSPA plugins).

If you are interested in troubleshooting my problems debugging it, that would be welcome.  But I would suggest that "testing" in the usual sense is not possible yet.

Jeremy

On Tue, Oct 4, 2011 at 4:36 AM, Julien Claassen <julien <at> mail.upb.de> wrote:
Hello Jeremy!
 Thanks for letting us know. and I certainly wouldn't mind a dependency on boost. I don't know how Kai would feel about it, but I also found Boost to be a very helpful collection of libraries. In any case, I'll try to test it tonight.
 Warm regards

            Julien

=-=-=-=-=-=-=-=-=-=-=-=-
Such Is Life: Very Intensely Adorable;
Frightening Absence Just Arriving, Reigns Disappeared, Ornate - flowers!

======      Find my music at      ======
http://juliencoder.de/nama/music.html
.....................................
"If you live to be 100, I hope I live to be 100 minus 1 day,
so I never have to live without you." (Winnie the Pooh)

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
S. Massy | 4 Oct 20:11 2011
Picon

Re: LV2 Plugin Support

On Mon, Oct 03, 2011 at 10:49:29PM -0400, Jeremy Salwen wrote:
> Okay, so I did a little more work on it.  now trying to test it out.
> Unfortunately, the git version of ecasound (before I make any changes to it)
> is giving me...
Quick check... Do you have the LADSPA_PATH environment variable set to
something sane?

Cheers,
S.M.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Jeremy Salwen | 4 Oct 21:18 2011
Picon

Re: LV2 Plugin Support

LADSPA_PATH is not set at all.  However, the prebuilt version of ecasound works fine without and LADSPA_PATH set.

On Tue, Oct 4, 2011 at 2:11 PM, S. Massy <lists <at> wolfdream.ca> wrote:
On Mon, Oct 03, 2011 at 10:49:29PM -0400, Jeremy Salwen wrote:
> Okay, so I did a little more work on it.  now trying to test it out.
> Unfortunately, the git version of ecasound (before I make any changes to it)
> is giving me...
Quick check... Do you have the LADSPA_PATH environment variable set to
something sane?

Cheers,
S.M.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Jeremy Salwen | 4 Oct 21:18 2011
Picon

Re: LV2 Plugin Support

I have tried using the master git branch.  It does not work even if I install it to /usr.  That is precisely my problem, that prebuilt binaries work, but If I compile myself, it doesn't.

On Tue, Oct 4, 2011 at 6:50 AM, Julien Claassen <julien <at> mail.upb.de> wrote:
Hello Jeremy!
 Unfortunately I can't post to the list at the moment, I have to subscribe withmy new address. :-(
 I had an idea about the ladspa problem. I'm not sure, if your self compiled Ecasound sees the correct LADSPA path, so maybe it just looks in /usr/lib/ladspa and not in /usr/local/lib/ladspa. I think I once had that problem. Does ti work if you compile Ecasound's master branch yourself?
 Warm regards
           Julien
P.S.: Perhaps you could mirror this post to the Ecasound list for the moment. I'm rather in a hurry, but tonight I shall go and fix it.


=-=-=-=-=-=-=-=-=-=-=-=-
Such Is Life: Very Intensely Adorable;
Frightening Absence Just Arriving, Reigns Disappeared, Ornate - flowers!

======      Find my music at      ======
http://juliencoder.de/nama/music.html
.....................................
"If you live to be 100, I hope I live to be 100 minus 1 day,
so I never have to live without you." (Winnie the Pooh)

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
S. Massy | 4 Oct 21:34 2011
Picon

Re: LV2 Plugin Support

On Tue, Oct 04, 2011 at 03:18:31PM -0400, Jeremy Salwen wrote:
> I have tried using the master git branch.  It does not work even if I
> install it to /usr.  That is precisely my problem, that prebuilt binaries
> work, but If I compile myself, it doesn't.
I'll give your tree a go later today. My self compiled version of
ecasound works with ladspa fine, so long as LADSPA_PATH is set.

> 
> On Tue, Oct 4, 2011 at 6:50 AM, Julien Claassen <julien <at> mail.upb.de> wrote:
> 
> > Hello Jeremy!
> >  Unfortunately I can't post to the list at the moment, I have to subscribe
> > withmy new address. :-(
> >  I had an idea about the ladspa problem. I'm not sure, if your self
> > compiled Ecasound sees the correct LADSPA path, so maybe it just looks in
> > /usr/lib/ladspa and not in /usr/local/lib/ladspa. I think I once had that
> > problem. Does ti work if you compile Ecasound's master branch yourself?
> >  Warm regards
> >            Julien
> > P.S.: Perhaps you could mirror this post to the Ecasound list for the
> > moment. I'm rather in a hurry, but tonight I shall go and fix it.
> >
> >
> > =-=-=-=-=-=-=-=-=-=-=-=-
> > Such Is Life: Very Intensely Adorable;
> > Frightening Absence Just Arriving, Reigns Disappeared, Ornate - flowers!
> >
> > ======      Find my music at      ======
> > http://juliencoder.de/nama/music.html
> > .....................................
> > "If you live to be 100, I hope I live to be 100 minus 1 day,
> > so I never have to live without you." (Winnie the Pooh)
> >

--

-- 

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

S. Massy | 5 Oct 03:35 2011
Picon

Re: LV2 Plugin Support

Hello,

The git tree compiles fine, well master does. With LADSPA_PATH
undefined, I see the same behaviour you described, with it set, it works
fine.

BTW, the LV2 branch won't compile, due to the absence of audiofx_lv2.h.

Cheers,
S.M.

On Tue, Oct 04, 2011 at 03:18:31PM -0400, Jeremy Salwen wrote:
> I have tried using the master git branch.  It does not work even if I
> install it to /usr.  That is precisely my problem, that prebuilt binaries
> work, but If I compile myself, it doesn't.
> 
> On Tue, Oct 4, 2011 at 6:50 AM, Julien Claassen <julien <at> mail.upb.de> wrote:
> 
> > Hello Jeremy!
> >  Unfortunately I can't post to the list at the moment, I have to subscribe
> > withmy new address. :-(
> >  I had an idea about the ladspa problem. I'm not sure, if your self
> > compiled Ecasound sees the correct LADSPA path, so maybe it just looks in
> > /usr/lib/ladspa and not in /usr/local/lib/ladspa. I think I once had that
> > problem. Does ti work if you compile Ecasound's master branch yourself?
> >  Warm regards
> >            Julien
> > P.S.: Perhaps you could mirror this post to the Ecasound list for the
> > moment. I'm rather in a hurry, but tonight I shall go and fix it.
> >
> >
> > =-=-=-=-=-=-=-=-=-=-=-=-
> > Such Is Life: Very Intensely Adorable;
> > Frightening Absence Just Arriving, Reigns Disappeared, Ornate - flowers!
> >
> > ======      Find my music at      ======
> > http://juliencoder.de/nama/music.html
> > .....................................
> > "If you live to be 100, I hope I live to be 100 minus 1 day,
> > so I never have to live without you." (Winnie the Pooh)
> >

--

-- 

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Jeremy Salwen | 5 Oct 20:24 2011
Picon

Re: LV2 Plugin Support

Hmm, so fiddling around with random things, I suddenly find ladspa-register working for me from the git branch.  I will upload the missing LV2 files and begin testing immediately.

Jeremy

On Tue, Oct 4, 2011 at 9:35 PM, S. Massy <lists <at> wolfdream.ca> wrote:
Hello,

The git tree compiles fine, well master does. With LADSPA_PATH
undefined, I see the same behaviour you described, with it set, it works
fine.

BTW, the LV2 branch won't compile, due to the absence of audiofx_lv2.h.

Cheers,
S.M.


On Tue, Oct 04, 2011 at 03:18:31PM -0400, Jeremy Salwen wrote:
> I have tried using the master git branch.  It does not work even if I
> install it to /usr.  That is precisely my problem, that prebuilt binaries
> work, but If I compile myself, it doesn't.
>
> On Tue, Oct 4, 2011 at 6:50 AM, Julien Claassen <julien <at> mail.upb.de> wrote:
>
> > Hello Jeremy!
> >  Unfortunately I can't post to the list at the moment, I have to subscribe
> > withmy new address. :-(
> >  I had an idea about the ladspa problem. I'm not sure, if your self
> > compiled Ecasound sees the correct LADSPA path, so maybe it just looks in
> > /usr/lib/ladspa and not in /usr/local/lib/ladspa. I think I once had that
> > problem. Does ti work if you compile Ecasound's master branch yourself?
> >  Warm regards
> >            Julien
> > P.S.: Perhaps you could mirror this post to the Ecasound list for the
> > moment. I'm rather in a hurry, but tonight I shall go and fix it.
> >
> >
> > =-=-=-=-=-=-=-=-=-=-=-=-
> > Such Is Life: Very Intensely Adorable;
> > Frightening Absence Just Arriving, Reigns Disappeared, Ornate - flowers!
> >
> > ======      Find my music at      ======
> > http://juliencoder.de/nama/music.html
> > .....................................
> > "If you live to be 100, I hope I live to be 100 minus 1 day,
> > so I never have to live without you." (Winnie the Pooh)
> >

--

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Gmane