hello everyone,
I've stumbled upon a strange error while trying to use LADSPA plugins.
When I try to dynamically load an LADSPA plugin within a script I get this:
Line 56, char 1: Unknown error!
Fatal error: exception Ladspa.Plugin.Not_a_plugin
Raised at file "list.ml", line 0, characters 0-0
Here's the relevant part of the library script:
#Single band limiter + exciter - CPU friendly
def light(source) =
%ifdef ladspa.fastlookaheadlimiter
source =
ladspa.fastlookaheadlimiter(input_gain=5.,limit=-1.,release_time=0.1,
source)
%endif
%ifdef ladspa.tap_tubewarmth
source = ladspa.tap_tubewarmth(drive=3.333333, source)
%endif
%ifdef ladspa.dj_eq
source =
ladspa.dj_eq(lo_gain=0.,mid_gain=-4.5,hi_gain=0.5, source)
%endif
source
end
If I comment out (all) the plugins then the script loads, as expected.
Those same LADSPA libraries are shared with other applications and they
indeed work. The permissions are correctly set, and the LIQ_LADSPA_PATH
env. variable is even configured.
I can successfully check their parameters via:
/usr/local/bin/liquidsoap -h ladspa.fastlookaheadlimiter | more
That's odd.
I guess that must be a scripting mistake I made however, since line 56
doesn't match the call to the plugins and lands on comments.
this function is called somewhere in a long chain of processing:
request.create or input.harbour or playlist -> (...) -> LADSPA ->
icecast.output
What's really, really weird is that:
/usr/local/bin/liquidsoap -c "out(
ladspa.fastlookaheadlimiter(input_gain=5.,limit=-0.3,release_time=0.1,
sine() ) )"
works
Liquidsoap may be confused in some way by the convoluted path taken by
the source to reach this function. But I repeat if I comment out the
call to the LADSPA plugins and leave the light() function as an empty
shell that just returns the source it works.
Liquidsoap version is 1.0 final (the sourceforge tarball.)
The full libraries are here:
http://java.net/projects/shampoo/sources/source-code-repository/show/Liquidsoap?rev=116
The LADSPA function is located in 2shampoo_lib.liq
Does anyone use LADSPA plugins?
--
best regards,
okay_awright
<okay_awright AT ddcr DOT biz>
[PGP key on request]
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users