[PlanetCCRMA] General processing ?

Steve Harris S.W.Harris@ecs.soton.ac.uk
Mon Jul 19 09:37:01 2004


On Mon, Jul 19, 2004 at 05:53:50PM +0200, Kjetil Svalastog Matheussen wrote:
> Everything went just fine. I used the lrdf logic in the source for 
> jack-rack to sort the ladspa plugins by type. The code is in the
> file ladspa.scm, and is activated by writing
> (load-from-path "snd_conffile.scm") in the terminal snd was started in,
> and then a ladspa menu will appear.
> 
> But I though lrdf also supported default values for the control port in 
> some way? I did not find out how to get that information. Perhaps that was
> just a wrong assumement of me?

You can - lrdf_get_defualt_uri() and lrdf_get_setting_uris() return the
URIs for the default values and setting (preset) objects respectivly,
you can get the numerical values with lrdf_get_setting_values(). Free the
results with lrdf_free_setting_values().

Sorry, this was never documented, the declarations are near the end of
lrdf.h, mail me if you have any questions. Theres crude example code in
examples/setting_test.c
 
> PS. Snd is unfortunately mostly written in C and not in lisp. :(
> (as I think Lisp is the superbest language there is). I think
> Bill said in an interview I read somewhere that he wrote Snd
> in C because at the time lisp wouldn't be fast enough or something.
> Today, it would be nice if as much as snd as possible where rewritten
> in lisp, which is my opinion.

Personally I much prefer C to lisp, but I dont want to get into that
argum^H^H^H^H^H discussion ;)

- Steve