Csound Csound-dev Csound-tekno Search About

[Cs-dev] Help with syntax

Date2012-11-27 13:50
Fromjpff
Subject[Cs-dev] Help with syntax
I have a .csd file that with the new parser say FLpanel is not an
opcode.  It seems that SuSE provide fltk 1.3 which does not seem to be
acceptable to Csound, but fltk1.7 does not compile -- invalid
conversion in filename_list.cxx

How can I get fltk to compile?  or why does csound not accept 1.3?

==John ffitch

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-11-27 14:37
FromVictor Lazzarini
SubjectRe: [Cs-dev] Help with syntax
Did you try a release candidate?
On 27 Nov 2012, at 13:50, jpff wrote:

> I have a .csd file that with the new parser say FLpanel is not an
> opcode.  It seems that SuSE provide fltk 1.3 which does not seem to be
> acceptable to Csound, but fltk1.7 does not compile -- invalid
> conversion in filename_list.cxx
> 
> How can I get fltk to compile?  or why does csound not accept 1.3?
> 
> ==John ffitch
> 
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-11-27 14:39
FromVictor Lazzarini
SubjectRe: [Cs-dev] Help with syntax
On OSX, we have 1.3 and Csound accepts it.
On 27 Nov 2012, at 13:50, jpff wrote:

> I have a .csd file that with the new parser say FLpanel is not an
> opcode.  It seems that SuSE provide fltk 1.3 which does not seem to be
> acceptable to Csound, but fltk1.7 does not compile -- invalid
> conversion in filename_list.cxx
> 
> How can I get fltk to compile?  or why does csound not accept 1.3?
> 
> ==John ffitch
> 
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-11-27 14:52
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Help with syntax
It looks as if I was looking in the wrong place.  It was the dreaded
environmnet parameters.  Not set properly on the desktop but OK on laptop.

Now stuck on input and pitput channel cpuld differing.  I though nchnls_i
overode the equality but it is not.  I hae a 10 channel input and stereo
put.

Suppose I could use diskin2....

But why has nchnls_i stopped working?

I was trying to lash up a prototype system to show, but it is taking too
long.

==John



> On OSX, we have 1.3 and Csound accepts it.
> On 27 Nov 2012, at 13:50, jpff wrote:
>
>> I have a .csd file that with the new parser say FLpanel is not an
>> opcode.  It seems that SuSE provide fltk 1.3 which does not seem to be
>> acceptable to Csound, but fltk1.7 does not compile -- invalid
>> conversion in filename_list.cxx
>>
>> How can I get fltk to compile?  or why does csound not accept 1.3?
>>
>> ==John ffitch
>>
>> ------------------------------------------------------------------------------
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-11-27 14:56
FromVictor Lazzarini
SubjectRe: [Cs-dev] Help with syntax
This is news to me. It appears to still be working here.
On 27 Nov 2012, at 14:52, jpff@cs.bath.ac.uk wrote:

> But why has nchnls_i stopped working?

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-11-27 16:05
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Help with syntax
It works with the old parser, but with the new....

	nchnls	=	2
        nchnls_i =      10

instr 3
   aa     inch 3
   kamp   = ampdbfs(gk8)
   kpos   = gk18
   al,ar  pan2 aa*kamp, kpos
          out  al,ar
endin

with new parser


Input channel 3 too large (2); ignored

many many times



> This is news to me. It appears to still be working here.
> On 27 Nov 2012, at 14:52, jpff@cs.bath.ac.uk wrote:
>
>> But why has nchnls_i stopped working?
>



------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-11-27 17:57
FromSteven Yi
SubjectRe: [Cs-dev] Help with syntax
AttachmentsNone  None  

Is that cs5 or cs6?

On Nov 27, 2012 4:06 PM, <jpff@cs.bath.ac.uk> wrote:
It works with the old parser, but with the new....

        nchnls  =       2
        nchnls_i =      10

instr 3
   aa     inch 3
   kamp   = ampdbfs(gk8)
   kpos   = gk18
   al,ar  pan2 aa*kamp, kpos
          out  al,ar
endin

with new parser


Input channel 3 too large (2); ignored

many many times



> This is news to me. It appears to still be working here.
> On 27 Nov 2012, at 14:52, jpff@cs.bath.ac.uk wrote:
>
>> But why has nchnls_i stopped working?
>



------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2012-11-27 18:11
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] Help with syntax
> Is that cs5 or cs6?

cs5

I have another oddity; I have a panel with lots of sliders.  They all work
except the first, which causes seg fault if used, and despite being
initialised to 0.5 jumps to 1 (in [0,1]) when I touch anything.  Code
below: but the Organ slider starts at 1, all other OK.  All other sliders
work but any use of Organ and I get segmentation fault in
Fl_Input_::static_value

          FLpanel   "mixing", 500, 1000
gk1, gih1 FLslider  "Organ",   0, 1, 0, 5, 0, 300, -1, 20, 50
gk2, gih2 FLslider  "Bass",    0, 1, 0, 5, 0, 300, -1, 20, 100
...
           FLpanelEnd

           FLsetVal_i 0.5, gih1
           FLsetVal_i 0.5, gih2
....
           FLrun

instr 1
   aa inch 1
   al,ar  pan2 aa*gk1, gk11
   galeft = galeft + al
   garight = garight + ar
endin


(gdb) where
#0  0x00007fffef89bdf3 in Fl_Input_::static_value(char const*, int) ()
   from /usr/lib64/libfltk.so.1.3
#1  0x00007fffef89bf48 in Fl_Input_::value(char const*, int) ()
   from /usr/lib64/libfltk.so.1.3
