[Cs-dev] Help with syntax
| Date | 2012-11-27 13:50 |
| From | jpff |
| 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 |
| Date | 2012-11-27 14:37 |
| From | Victor Lazzarini |
| Subject | Re: [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 |
| Date | 2012-11-27 14:39 |
| From | Victor Lazzarini |
| Subject | Re: [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 |
| Date | 2012-11-27 14:52 |
| From | jpff@cs.bath.ac.uk |
| Subject | Re: [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 |
| Date | 2012-11-27 14:56 |
| From | Victor Lazzarini |
| Subject | Re: [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 |
| Date | 2012-11-27 16:05 |
| From | jpff@cs.bath.ac.uk |
| Subject | Re: [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 |
| Date | 2012-11-27 17:57 |
| From | Steven Yi |
| Subject | Re: [Cs-dev] Help with syntax |
| Attachments | None 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.... |
| Date | 2012-11-27 18:11 |
| From | jpff@cs.bath.ac.uk |
| Subject | Re: [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= |
| Date | 2012-11-27 20:24 |
| From | Victor |
| Subject | Re: [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= |