| When this project is solidified and bugs worked out, I'd like to collaborate
on expanding it into making the ASCII keyboard (and/or the numeric keypad on
Windows) into a more feature-rich and flexible MIDI performance interface.
The MIDIOx implementation is a good starting point. There's a lot more to
MIDI than notes on/off - most especially, continuous controllers. I think a
lot more could be done if a serious attempt werse made. Or are there already
such utilities of which I'm unaware?
Art Hunkins
----- Original Message -----
From: "Steven Yi"
To: ; "Developer discussions"
Sent: Friday, October 27, 2006 4:05 PM
Subject: Re: [Cs-dev] FLTK Virtual Keyboard Midi Driver
> Hi Victor,
>
> Thanks for checking this out on WinXP. I tried compiling with
> noThreads earlier on Linux and found that I had the opposite effect of
> it not being able to show any fltk things, but I'll try again to make
> sure (I had a lot of consoles open and things going on).
>
> Adding a keyboard to emit midi notes shouldn't be too difficult as it
> just adds another case to the handle method in FLTKKeyboard. One
> thing I'm not sure about is if different keyboards in different
> countries emit different keyboard codes, but I would imagine not.
>
> I implemented keyboard controls like that in blue recently so will
> look to do that tomorrow. It'll be the same layout as a Tracker, so
> z-m will be a lower octave, then q-p will be another octave and a
> third.
>
> steven
>
> On 10/27/06, 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 |