but the error is on the line

    select-sound(insound);

where insound is defined by:

(let ((insound (open-sound fullfilename)))

If I do
    select-sound(0);

I get the same result: misc-error: (#f Wrong type to apply: ~S ((0)) #f)

The doc for select-sound says it takes an index.... have I overlooked
something ?

Etienne


On 6/15/07, Bill Schottstaedt <[EMAIL PROTECTED]> wrote:
> (display (format #f "Currently selected Sound is ~D \n" (selected-sound)))

selected-sound returns #f if there is no selected sound.  The ~D format
directive wants an integer.  So, use ~A instead.


On Ladspa, the plugin tells Snd how many inputs and outputs it wants,
and it handles the rest.  I could add the usual "snd chn edpos" args to
apply-ladspa -- or maybe use a different name like ladspa-channel.
Seems late in the game to add anything -- isn't ladspa in its current
incarnation dead?



_______________________________________________
Cmdist mailing list
[email protected]
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to