| Sorry, with MingW completely rebuilt with noFLTKthreads=1, it still doesn't work. I can run CsoundVST but not with widgets. The widget panel is dead.
Does it make a difference if the FLTK library itself is built with threads enabled?
Regards,
Mike
----- Original Message -----
From: "Michael Gogins"
To:
Sent: Saturday, October 28, 2006 1:58 PM
Subject: Re: [Cs-dev] internal callback
> I'll check it out immediately. Thanks!
>
> Best,
> Mike
>
> ----- Original Message -----
> From: "Steven Yi"
> To: ; "Developer discussions"
> Sent: Saturday, October 28, 2006 12:57 PM
> Subject: Re: [Cs-dev] internal callback
>
>
>> Hi Victor and Michael,
>>
>> I think I fixed CsoundVST to work with FLTK widgets now. I've just
>> checked in CsoundVST.cpp and basically what I did was match up the
>> fltkFlags being passed in with the ones from csound5gui. CsoundVST
>> had it set to disable graphs, FL::awake, and FL::wait, flags 4, 8.
>> (Csound5GUI has 4,8, and 16 on). I recompiled and was able to run
>> examples with FLTK widgets, as well as able to use the new virtual
>> keyboard along with it.
>>
>> I did notice though a segfault at the end when I closed out CsoundVST.
>> I don't know if it was related to the widgets. (Was working with my
>> non-debug build).
>>
>> Michael, could you let me know if this has fixed it up for you?
>>
>> BTW: I've also been further improving the virtual keyboard. I just
>> fixed an issue where if you minimized it and reactivated it it was
>> dead. I am still getting stuck midi-notes on occasion, but am now
>> able to repeat this (seems if you run across and release outside of
>> the window it'll happen) so hope to get that fixed up shortly.
>>
>> I still have no idea why the graph display doesn't show if the
>> keyboard is on though.
>>
>> Thanks!
>> steven
>>
>>
>> On 10/28/06, Victor Lazzarini wrote:
>>> yes, but is the GUI (using FLTK) for your host in a separate
>>> thread from Csound? If it is, that is the problem.
>>>
>>> Winsound uses Yield to update its GUI and therefore
>>> is completely single-threaded.
>>>
>>> Victor
>>>
>>> > But I have the same problem (dead widget windows) with or
>>> > without FLTK threads. I may have yet another thread in
>>> > there, it was so long ago I have forgotten. Would that
>>> > cause a problem?
>>> >
>>> > Regards,
>>> > Mike
>>> >
>>> > ----- Original Message -----
>>> > From: "Victor Lazzarini"
>>> > To: "Developer discussions"
>>> > Sent: Saturday,
>>> > October 28, 2006 4:26 AM Subject: Re: [Cs-dev] internal
>>> > callback
>>> >
>>> >
>>> > > No FLTK threads fixes it for widgets and graphs,
>>> > > but not widgets, graphs and keyboard.
>>> > >
>>> > > As for CsoundVST, if you use FLTK on a separate
>>> > > thread inside it for its GUI, then that's why it
>>> > > does not work. Winsound works because it's
>>> > single-threaded. >
>>> > > Victor
>>> > >
>>> > >>
>>> > >> Hi All,
>>> > >>
>>> > >> I just wanted to say I tried compiling with
>>> > noFLTKThreads >> last night and was able to run the
>>> > keyboard or widget >> windows, but not the graph displays.
>>> > >>
>>> > >> For CsoundVST, what happens when you try to run CSD's
>>> > with >> FLTK widgets? (No Windows, dead windows, etc.)
>>> > >>
>>> > >> steven
>>> > >>
>>> > >> On 10/28/06, Michael Gogins
>>> > wrote: >> > Could you either take a look at the
>>> > CsoundVST.cpp and >> > CsoundVstFltk.cpp code (it is
>>> > currently built with >> > noFLTKThreads=0), or explain to
>>> > me what I would need to >> do to get FLTK widgets to work
>>> > in CsoundVST? > >> > Regards,
>>> > >> > Mike
>>> > >> >
>>> > >> > ----- Original Message -----
>>> > >> > From: "Victor Lazzarini"
>>> > >> > To:
>>> > >> > Sent: Friday, October 27, 2006 8:32 AM
>>> > >> > Subject: [Cs-dev] internal callback
>>> > >> >
>>> > >> >
>>> > >> > >I have made the changes and tested on Windows, all
>>> > >> > seems OK, now in CVS. >Now
>>> > >> > > we need to test more carefully to see if this has
>>> > >> > > actuall fixed anything. But
>>> > >> > > I think this *at least* will prevent future issues
>>> > >> > > with host yield callbacks.
>>> > >> > >
>>> > >> > > Victor
>>> > >> > >
>>> > >> > > Victor Lazzarini
>>> > >> > > Music Technology Laboratory
>>> > >> > > Music Department
>>> > >> > > National University of Ireland, Maynooth
>>> > >> > >
>>> > >> > >
>>> > >> > >
>>> > >>
>>> > ----------------------------------------------------------
>>> > >> > > --------------- Using Tomcat but need to do more?
>>> > Need >> > > to support web services, security? Get stuff
>>> > done >> > > quickly with pre-integrated technology to make
>>> > your >> > > job easier Download IBM WebSphere Application
>>> > Server >> > > v.1.0.1 based on Apache Geronimo
>>> > >>
>>> > >
>>> >
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> > >> > > _______________________________________________
>>> > >> > > Csound-devel mailing list
>>> > >> > > Csound-devel@lists.sourceforge.net
>>> > >> > >
>>> > >>
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> > >> > > >> >
>>> > >>
>>> > ----------------------------------------------------------
>>> > >> > --------------- Using Tomcat but need to do more?
>>> > Need >> > to support web services, security? Get stuff
>>> > done >> quickly with pre-integrated technology to make
>>> > your job >> > easier Download IBM WebSphere Application
>>> > Server v.1.0.1 >> > based on Apache Geronimo
>>> > >>
>>> > >
>>> >
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> > >> > _______________________________________________
>>> > >> > Csound-devel mailing list
>>> > >> > Csound-devel@lists.sourceforge.net
>>> > >> >
>>> > >>
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> > >> > >>
>>> > >>
>>> > ----------------------------------------------------------
>>> > >> --------------- Using Tomcat but need to do more? Need
>>> > to >> support web services, security? Get stuff done
>>> > quickly >> with pre-integrated technology to make your job
>>> > easier >> Download IBM WebSphere Application Server
>>> > v.1.0.1 based on >> Apache Geronimo
>>> > >>
>>> > >
>>> >
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> > >> _______________________________________________
>>> > >> Csound-devel mailing list
>>> > >> Csound-devel@lists.sourceforge.net
>>> > >>
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> > > >
>>> > ----------------------------------------------------------
>>> > > --------------- Using Tomcat but need to do more? Need
>>> > > to support web services, security? Get stuff done
>>> > > quickly with pre-integrated technology to make your job
>>> > > easier Download IBM WebSphere Application Server v.1.0.1
>>> > > based on Apache Geronimo
>>> >
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> > > _______________________________________________
>>> > > Csound-devel mailing list
>>> > > Csound-devel@lists.sourceforge.net
>>> > >
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>> >
>>> > ----------------------------------------------------------
>>> > --------------- Using Tomcat but need to do more? Need to
>>> > support web services, security? Get stuff done quickly
>>> > with pre-integrated technology to make your job easier
>>> > Download IBM WebSphere Application Server v.1.0.1 based on
>>> > Apache Geronimo
>>> >
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> -------------------------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |