Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4625] RE: FLTK in csound5 and csoundAV

Date2004-05-08 19:36
From"gogins@pipeline.com"
Subject[CSOUND-DEV:4625] RE: FLTK in csound5 and csoundAV
There seem to be syntax differences. I just updated and built csound5 from
current CVS, and I can run ./csound examples/fl.csd (another widget
example) just fine.

Original Message:
-----------------
From:  acabrera@teleset.com.co
Date: Sat,  8 May 2004 11:36:50 -0500
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:4622] FLTK in csound5 and csoundAV


Hi,
With my new realtime csound5 *grin* I tested a CsoundAV widget csd, but
even 
though no error is produced and sound comes out, no widgets window is
created.
FLTK is working becuse I see the window with the ftable. Are there
differences 
in usage of FLTK in csound5?
Do I need to add a flag to enable FLTK?
The csd from Gabriel's examples:



-odac4



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

	FLpanel	"This Panel contains some Buttons",400,300
gk1,ihb2	FLbutton	"This Button activates instr1 for 3 seconds 
giving it a frequency of 150 cps",  150,150, 1,300,50,50,20,    0,1,0,3
gk1,ihb2	FLbutton	"This Light-Button switches the oscillator 
frequency between 100 and 200 cps",  200,100, 2,300,50,50,80,    0,1,0,3
gk1,ihb2	FLbutton	"This Check-Button switches the oscillator 
frequency between 300 and 500 cps",  500,300, 3,300,50,50,150,   0,1,0,3
gk1,ihb2	FLbutton	"This Round-Button switches the oscillator 
frequency between 800 and 1500 cps", 800,1500,4,300,50,50,210,   0,1,0,3
	FLpanelEnd
	FLrun

	instr 1
ampenv	linseg	3000,p3/2,100,p3/2,0
a1	oscili	ampenv, i(gk1), 1
	out	a1
	endin



f1 0 1024 10 1
f0 3600
i1 0 500
e



Cheers,
Andrees


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Date2004-05-09 03:27
Fromacabrera@teleset.com.co
Subject[CSOUND-DEV:4628] RE: FLTK in csound5 and csoundAV
Hi Michael,
I don't know if you changed something, but I rebuilt Csound5 with your recent 
changes (and after unsuccesfully trying to build with portaudio asio), and 
FLTK worked just fine with Gabriel's example!
SO I guess apart from the underscores in opcodes like FLpanel_end and such, 
there is no apparent difference with CsoundAV.
Cheers,
Andres