Csound Csound-dev Csound-tekno Search About

[Csnd] csound segfaulting with the vco ladspa plugin (fwd)

Date2012-03-10 22:30
FromJulien Claassen
Subject[Csnd] csound segfaulting with the vco ladspa plugin (fwd)
Hello everyone!
   I've been experimenting some with Fons' vco_pulse.so or blvco.so. Both have 
the same plugins and I've tried both, but it realiably segfaults, without any 
warning. There's nothing untoward in the messages, even with debugging for 
dssiinit turned on. Has anyone else experienced that?
   My csound version is 5.13 (beta) with with libsndfile 1.0.24-exp. It's 
self-compiled. I've checked the example from the manual using the g2reverb.so 
and that works.
   Here's my minimal orchestra file:

sr = 44100 ; samplerate
kr = 4410 ; controller rate
ksmps = 10 ; sr/kr
nchnls = 2 ; number of channels i.e. stereo

gihandle dssiinit "blvco.so", 2, 1 ; init plugin 2 from blvco.so
          ; also turn on verbose mode

instr act ; instrument for plugin activation (this always needs to be done!)
 	dssiactivate gihandle, 1
endin

instr 1 ; instrument for the work
 	afreq init 200 ; set up an audio signal for frequency control, this 
must be
 	      ; an audio signal, this is set to 200 statically
 	a0 init 0 ; have an audio signal just saying 0
 	a1 init 1 ; have an audio signal fixed at 1
 	; set all teh control ports (we first have 5 audio inputs starting at 
0)
 	; the last parameter tells us to set this value immediately
 	dssictls gihandle, 5, 0, 1 ; octave
 	dssictls gihandle, 6, 0, 1 ; tune
 	dssictls gihandle, 7, 0, 1 ; exp FM
 	dssictls gihandle, 8, 0, 1 ; lin FM
 	dssictls gihandle, 9, 0, 1 ; wave form
 	dssictls gihandle, 10, 0, 1 ; form mode
 	dssictls gihandle, 11, 1, 1 ; lp filter
 	aout dssiaudio gihandle, afreq, a1, a0, a0, a0 ; create audio output
 	     ; all the a0's are for the remaining audio inputs
 	outs aout, aout ; output the stereo signal
endin

   The score file would be:
i "act" 0 2 ; initialise the plugin
i1 1 3 ; get some audio output
e ; finish score

   Any ideas? Is it perhaps repeatable?
   Warm regards and thanks
          Julien

=-=-=-=-=-=-=-=-=-=-=-=-
Such Is Life: Very Intensely Adorable;
Free And Jubilating Amazement Revels, Dancing On - 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)
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Date2012-03-10 23:02
FromTito Latini
SubjectRe: [Csnd] csound segfaulting with the vco ladspa plugin (fwd)
AttachmentsNone  

Date2012-03-10 23:11
FromJulien Claassen
SubjectRe: [Csnd] csound segfaulting with the vco ladspa plugin (fwd)
Hi Tito!
   Thank you!
   Til tomorrow :-)
            Julien

=-=-=-=-=-=-=-=-=-=-=-=-
Such Is Life: Very Intensely Adorable;
Free And Jubilating Amazement Revels, Dancing On - 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)

Date2012-03-11 11:37
FromTito Latini
SubjectRe: [Csnd] csound segfaulting with the vco ladspa plugin (fwd)
AttachmentsNone  

Date2012-03-11 12:21
FromJulien Claassen
SubjectRe: [Csnd] csound segfaulting with the vco ladspa plugin (fwd)
Morning Tito!
   Thanks very much for this!
   Warm regards
           Julien

=-=-=-=-=-=-=-=-=-=-=-=-
Such Is Life: Very Intensely Adorable;
Free And Jubilating Amazement Revels, Dancing On - 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)

Date2012-03-11 18:06
FromJulien Claassen
SubjectRe: [Csnd] csound segfaulting with the vco ladspa plugin (fwd)
Hi again Tito!
   I had some time to test it now and play with it. Thanks awefully, it runs 
very smoothly. thanks also for inspring me to download the latest csound 
version, it seems to run quite a bit faster than the 5.13beta, though that 
might be due to my finally being able to choose multicore options. :-)
   oscillatingly yours
            Julien

=-=-=-=-=-=-=-=-=-=-=-=-
Such Is Life: Very Intensely Adorable;
Free And Jubilating Amazement Revels, Dancing On - 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)

Date2012-03-11 18:15
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] csound segfaulting with the vco ladspa plugin (fwd)
Julien

It is faster even without multicore.  We finally got the new parser
generating better code

==John

> Hi again Tito!
>    I had some time to test it now and play with it. Thanks awefully, it
> runs
> very smoothly. thanks also for inspring me to download the latest csound
> version, it seems to run quite a bit faster than the 5.13beta, though that
> might be due to my finally being able to choose multicore options. :-)
>    oscillatingly yours
>             Julien
>
> =-=-=-=-=-=-=-=-=-=-=-=-
> Such Is Life: Very Intensely Adorable;
> Free And Jubilating Amazement Revels, Dancing On - 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)
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>



Date2012-03-11 18:25
FromTito Latini
SubjectRe: [Csnd] csound segfaulting with the vco ladspa plugin (fwd)
AttachmentsNone  

Date2012-03-11 19:14
FromJulien Claassen
SubjectRe: [Csnd] csound segfaulting with the vco ladspa plugin (fwd)
Hi John!
   That's wonderful to hear. But I'd like to ask something more about the new 
parser. In another mail though. :-)
   Warmly yours
           Julien

=-=-=-=-=-=-=-=-=-=-=-=-
Such Is Life: Very Intensely Adorable;
Free And Jubilating Amazement Revels, Dancing On - 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)