| BTW, midiox (midiox.com) includes a very nice virtual ASCII keyboard
implementation. (This is Windows only - free, but I imagine Mac has
something similar.)
It is quite easy to use, and its feature set makes it possible to simulate a
few sliders as well. I've actually created versions of several of my RT
pieces using the MIDIOx virtual keyboard as the performance instrument.
Art Hunkins
----- Original Message -----
From: "Dr. Richard Boulanger"
To: ; "Developer discussions"
Sent: Friday, October 27, 2006 3:43 PM
Subject: Re: [Cs-dev] FLTK Virtual Keyboard Midi Driver
> I agree that it would be wonderful to play the keyboard from the
> ascii keyboard as well.
>
> -dB
>
> Also, while you are at it. Can you make the keyboard called by
> default if an actual hardware device is not found?
>
> -M0 - no device found - means to substiture -+rtmidi=virtual
>
> On Oct 27, 2006, at 3:34 PM, Victor Lazzarini wrote:
>
> > On windows XP, I can't get the keyboard and any other
> > FLTK window, graph or widgets together.
> >
> > Btw, can you do some key bindings for the keyboard
> > so that we can play from the computer keyboard?
> > It should be simple with a GUI toolkit like FLTK.
> >
> > Victor
> >
> >>
> >> It's strange, I do see a performance problem, but only
> >> when running a project where FLTK widgets are *not* there
> >> on Linux. So FLTK is funny all around! :P
> >>
> >> steven
> >>
> >> On 10/27/06, Victor Lazzarini
> >>> wrote: I only tested with an instrument that used fltk
> >>> widgets. The interaction between the two seems to
> >>> be the problem. But Dr. B seems to get it to run,
> >>> I presume without using widgets.
> >>>
> >>> FLTK is funny on OSX.
> >>>
> >>> However, linux is very good: both widgets and keyboard
> >>> work impeccably.
> >>>
> >>> Victor
> >>>>
> >>>> Hi Victor,
> >>>>
> >>>> Thanks for your feedback! I've been racking by brain
> >>>> trying to debug this thing to make it run reliably but
> >>>> have to say that I'm not all that versed in FLTK as
> >>>> well as C calling C++ code, so any help in those
> >>>> regards from anyone would be very much appreciated.
> >>>>
> >>>> I do occasionally get hung notes too, but I haven't
> >>>> figured out what in the code is causing that, as to me
> >>>> the code looks like it's doing the right thing. The
> >>>> keyboard itself only records the note-on when it turns
> >>>> on as well as note-offs, and the MIDI driver part
> >>>> reads and clears back to zero after using it. Perhaps
> >>>> there's a threading issue somewhere though, I'll keep
> >>> looking. >
> >>>> As for unstable, could you describe it a bit? Is it
> >>>> window redrawing issues, notes not playing? (Any info
> >>>> here would help to diagnose what's going on).
> >>>>
> >>>> I was also running this with valgrind and it seems
> >>>> there is a memory leak somewhere, but for the life of
> >>>> me I can't see where it'd possibly leak memory. It
> >>>> reports something going on in sensMIDI and the midi
> >>>> reading function, but even with everything compiled to
> >>>> debug it has ????'s in the stack trace it gives, so
> >>>> it's been very hard for me to find.
> >>>>
> >>>> Thanks though for your time to check it out! I'll
> >>>> keep on with it to see if I can make any more
> >>> progress. >
> >>>> Thanks!
> >>>> steven
> >>>>
> >>>>
> >>>> On 10/27/06, Victor Lazzarini
> >>>>> wrote: actually I got it
> >>>>> working on OSX 10.3 here.But it seems a little
> >>>> unstable. >
> >>>>> At 17:07 27/10/2006, you wrote:
> >>>>>> working here on Linux. But some of the lower notes
> >>>>> seem to >be hanging (might be my own isntrument
> >>>>> though) >
> >>>>>> At 16:54 27/10/2006, you wrote:
> >>>>>>> Hi All,
> >>>>>>>
> >>>>>>> I've just checked in a project I was working on
> >>>>>> which is an FLTK >virtual keyboard midi driver.
> >>>>>> It's written as a plugin midi driver >and if you
> >>>>>> run csound using: >
> >>>>>>> -+rtmidi=virtual -M0
> >>>>>>>
> >>>>>>> as your MIDI flags, a keyboard window will pop up
> >>>>>> that looks like a >piano keyboard. Using the
> >>>>>> keyboard with mouse downs, drags, and up >will
> >>>>>> fire off MIDI notes. This should be useful in
> >>>> situations where >you don't have a real MIDI device
> >>>>>> available (testing an orch, when >you're on the
> >>>>>> road, etc.) >
> >>>>>>> I'd appreciate it if others here can update from
> >>>>>> CVS and give it a >try. There is one bug in
> >>>>>> particular which I have been having a hard >time
> >>>>>> diagnosing. It seems that if you run the keyboard
> >>>> either with >--displays or not and the CSD has no FLTK
> >>>>>> widgets, the keyboard window >will eat up CPU (on
> >>>>>> Linux here, the xorg process takes up a lot of
> >>>>>>> it). Any help with that would be greatly
> >>>>>> appreciated. > >Also, I haven't had a chance to
> >>>>>> run on OSX or Windows myself, so any >reports on
> >>>>>> that would be great. >
> >>>>>>> Thanks!
> >>>>>>> steven
> >>>>>>>
> >>>>>>
> >>>>
> >>>>>>
> >>> ---------------------------------------------------------
> >>>>>> ---------------- >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=26
> >>>>>> 3057&dat=121642
> >>>>>>> _______________________________________________
> >>>>>>> Csound-devel mailing list
> >>>>> Csound-devel@lists.sourceforge.net >
> >>>>
> >>>>>>
> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>>> 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=26
> >>>>> 3057&dat=121642
> >>>>>> _______________________________________________
> >>>>>> Csound-devel mailing list
> >>>>> Csound-devel@lists.sourceforge.net
> >>>>>>
> >>> https://lists.sourceforge.net/lists/listinfo/csound-devel
> >>>>> 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 |