[CM] New ladspa script

Kjetil S. Matheussen k.s.matheussen@notam02.no
Wed, 6 Aug 2003 10:52:38 +0200 (MEST)


I have updated the ladspa script. Please replace the old
ladspa.scm file with the new one.

http://www.notam02.no/arkiv/src/snd/ladspa2.scm

A screen-shot of snd running two vst plugins in realtime:
http://www.notam02.no/arkiv/src/snd/snd-ladspa.png


;; ladspa.scm -> ladspa2.scm:
;; -Making heavy use of the new ladspa-functions in snd 6.11.
;; -Realtime preview works perfectly. Seems to at least.
;; -Many plugins can be previewed at the same time.
;; -Previewing is automaticly looped.
;; -The plugins with more than one input or output audio port work.
;; -The default values are based on ladspa hints.
;; -Toggle ports uses toggle buttons instead of sliders.
;; -Integer ports uses integer sliders instead of float sliders.
;; -Initialisation is probably faster.
;; -Added the hour-glass progress reporter when applying.
;;
;; Problems:
;; -Snd segfaults when trying to exit snd while previewing.
;; -The channels might have been switched after applying.
;; -The Model-E vst plugin have no less than 513 input control ports,
;;  and makes the script stop because snd is out of stack. There might
;;  be something wrong with the script. Don't know scheme too well.
;; -Applying plugins seems to take quite a long time. The apply! function
;;  should perhaps be optimized a bit. (Haven't run benchmark)
;; -Dialogs with many input control ports should be wider an shorter.
;;  (there is one with 513 input control ports! :)
;; -In some resize-positions, some widgets becomes invisible.
;; -Realtime preview wont work if number of frames sent to the
;;  dac-hook is more than 8192. (minor problem probably, and is solved
;;  by increasing "maxbuf" in the script to something larger than 8192).



--