Csound Csound-dev Csound-tekno Search About

[Csnd] FLpack

Date2009-12-22 11:44
FromEnrico Francioni
Subject[Csnd] FLpack

Hello everyone,

a question about FLpack.
Why with Csound5GUI and Csound 5.10 (hardware / software:
mac-ppc-powerbook-10.4.11-tiger) the fltk
Flpack not working?

If I omit the last 3 arguments this command instead produces a result.

But this result is not what you expect ...

Here's the code:





sr	        =	44100
kr	        =	441
ksmps	=	100
nchnls	=	1


ipanelheight 	= 800	
ipanelwidth 	= 800	
ix 		        = 1 	
iy 		        = 1	
iborder		= 0	

FLpanel "PACK", ipanelheight, ipanelwidth, ix, iy, iborder


iwidth	=	400	
iheight	=	300	
ixpk		=	40	
iypk		=	40 	
itype		=	0	
ispace	=	0	
iborderpk	=	0	


	        FLpack	iwidth, iheight, ixpk, iypk, itype, ispace, iborderpk

;		FLslider 	"label", 	imin,	imax, iexp, 	itype,	idisp,	iwidth, iheight,ix, 
iy

gk1,ihs1        FLslider        "FLslider 1", 	500,	1000, 0,	1,	-1,	300,	15, 
20,	50
gk2,ihs2        FLslider        "FLslider 2", 	300,	5000, 0,	3,	-1,	300,	15, 
20,	100
gk3,ihs3        FLslider        "FLslider 3", 	350,	1000, 0,	5,	-1,	300,	15, 
20,	150
gk4,ihs4        FLslider        "FLslider 4", 	250,	5000, 0,	11,	-1,	300,
30, 	20,	200
gk5,ihs5        FLslider        "FLslider 5", 	220,	8000, 0,	1,	-1,	300,	15, 
20,	250
gk6,ihs6        FLslider        "FLslider 6", 	1,   	5000, 0,	13,	-1,	300,
15, 	20,	300
gk7,ihs7        FLslider        "FLslider 7", 	870, 	5000, 0,	15,	-1,	300,
30, 	20,	350
	
	FLpack_end
  
	FLrun


instr 1

endin




f0	86400	;one day performance
i1	0	86400
e







Thanks

e

Date2009-12-26 11:24
FromEnrico Francioni
Subject[Csnd] Re: FLpack


... Not use any more the fltk?

Merry Christmas

e




Enrico Francioni wrote:
> 
> Hello everyone,
> 
> a question about FLpack.
> Why with Csound5GUI and Csound 5.10 (hardware / software:
> mac-ppc-powerbook-10.4.11-tiger) the fltk
> Flpack not working?
> 
> If I omit the last 3 arguments this command instead produces a result.
> 
> But this result is not what you expect ...
> 
> Here's the code:
> 
> 
> 
> 
> 
> sr	        =	44100
> kr	        =	441
> ksmps	=	100
> nchnls	=	1
> 
> 
> ipanelheight 	= 800	
> ipanelwidth 	= 800	
> ix 		        = 1 	
> iy 		        = 1	
> iborder		= 0	
> 
> FLpanel "PACK", ipanelheight, ipanelwidth, ix, iy, iborder
> 
> 
> iwidth	=	400	
> iheight	=	300	
> ixpk		=	40	
> iypk		=	40 	
> itype		=	0	
> ispace	=	0	
> iborderpk	=	0	
> 
> 
> 	        FLpack	iwidth, iheight, ixpk, iypk, itype, ispace, iborderpk
> 
> ;		FLslider 	"label", 	imin,	imax, iexp, 	itype,	idisp,	iwidth,
> iheight,ix, 	iy
> 
> gk1,ihs1        FLslider        "FLslider 1", 	500,	1000, 0,	1,	-1,	300,
> 15, 	20,	50
> gk2,ihs2        FLslider        "FLslider 2", 	300,	5000, 0,	3,	-1,	300,
> 15, 	20,	100
> gk3,ihs3        FLslider        "FLslider 3", 	350,	1000, 0,	5,	-1,	300,
> 15, 	20,	150
> gk4,ihs4        FLslider        "FLslider 4", 	250,	5000, 0,	11,	-1,	300,
> 30, 	20,	200
> gk5,ihs5        FLslider        "FLslider 5", 	220,	8000, 0,	1,	-1,	300,
> 15, 	20,	250
> gk6,ihs6        FLslider        "FLslider 6", 	1,   	5000, 0,	13,	-1,	300,
> 15, 	20,	300
> gk7,ihs7        FLslider        "FLslider 7", 	870, 	5000, 0,	15,	-1,	300,
> 30, 	20,	350
> 	
> 	FLpack_end
>   
> 	FLrun
> 
> 
> instr 1
> 
> endin
> 
> 
> 
> 
> f0	86400	;one day performance
> i1	0	86400
> e
> 
> 
> 
> 
> 
> 
> 
> Thanks
> 
> e
>