#2  0x00007fffefb6894f in displ (csound=0x839410, index=,
    val=) at InOut/widgets.cpp:2144
#3  displ (csound=0x839410, index=, val=)
    at InOut/widgets.cpp:2243
#4  fl_callbackLinearSlider (w=, a=)
    at InOut/widgets.cpp:2246
#5  0x00007fffef8c8f60 in Fl_Widget::do_callback(Fl_Widget*, void*) ()
   from /usr/lib64/libfltk.so.1.3
#6  0x00007fffef8b31e4 in Fl_Slider::handle(int, int, int, int, int) ()
   from /usr/lib64/libfltk.so.1.3
#7  0x00007fffef88d8e1 in Fl_Group::handle(int) ()
   from /usr/lib64/libfltk.so.1.3
#8  0x00007fffef878e95 in ?? () from /usr/lib64/libfltk.so.1.3
#9  0x00007fffef879e85 in Fl::handle_(int, Fl_Window*) ()
   from /usr/lib64/libfltk.so.1.3
#10 0x00007fffef8cddf2 in fl_handle(_XEvent const&) ()
   from /usr/lib64/libfltk.so.1.3
#11 0x00007fffef8cf393 in ?? () from /usr/lib64/libfltk.so.1.3
#12 0x00007fffef8cf850 in fl_wait(double) () from /usr/lib64/libfltk.so.1.3
#13 0x00007fffef87ac99 in Fl::wait(double) () from /usr/lib64/libfltk.so.1.3
#14 0x00007fffefb638c4 in Fl_wait_locked (seconds=0, csound=)
    at InOut/winFLTK.h:106
#15 CsoundYield_FLTK (csound=) at InOut/FL_graph.cpp:312
#16 0x000000000040c364 in csoundYield (csound=0x839410) at Top/csound.c:2647
#17 0x000000000040d0c4 in kperf (csound=0x839410, csound@entry=0x86fdd8)
    at Top/csound.c:1519
#


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-11-27 20:24
FromVictor
SubjectRe: [Cs-dev] Help with syntax
Can you give us a full csd so we can test here? Looks like a FLTK bug.

Victor
On 27 Nov 2012, at 18:11, jpff@cs.bath.ac.uk wrote:

>> Is that cs5 or cs6?
> 
> cs5
> 
> I have another oddity; I have a panel with lots of sliders.  They all work
> except the first, which causes seg fault if used, and despite being
> initialised to 0.5 jumps to 1 (in [0,1]) when I touch anything.  Code
> below: but the Organ slider starts at 1, all other OK.  All other sliders
> work but any use of Organ and I get segmentation fault in
> Fl_Input_::static_value
> 
>          FLpanel   "mixing", 500, 1000
> gk1, gih1 FLslider  "Organ",   0, 1, 0, 5, 0, 300, -1, 20, 50
> gk2, gih2 FLslider  "Bass",    0, 1, 0, 5, 0, 300, -1, 20, 100
> ...
>           FLpanelEnd
> 
>           FLsetVal_i 0.5, gih1
>           FLsetVal_i 0.5, gih2
> ....
>           FLrun
> 
> instr 1
>   aa inch 1
>   al,ar  pan2 aa*gk1, gk11
>   galeft = galeft + al
>   garight = garight + ar
> endin
> 
> 
> (gdb) where
> #0  0x00007fffef89bdf3 in Fl_Input_::static_value(char const*, int) ()
>   from /usr/lib64/libfltk.so.1.3
> #1  0x00007fffef89bf48 in Fl_Input_::value(char const*, int) ()
>   from /usr/lib64/libfltk.so.1.3
> #2  0x00007fffefb6894f in displ (csound=0x839410, index=,
>    val=) at InOut/widgets.cpp:2144
> #3  displ (csound=0x839410, index=, val=)
>    at InOut/widgets.cpp:2243
> #4  fl_callbackLinearSlider (w=, a=)
>    at InOut/widgets.cpp:2246
> #5  0x00007fffef8c8f60 in Fl_Widget::do_callback(Fl_Widget*, void*) ()
>   from /usr/lib64/libfltk.so.1.3
> #6  0x00007fffef8b31e4 in Fl_Slider::handle(int, int, int, int, int) ()
>   from /usr/lib64/libfltk.so.1.3
> #7  0x00007fffef88d8e1 in Fl_Group::handle(int) ()
>   from /usr/lib64/libfltk.so.1.3
> #8  0x00007fffef878e95 in ?? () from /usr/lib64/libfltk.so.1.3
> #9  0x00007fffef879e85 in Fl::handle_(int, Fl_Window*) ()
>   from /usr/lib64/libfltk.so.1.3
> #10 0x00007fffef8cddf2 in fl_handle(_XEvent const&) ()
>   from /usr/lib64/libfltk.so.1.3
> #11 0x00007fffef8cf393 in ?? () from /usr/lib64/libfltk.so.1.3
> #12 0x00007fffef8cf850 in fl_wait(double) () from /usr/lib64/libfltk.so.1.3
> #13 0x00007fffef87ac99 in Fl::wait(double) () from /usr/lib64/libfltk.so.1.3
> #14 0x00007fffefb638c4 in Fl_wait_locked (seconds=0, csound=)
>    at InOut/winFLTK.h:106
> #15 CsoundYield_FLTK (csound=) at InOut/FL_graph.cpp:312
> #16 0x000000000040c364 in csoundYield (csound=0x839410) at Top/csound.c:2647
> #17 0x000000000040d0c4 in kperf (csound=0x839410, csound@entry=0x86fdd8)
>    at Top/csound.c:1519
> #
> 
> 
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
DESIGN Expert tips on starting your parallel project right.
http://goparallel.sourceforge.net
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net