[Csnd] fltk, Fltabs, sensekey
Date | 2008-01-18 01:33 |
From | Lou Cohen |
Subject | [Csnd] fltk, Fltabs, sensekey |
In the enclosed csd file, I have used fltk builtin to csound to set up a panel. I want to capture keystrokes using sensekey. With the enclosed file, you will see that instrument 1, which is attempting to capture keystrokes, sees none of them. If I comment out the FLtabs statement (and the matching FLtabsEnd statement), instrument 1 sees all keystrokes. Does this mean that sensekey and FLtabs are incompatible? or is there a way I can use both? all the best, Lou Cohen <CsoundSynthesizer> <CsInstruments> ;***************************************************/ islidercolumn init 5 ;x-coord of left edge of column of knobs, etc. itabverticaloffset init 20 ;space required at top of panel for tabs to be visible imycinemadisplaywidth init 1680 imycinemadisplayheight init 1050 ipanelwidth init 1000 ;default width of improvisor panel ipanelheight init 700 ;default height of improvisor panel ipanelx init imycinemadisplaywidth - ipanelwidth ;default x position of left edge of panel ipanely init 20 ;default y position of top of panel ipanelright init ipanelwidth ipanelbottom init ipanelheight igrpimprwidth init ipanelwidth igrpimprheight init ipanelheight igrpimpx init 0 igrpimpy init itabverticaloffset FLpanel "Improviser", ipanelwidth, ipanelheight, ipanelx, ipanely, 0 ,1 ;***** start of container FLscroll ipanelwidth, ipanelheight, 0,0 FLtabs ipanelwidth-50, ipanelheight, 5, 5 FLgroup "improviser", igrpimprwidth, igrpimprheight, igrpimpx, igrpimpy, 1 FLgroupEnd FLtabsEnd FLscrollEnd FLpanelEnd ;***** end of container FLrun ;***** runs the widget thread, it is always required! instr 1 kres, kkeydown sensekey printk2 kres printk2 kkeydown,5 endin </CsInstruments> <CsScore> f1 0 512 10 1 i1 0 8888 10000 100 </CsScore> </CsoundSynthesizer> --------------------------- Permanent email: loucohen@jolc.net Music and video: http://ruccas.org/wiki.pl/Lou_Cohen More music and video: http://www.youtube.com/loucohen Astronomy: http://www.jolc.net ---------------------------- |
Date | 2008-01-18 01:39 |
From | "Oeyvind Brandtsegg" |
Subject | [Csnd] Re: fltk, Fltabs, sensekey |
Attachments | None |
Date | 2008-01-18 12:04 |
From | Lou Cohen |
Subject | [Csnd] Re: Re: fltk, Fltabs, sensekey |
I’m using 5.04. Perhaps FLkeyIn was implemented in a later version of csound? -Lou On 1/17/08 20:39, "Oeyvind Brandtsegg " <obrandts@gmail.com> wrote: Maybe you can use FLkeyIn instead of sensekey ? --------------------------- Permanent email: loucohen@jolc.net Music and video: http://ruccas.org/wiki.pl/Lou_Cohen More music and video: http://www.youtube.com/loucohen Astronomy: http://www.jolc.net ---------------------------- |
Date | 2008-01-18 12:12 |
From | "Oeyvind Brandtsegg" |
Subject | [Csnd] Re: Re: Re: fltk, Fltabs, sensekey |
Attachments | None |
Date | 2008-01-18 13:44 |
From | Lou Cohen |
Subject | [Csnd] FLkeyIn - was: Re: Re: Re: Re: fltk, Fltabs, sensekey |
-Lou On 1/18/08 7:12, "Oeyvind Brandtsegg " <obrandts@gmail.com> wrote: Yes, New in 5.06. --------------------------- Permanent email: loucohen@jolc.net Music and video: http://ruccas.org/wiki.pl/Lou_Cohen More music and video: http://www.youtube.com/loucohen Astronomy: http://www.jolc.net ---------------------------- |