Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] sensekey

Date2006-11-30 20:38
From"Art Hunkins"
SubjectRe: [Cs-dev] sensekey
Andres,

I'm afraid I still don't "get it."

FLpanel doesn't reference a variable named ikbdcapture; nor does a search
for that variable come up with anything in the Csound5 help file. Where is
this variable explained?

I don't suppose you are referring to FLvalue, and passing it an idisp value
through ihandle (I think this output has to be from another widget, in any
case).

Also, does this mean that unless you are using FLTK widgets (I'm currently
using only Lettuce which is not FLTK) that sensekey is not available (in
Windows)?

I'd surely like to explore sensekey as a MIDI control substitute in some
realtime settings - particularly as event triggers. In this context, an
ASCII keyboard makes a lot more sense than a MIDI keyboard (except for
button output).

Art Hunkins

----- Original Message ----- 
From: "Andres Cabrera" 
To: "Art Hunkins" ; "Developer discussions"

Sent: Thursday, November 30, 2006 11:59 AM
Subject: Re: [Cs-dev] sensekey


Hi Art,
If you create an FLpanel, and set the ikbdcapture flag to 1, this
FLwindow will capture keyboard events through sensekey.
Diffamator uses this.

Cheers,
Andres


Art Hunkins wrote:
> Andres,
>
> Regarding sensekey: I only tried the example in the Csound5 help file.
>
> Where is Istvan's FLpanel version located? (I'll try it, on WinME as I did
> the other.)
>
> Art Hunkins
>
> ----- Original Message ----- 
> From: "Andres Cabrera" 
> To: "Art Hunkins" ; "Developer discussions"
> 
> Sent: Thursday, November 30, 2006 9:57 AM
> Subject: Re: [Cs-dev] Is there a virtual midi controller opcode, or it
needs
> to be coded?
>
>
> Hi Art,
>
>> Also, in the example printout for sensekey, what in the *world* does that
>> large number refer to? Surely not the ASCII value for "q"!
>>
> Thanks, changed. q gives 113.
> However, does sensekey not work even if you use the FLpanel version
> Istvan did?
>
>> The "out" at the bottom of the code example should be "outo".
>>
> Fixed, thanks.
>
>
> Cheers,
> Andrés
>
>
> Art Hunkins wrote:
>
>> Andres,
>>
>> I can attest that sensekey still does not work in Windows.
>>
>> The example, when run, given does output a -1 as expected. However, when
>>
> you
>
>> press "q" on the ASCII keyboard, it just prints "q" to the screen (as it
>> normally would).
>>
>> Also, in the example printout for sensekey, what in the *world* does that
>> large number refer to? Surely not the ASCII value for "q"!
>>
>> Art Hunkins
>>
>> ----- Original Message ----- 
>> From: "Andres Cabrera" 
>> To: "Developer discussions" 
>> Sent: Wednesday, November 29, 2006 9:08 AM
>> Subject: Re: [Cs-dev] Is there a virtual midi controller opcode, or it
>>
> needs
>
>> to be coded?
>>
>>
>> Hi Robson,
>> If you want to use the keyboard for input, you might want to have a look
>> at the sensekey opcode.
>>
>>
>> Cheers,
>> Andrés
>>
>> Robson Cozendey wrote:
>>
>>
>>> Hi Steven,
>>>
>>> Its in your plans in the future to allow the Virtual Midi Keyboard to
>>> assign different keystrokes to MIDI Values, defined by the user?
>>> I´m saying that because, if someone wants to use the keyboard like a
>>> drumkit (like me), it would be nicer to use the numeric keypad for it,
>>> instead of the default piano-like setting :)
>>>
>>> thx in advance,
>>> robson
>>>
>>>
>>> On 11/25/06, *Robson Cozendey* >> > wrote:
>>>
>>>     Ok, I could read it in the tagged way :-)
>>>     Now I´m moving to the general list, thanks for the good news!
>>>
>>>
>>>     On 11/25/06, *Robson Cozendey* >>     > wrote:
>>>
>>>         Thank you, Steven!
>>>
>>>         I downloaded the XML manual page, but it´s not being
>>>         recognized by Internet Explorer. Is it expected, should I get
>>>         another browser to work?
>>>
>>>         thx again,
>>>         robson
>>>
>>>         ps: I know that this discussion is going away of the dev
>>>         purpose... as soon as possible, I will move it to the general
>>>         list :-)
>>>
>>>
>>>         On 11/25/06, *Steven Yi* >>         > wrote:
>>>
>>>             Hi Robson,
>>>
>>>             Yes, the virtual keyboard is in CVS and also was released
>>>             in 5.04.
>>>             There is a manual entry but it wasn't done until after
>>>             5.04 was
>>>             released, so you have to get it from CVS.  (You can see
>>>             the xml here:
>>>
>>>
>>>
>>>
>
http://csound.cvs.sourceforge.net/csound/manual/midi/virtual.xml?revision=1.2&view=markup
>
>>
>

>> .2&view=markup>
>>
>>
>>>             and image here:
>>>
>>>
>>>
>>>
>
http://csound.cvs.sourceforge.net/csound/manual/images/virtualkeyboard.png?revision=1.1&view=markup
>
>>
>

>> revision=1.1&view=markup>
>>
>>
>>>             steven
>>>
>>>
>>>             On 11/25/06, Robson Cozendey <
>>>             robson.cozendey.rj@gmail.com
>>>             > wrote:
>>>             >
>>>             > Hello everyone,
>>>             >
>>>             > Thanks for the help on building CSound, in the other
>>>             topic :)
>>>             >
>>>             > One of the reasons I entered the list, is that I did not
>>>             found an opcode
>>>             > with the functionality I needed, so I wondered that I
>>>             would need to code it,
>>>             > so here I am.
>>>             >
>>>             > The opcode I need and didn´t found was a virtual midi
>>>             controller, that would
>>>             > turn the PC keyboard into a midi controller, and each
>>>             keystroke would send a
>>>             > midi message to CSound.
>>>             >
>>>             > But before starting it, I would like to know if I didn´t
>>>             missed something,
>>>             > maybe already exists such an opcode, and I would not need
>>>             to re-invent the
>>>             > wheel
>>>             >
>>>             > I´m saying that because I read (in the Steven Yi deferred
>>>             plug-in topic)
>>>             > that he was working on some sort of a virtual keyboard
>>>             driver, so maybe
>>>             > somewhere inside CSound there is such a functionality
>>>             already. I would be
>>>             > glad to find that is such a case
>>>             > Otherwise, I would start my homework asap...
>>>             >
>>>             > thanks in advance,
>>>             > robson
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
 > -------------------------------------------------------------------------
>
>>>             > Take Surveys. Earn Cash. Influence the Future of IT
>>>             > Join SourceForge.net's Techsay panel and you'll get the
>>>             chance to share your
>>>             > opinions on IT & business topics through brief surveys -
>>>             and earn cash
>>>             >
>>>
>>>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>
>>
>>
>

>
>>>             >
>>>             > _______________________________________________
>>>             > Csound-devel mailing list
>>>             > Csound-devel@lists.sourceforge.net
>>>             
>>>             > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>             
>>>             >
>>>             >
>>>             >
>>>
>>>             ------------------------------------------------------------
-
>>>
> -
>
>> -----------
>>
>>
>>>             Take Surveys. Earn Cash. Influence the Future of IT
>>>             Join SourceForge.net's Techsay panel and you'll get the
>>>             chance to share your
>>>             opinions on IT & business topics through brief surveys -
>>>             and earn cash
>>>
>>>
>>>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>
>>
>>
>

>
>>>             _______________________________________________
>>>             Csound-devel mailing list
>>>             Csound-devel@lists.sourceforge.net
>>>             
>>>             https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>             
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ------------------------------------------------------------------------
-
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>
>>>
>> your
>>
>>
>>> opinions on IT & business topics through brief surveys - and earn cash
>>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>
> your
>
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>
> your
>
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-11-30 23:44
FromJonathan Murphy
SubjectRe: [Cs-dev] sensekey
Yes, it does. It says:

"If the ikbdcapture flag is set, the window captures keyboard events,
 and sends them to all sensekey. This flag modifies the behavior of
 sensekey, and makes it receive events from the FLTK window instead of
 stdin."

Here is an example, the keys should light up the buttons corresponding
to their ASCII value. Hope this helps (and that it's not really broken
under windows).

Jonathan.









  sr	    =  48000
  ksmps	    =  64
  nchnls    =  2


	; ikbdcapture flag set to 1
  ikey	    init      1 		
 
	    FLpanel   "sensekey", 740, 340, 100, 250, 2, ikey
  gkasc, giasc	FLbutBank	2, 16, 8, 700, 300, 20, 20, -1
	    FLpanelEnd
	    FLrun

    instr 1

  kkey	    sensekey
  kprint    changed   kkey
	    FLsetVal  kprint, kkey, giasc

    endin




i1 0 60
e





"Art Hunkins"  writes:

> Andres,
>
> I'm afraid I still don't "get it."
>
> FLpanel doesn't reference a variable named ikbdcapture; nor does a search
> for that variable come up with anything in the Csound5 help file. Where is
> this variable explained?
>
> I don't suppose you are referring to FLvalue, and passing it an idisp value
> through ihandle (I think this output has to be from another widget, in any
> case).
>
> Also, does this mean that unless you are using FLTK widgets (I'm currently
> using only Lettuce which is not FLTK) that sensekey is not available (in
> Windows)?
>
> I'd surely like to explore sensekey as a MIDI control substitute in some
> realtime settings - particularly as event triggers. In this context, an
> ASCII keyboard makes a lot more sense than a MIDI keyboard (except for
> button output).
>
> Art Hunkins
>
> ----- Original Message ----- 
> From: "Andres Cabrera" 
> To: "Art Hunkins" ; "Developer discussions"
> 
> Sent: Thursday, November 30, 2006 11:59 AM
> Subject: Re: [Cs-dev] sensekey
>
>
> Hi Art,
> If you create an FLpanel, and set the ikbdcapture flag to 1, this
> FLwindow will capture keyboard events through sensekey.
> Diffamator uses this.
>
> Cheers,
> Andres
>
>
> Art Hunkins wrote:
>> Andres,
>>
>> Regarding sensekey: I only tried the example in the Csound5 help file.
>>
>> Where is Istvan's FLpanel version located? (I'll try it, on WinME as I did
>> the other.)
>>
>> Art Hunkins
>>
>> ----- Original Message ----- 
>> From: "Andres Cabrera" 
>> To: "Art Hunkins" ; "Developer discussions"
>> 
>> Sent: Thursday, November 30, 2006 9:57 AM
>> Subject: Re: [Cs-dev] Is there a virtual midi controller opcode, or it
> needs
>> to be coded?
>>
>>
>> Hi Art,
>>
>>> Also, in the example printout for sensekey, what in the *world* does that
>>> large number refer to? Surely not the ASCII value for "q"!
>>>
>> Thanks, changed. q gives 113.
>> However, does sensekey not work even if you use the FLpanel version
>> Istvan did?
>>
>>> The "out" at the bottom of the code example should be "outo".
>>>
>> Fixed, thanks.
>>
>>
>> Cheers,
>> Andrés
>>
>>
>> Art Hunkins wrote:
>>
>>> Andres,
>>>
>>> I can attest that sensekey still does not work in Windows.
>>>
>>> The example, when run, given does output a -1 as expected. However, when
>>>
>> you
>>
>>> press "q" on the ASCII keyboard, it just prints "q" to the screen (as it
>>> normally would).
>>>
>>> Also, in the example printout for sensekey, what in the *world* does that
>>> large number refer to? Surely not the ASCII value for "q"!
>>>
>>> Art Hunkins
>>>
>>> ----- Original Message ----- 
>>> From: "Andres Cabrera" 
>>> To: "Developer discussions" 
>>> Sent: Wednesday, November 29, 2006 9:08 AM
>>> Subject: Re: [Cs-dev] Is there a virtual midi controller opcode, or it
>>>
>> needs
>>
>>> to be coded?
>>>
>>>
>>> Hi Robson,
>>> If you want to use the keyboard for input, you might want to have a look
>>> at the sensekey opcode.
>>>
>>>
>>> Cheers,
>>> Andrés
>>>
>>> Robson Cozendey wrote:
>>>
>>>
>>>> Hi Steven,
>>>>
>>>> Its in your plans in the future to allow the Virtual Midi Keyboard to
>>>> assign different keystrokes to MIDI Values, defined by the user?
>>>> I´m saying that because, if someone wants to use the keyboard like a
>>>> drumkit (like me), it would be nicer to use the numeric keypad for it,
>>>> instead of the default piano-like setting :)
>>>>
>>>> thx in advance,
>>>> robson
>>>>
>>>>
>>>> On 11/25/06, *Robson Cozendey* >>> > wrote:
>>>>
>>>>     Ok, I could read it in the tagged way :-)
>>>>     Now I´m moving to the general list, thanks for the good news!
>>>>
>>>>
>>>>     On 11/25/06, *Robson Cozendey* >>>     > wrote:
>>>>
>>>>         Thank you, Steven!
>>>>
>>>>         I downloaded the XML manual page, but it´s not being
>>>>         recognized by Internet Explorer. Is it expected, should I get
>>>>         another browser to work?
>>>>
>>>>         thx again,
>>>>         robson
>>>>
>>>>         ps: I know that this discussion is going away of the dev
>>>>         purpose... as soon as possible, I will move it to the general
>>>>         list :-)
>>>>
>>>>
>>>>         On 11/25/06, *Steven Yi* >>>         > wrote:
>>>>
>>>>             Hi Robson,
>>>>
>>>>             Yes, the virtual keyboard is in CVS and also was released
>>>>             in 5.04.
>>>>             There is a manual entry but it wasn't done until after
>>>>             5.04 was
>>>>             released, so you have to get it from CVS.  (You can see
>>>>             the xml here:
>>>>
>>>>
>>>>
>>>>
>>
> http://csound.cvs.sourceforge.net/csound/manual/midi/virtual.xml?revision=1.2&view=markup
>>
>>>
>>
> >
>>> .2&view=markup>
>>>
>>>
>>>>             and image here:
>>>>
>>>>
>>>>
>>>>
>>
> http://csound.cvs.sourceforge.net/csound/manual/images/virtualkeyboard.png?revision=1.1&view=markup
>>
>>>
>>
> >
>>> revision=1.1&view=markup>
>>>
>>>
>>>>             steven
>>>>
>>>>
>>>>             On 11/25/06, Robson Cozendey <
>>>>             robson.cozendey.rj@gmail.com
>>>>             > wrote:
>>>>             >
>>>>             > Hello everyone,
>>>>             >
>>>>             > Thanks for the help on building CSound, in the other
>>>>             topic :)
>>>>             >
>>>>             > One of the reasons I entered the list, is that I did not
>>>>             found an opcode
>>>>             > with the functionality I needed, so I wondered that I
>>>>             would need to code it,
>>>>             > so here I am.
>>>>             >
>>>>             > The opcode I need and didn´t found was a virtual midi
>>>>             controller, that would
>>>>             > turn the PC keyboard into a midi controller, and each
>>>>             keystroke would send a
>>>>             > midi message to CSound.
>>>>             >
>>>>             > But before starting it, I would like to know if I didn´t
>>>>             missed something,
>>>>             > maybe already exists such an opcode, and I would not need
>>>>             to re-invent the
>>>>             > wheel
>>>>             >
>>>>             > I´m saying that because I read (in the Steven Yi deferred
>>>>             plug-in topic)
>>>>             > that he was working on some sort of a virtual keyboard
>>>>             driver, so maybe
>>>>             > somewhere inside CSound there is such a functionality
>>>>             already. I would be
>>>>             > glad to find that is such a case
>>>>             > Otherwise, I would start my homework asap...
>>>>             >
>>>>             > thanks in advance,
>>>>             > robson
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>  > -------------------------------------------------------------------------
>>
>>>>             > Take Surveys. Earn Cash. Influence the Future of IT
>>>>             > Join SourceForge.net's Techsay panel and you'll get the
>>>>             chance to share your
>>>>             > opinions on IT & business topics through brief surveys -
>>>>             and earn cash
>>>>             >
>>>>
>>>>
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>
>>>
>>>
>>
> 
>>
>>>>             >
>>>>             > _______________________________________________
>>>>             > Csound-devel mailing list
>>>>             > Csound-devel@lists.sourceforge.net
>>>>             
>>>>             > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>             
>>>>             >
>>>>             >
>>>>             >
>>>>
>>>>             ------------------------------------------------------------
> -
>>>>
>> -
>>
>>> -----------
>>>
>>>
>>>>             Take Surveys. Earn Cash. Influence the Future of IT
>>>>             Join SourceForge.net's Techsay panel and you'll get the
>>>>             chance to share your
>>>>             opinions on IT & business topics through brief surveys -
>>>>             and earn cash
>>>>
>>>>
>>>>
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>
>>>
>>>
>>
> 
>>
>>>>             _______________________________________________
>>>>             Csound-devel mailing list
>>>>             Csound-devel@lists.sourceforge.net
>>>>             
>>>>             https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>             
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> ------------------------------------------------------------------------
> -
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>>
>>>>
>>> your
>>>
>>>
>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>> ------------------------------------------------------------------------
>>>>
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>
>> your
>>
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>
>> your
>>
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-12-01 01:08
FromAndres Cabrera
SubjectRe: [Cs-dev] sensekey
Hi Jonathan,
I've added your example to the manual, it was needed, is it OK?

Cheers,
Andrés

Jonathan Murphy wrote:
> Yes, it does. It says:
>
> "If the ikbdcapture flag is set, the window captures keyboard events,
>  and sends them to all sensekey. This flag modifies the behavior of
>  sensekey, and makes it receive events from the FLTK window instead of
>  stdin."
>
> Here is an example, the keys should light up the buttons corresponding
> to their ASCII value. Hope this helps (and that it's not really broken
> under windows).
>
> Jonathan.
>
> 
>
> 
>
> 
>
> 
>
>   sr	    =  48000
>   ksmps	    =  64
>   nchnls    =  2
>
>
> 	; ikbdcapture flag set to 1
>   ikey	    init      1 		
>  
> 	    FLpanel   "sensekey", 740, 340, 100, 250, 2, ikey
>   gkasc, giasc	FLbutBank	2, 16, 8, 700, 300, 20, 20, -1
> 	    FLpanelEnd
> 	    FLrun
>
>     instr 1
>
>   kkey	    sensekey
>   kprint    changed   kkey
> 	    FLsetVal  kprint, kkey, giasc
>
>     endin
>
> 
>
> 
> i1 0 60
> e
> 
>
> 
>
>
> "Art Hunkins"  writes:
>
>   
>> Andres,
>>
>> I'm afraid I still don't "get it."
>>
>> FLpanel doesn't reference a variable named ikbdcapture; nor does a search
>> for that variable come up with anything in the Csound5 help file. Where is
>> this variable explained?
>>
>> I don't suppose you are referring to FLvalue, and passing it an idisp value
>> through ihandle (I think this output has to be from another widget, in any
>> case).
>>
>> Also, does this mean that unless you are using FLTK widgets (I'm currently
>> using only Lettuce which is not FLTK) that sensekey is not available (in
>> Windows)?
>>
>> I'd surely like to explore sensekey as a MIDI control substitute in some
>> realtime settings - particularly as event triggers. In this context, an
>> ASCII keyboard makes a lot more sense than a MIDI keyboard (except for
>> button output).
>>
>> Art Hunkins
>>
>> ----- Original Message ----- 
>> From: "Andres Cabrera" 
>> To: "Art Hunkins" ; "Developer discussions"
>> 
>> Sent: Thursday, November 30, 2006 11:59 AM
>> Subject: Re: [Cs-dev] sensekey
>>
>>
>> Hi Art,
>> If you create an FLpanel, and set the ikbdcapture flag to 1, this
>> FLwindow will capture keyboard events through sensekey.
>> Diffamator uses this.
>>
>> Cheers,
>> Andres
>>
>>
>> Art Hunkins wrote:
>>     
>>> Andres,
>>>
>>> Regarding sensekey: I only tried the example in the Csound5 help file.
>>>
>>> Where is Istvan's FLpanel version located? (I'll try it, on WinME as I did
>>> the other.)
>>>
>>> Art Hunkins
>>>
>>> ----- Original Message ----- 
>>> From: "Andres Cabrera" 
>>> To: "Art Hunkins" ; "Developer discussions"
>>> 
>>> Sent: Thursday, November 30, 2006 9:57 AM
>>> Subject: Re: [Cs-dev] Is there a virtual midi controller opcode, or it
>>>       
>> needs
>>     
>>> to be coded?
>>>
>>>
>>> Hi Art,
>>>
>>>       
>>>> Also, in the example printout for sensekey, what in the *world* does that
>>>> large number refer to? Surely not the ASCII value for "q"!
>>>>
>>>>         
>>> Thanks, changed. q gives 113.
>>> However, does sensekey not work even if you use the FLpanel version
>>> Istvan did?
>>>
>>>       
>>>> The "out" at the bottom of the code example should be "outo".
>>>>
>>>>         
>>> Fixed, thanks.
>>>
>>>
>>> Cheers,
>>> Andrés
>>>
>>>
>>> Art Hunkins wrote:
>>>
>>>       
>>>> Andres,
>>>>
>>>> I can attest that sensekey still does not work in Windows.
>>>>
>>>> The example, when run, given does output a -1 as expected. However, when
>>>>
>>>>         
>>> you
>>>
>>>       
>>>> press "q" on the ASCII keyboard, it just prints "q" to the screen (as it
>>>> normally would).
>>>>
>>>> Also, in the example printout for sensekey, what in the *world* does that
>>>> large number refer to? Surely not the ASCII value for "q"!
>>>>
>>>> Art Hunkins
>>>>
>>>> ----- Original Message ----- 
>>>> From: "Andres Cabrera" 
>>>> To: "Developer discussions" 
>>>> Sent: Wednesday, November 29, 2006 9:08 AM
>>>> Subject: Re: [Cs-dev] Is there a virtual midi controller opcode, or it
>>>>
>>>>         
>>> needs
>>>
>>>       
>>>> to be coded?
>>>>
>>>>
>>>> Hi Robson,
>>>> If you want to use the keyboard for input, you might want to have a look
>>>> at the sensekey opcode.
>>>>
>>>>
>>>> Cheers,
>>>> Andrés
>>>>
>>>> Robson Cozendey wrote:
>>>>
>>>>
>>>>         
>>>>> Hi Steven,
>>>>>
>>>>> Its in your plans in the future to allow the Virtual Midi Keyboard to
>>>>> assign different keystrokes to MIDI Values, defined by the user?
>>>>> I´m saying that because, if someone wants to use the keyboard like a
>>>>> drumkit (like me), it would be nicer to use the numeric keypad for it,
>>>>> instead of the default piano-like setting :)
>>>>>
>>>>> thx in advance,
>>>>> robson
>>>>>
>>>>>
>>>>> On 11/25/06, *Robson Cozendey* >>>> > wrote:
>>>>>
>>>>>     Ok, I could read it in the tagged way :-)
>>>>>     Now I´m moving to the general list, thanks for the good news!
>>>>>
>>>>>
>>>>>     On 11/25/06, *Robson Cozendey* >>>>     > wrote:
>>>>>
>>>>>         Thank you, Steven!
>>>>>
>>>>>         I downloaded the XML manual page, but it´s not being
>>>>>         recognized by Internet Explorer. Is it expected, should I get
>>>>>         another browser to work?
>>>>>
>>>>>         thx again,
>>>>>         robson
>>>>>
>>>>>         ps: I know that this discussion is going away of the dev
>>>>>         purpose... as soon as possible, I will move it to the general
>>>>>         list :-)
>>>>>
>>>>>
>>>>>         On 11/25/06, *Steven Yi* >>>>         > wrote:
>>>>>
>>>>>             Hi Robson,
>>>>>
>>>>>             Yes, the virtual keyboard is in CVS and also was released
>>>>>             in 5.04.
>>>>>             There is a manual entry but it wasn't done until after
>>>>>             5.04 was
>>>>>             released, so you have to get it from CVS.  (You can see
>>>>>             the xml here:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>           
>> http://csound.cvs.sourceforge.net/csound/manual/midi/virtual.xml?revision=1.2&view=markup
>>     
>> >     
>>>> .2&view=markup>
>>>>
>>>>
>>>>         
>>>>>             and image here:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>           
>> http://csound.cvs.sourceforge.net/csound/manual/images/virtualkeyboard.png?revision=1.1&view=markup
>>     
>> >     
>>>> revision=1.1&view=markup>
>>>>
>>>>
>>>>         
>>>>>             steven
>>>>>
>>>>>
>>>>>             On 11/25/06, Robson Cozendey <
>>>>>             robson.cozendey.rj@gmail.com
>>>>>             > wrote:
>>>>>             >
>>>>>             > Hello everyone,
>>>>>             >
>>>>>             > Thanks for the help on building CSound, in the other
>>>>>             topic :)
>>>>>             >
>>>>>             > One of the reasons I entered the list, is that I did not
>>>>>             found an opcode
>>>>>             > with the functionality I needed, so I wondered that I
>>>>>             would need to code it,
>>>>>             > so here I am.
>>>>>             >
>>>>>             > The opcode I need and didn´t found was a virtual midi
>>>>>             controller, that would
>>>>>             > turn the PC keyboard into a midi controller, and each
>>>>>             keystroke would send a
>>>>>             > midi message to CSound.
>>>>>             >
>>>>>             > But before starting it, I would like to know if I didn´t
>>>>>             missed something,
>>>>>             > maybe already exists such an opcode, and I would not need
>>>>>             to re-invent the
>>>>>             > wheel
>>>>>             >
>>>>>             > I´m saying that because I read (in the Steven Yi deferred
>>>>>             plug-in topic)
>>>>>             > that he was working on some sort of a virtual keyboard
>>>>>             driver, so maybe
>>>>>             > somewhere inside CSound there is such a functionality
>>>>>             already. I would be
>>>>>             > glad to find that is such a case
>>>>>             > Otherwise, I would start my homework asap...
>>>>>             >
>>>>>             > thanks in advance,
>>>>>             > robson
>>>>>
>>>>>
>>>>>
>>>>>           
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>         
>>  > -------------------------------------------------------------------------
>>     
>>>>>             > Take Surveys. Earn Cash. Influence the Future of IT
>>>>>             > Join SourceForge.net's Techsay panel and you'll get the
>>>>>             chance to share your
>>>>>             > opinions on IT & business topics through brief surveys -
>>>>>             and earn cash
>>>>>             >
>>>>>
>>>>>
>>>>>           
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>
>>>>
>>>>
>>>>         
>> 
>>     
>>>>>             >
>>>>>             > _______________________________________________
>>>>>             > Csound-devel mailing list
>>>>>             > Csound-devel@lists.sourceforge.net
>>>>>             
>>>>>             > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>             
>>>>>             >
>>>>>             >
>>>>>             >
>>>>>
>>>>>             ------------------------------------------------------------
>>>>>           
>> -
>>     
>>> -
>>>
>>>       
>>>> -----------
>>>>
>>>>
>>>>         
>>>>>             Take Surveys. Earn Cash. Influence the Future of IT
>>>>>             Join SourceForge.net's Techsay panel and you'll get the
>>>>>             chance to share your
>>>>>             opinions on IT & business topics through brief surveys -
>>>>>             and earn cash
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>
>>>>
>>>>
>>>>         
>> 
>>     
>>>>>             _______________________________________________
>>>>>             Csound-devel mailing list
>>>>>             Csound-devel@lists.sourceforge.net
>>>>>             
>>>>>             https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>             
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>           
>> -
>>     
>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>>>
>>>>>
>>>>>           
>>>> your
>>>>
>>>>
>>>>         
>>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>>>
>>>>>           
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>     
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> -------------------------------------------------------------------------
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>>
>>>>         
>>> your
>>>
>>>       
>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>>
>>>>         
>>> your
>>>
>>>       
>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>
>>>>         
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>       
>> your
>>     
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>       
>> your
>>     
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>       
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>     
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-12-01 04:03
FromJonathan Murphy
SubjectRe: [Cs-dev] sensekey
Of course. That way I'll remember how to use it! By the way, I revised
the documentation for "release" and "xtratim," and wrote a new example
for xtratim. The example in the current manual is confusing, broken,
and not a .csd. Is it OK if I mail them to you off list?

Jonathan. 


Andres Cabrera  writes:

> Hi Jonathan,
> I've added your example to the manual, it was needed, is it OK?
>
> Cheers,
> Andrés
>
> Jonathan Murphy wrote:
>> Yes, it does. It says:
>>
>> "If the ikbdcapture flag is set, the window captures keyboard events,
>>  and sends them to all sensekey. This flag modifies the behavior of
>>  sensekey, and makes it receive events from the FLTK window instead of
>>  stdin."
>>
>> Here is an example, the keys should light up the buttons corresponding
>> to their ASCII value. Hope this helps (and that it's not really broken
>> under windows).
>>
>> Jonathan.
>>
>> 
>>
>> 
>>
>> 
>>
>> 
>>
>>   sr	    =  48000
>>   ksmps	    =  64
>>   nchnls    =  2
>>
>>
>> 	; ikbdcapture flag set to 1
>>   ikey	    init      1 		
>>  
>> 	    FLpanel   "sensekey", 740, 340, 100, 250, 2, ikey
>>   gkasc, giasc	FLbutBank	2, 16, 8, 700, 300, 20, 20, -1
>> 	    FLpanelEnd
>> 	    FLrun
>>
>>     instr 1
>>
>>   kkey	    sensekey
>>   kprint    changed   kkey
>> 	    FLsetVal  kprint, kkey, giasc
>>
>>     endin
>>
>> 
>>
>> 
>> i1 0 60
>> e
>> 
>>
>> 
>>
>>
>> "Art Hunkins"  writes:
>>
>>   
>>> Andres,
>>>
>>> I'm afraid I still don't "get it."
>>>
>>> FLpanel doesn't reference a variable named ikbdcapture; nor does a search
>>> for that variable come up with anything in the Csound5 help file. Where is
>>> this variable explained?
>>>
>>> I don't suppose you are referring to FLvalue, and passing it an idisp value
>>> through ihandle (I think this output has to be from another widget, in any
>>> case).
>>>
>>> Also, does this mean that unless you are using FLTK widgets (I'm currently
>>> using only Lettuce which is not FLTK) that sensekey is not available (in
>>> Windows)?
>>>
>>> I'd surely like to explore sensekey as a MIDI control substitute in some
>>> realtime settings - particularly as event triggers. In this context, an
>>> ASCII keyboard makes a lot more sense than a MIDI keyboard (except for
>>> button output).
>>>
>>> Art Hunkins
>>>
>>> ----- Original Message ----- 
>>> From: "Andres Cabrera" 
>>> To: "Art Hunkins" ; "Developer discussions"
>>> 
>>> Sent: Thursday, November 30, 2006 11:59 AM
>>> Subject: Re: [Cs-dev] sensekey
>>>
>>>
>>> Hi Art,
>>> If you create an FLpanel, and set the ikbdcapture flag to 1, this
>>> FLwindow will capture keyboard events through sensekey.
>>> Diffamator uses this.
>>>
>>> Cheers,
>>> Andres
>>>
>>>
>>> Art Hunkins wrote:
>>>     
>>>> Andres,
>>>>
>>>> Regarding sensekey: I only tried the example in the Csound5 help file.
>>>>
>>>> Where is Istvan's FLpanel version located? (I'll try it, on WinME as I did
>>>> the other.)
>>>>
>>>> Art Hunkins
>>>>
>>>> ----- Original Message ----- 
>>>> From: "Andres Cabrera" 
>>>> To: "Art Hunkins" ; "Developer discussions"
>>>> 
>>>> Sent: Thursday, November 30, 2006 9:57 AM
>>>> Subject: Re: [Cs-dev] Is there a virtual midi controller opcode, or it
>>>>       
>>> needs
>>>     
>>>> to be coded?
>>>>
>>>>
>>>> Hi Art,
>>>>
>>>>       
>>>>> Also, in the example printout for sensekey, what in the *world* does that
>>>>> large number refer to? Surely not the ASCII value for "q"!
>>>>>
>>>>>         
>>>> Thanks, changed. q gives 113.
>>>> However, does sensekey not work even if you use the FLpanel version
>>>> Istvan did?
>>>>
>>>>       
>>>>> The "out" at the bottom of the code example should be "outo".
>>>>>
>>>>>         
>>>> Fixed, thanks.
>>>>
>>>>
>>>> Cheers,
>>>> Andrés
>>>>
>>>>
>>>> Art Hunkins wrote:
>>>>
>>>>       
>>>>> Andres,
>>>>>
>>>>> I can attest that sensekey still does not work in Windows.
>>>>>
>>>>> The example, when run, given does output a -1 as expected. However, when
>>>>>
>>>>>         
>>>> you
>>>>
>>>>       
>>>>> press "q" on the ASCII keyboard, it just prints "q" to the screen (as it
>>>>> normally would).
>>>>>
>>>>> Also, in the example printout for sensekey, what in the *world* does that
>>>>> large number refer to? Surely not the ASCII value for "q"!
>>>>>
>>>>> Art Hunkins
>>>>>
>>>>> ----- Original Message ----- 
>>>>> From: "Andres Cabrera" 
>>>>> To: "Developer discussions" 
>>>>> Sent: Wednesday, November 29, 2006 9:08 AM
>>>>> Subject: Re: [Cs-dev] Is there a virtual midi controller opcode, or it
>>>>>
>>>>>         
>>>> needs
>>>>
>>>>       
>>>>> to be coded?
>>>>>
>>>>>
>>>>> Hi Robson,
>>>>> If you want to use the keyboard for input, you might want to have a look
>>>>> at the sensekey opcode.
>>>>>
>>>>>
>>>>> Cheers,
>>>>> Andrés
>>>>>
>>>>> Robson Cozendey wrote:
>>>>>
>>>>>
>>>>>         
>>>>>> Hi Steven,
>>>>>>
>>>>>> Its in your plans in the future to allow the Virtual Midi Keyboard to
>>>>>> assign different keystrokes to MIDI Values, defined by the user?
>>>>>> I´m saying that because, if someone wants to use the keyboard like a
>>>>>> drumkit (like me), it would be nicer to use the numeric keypad for it,
>>>>>> instead of the default piano-like setting :)
>>>>>>
>>>>>> thx in advance,
>>>>>> robson
>>>>>>
>>>>>>
>>>>>> On 11/25/06, *Robson Cozendey* >>>>> > wrote:
>>>>>>
>>>>>>     Ok, I could read it in the tagged way :-)
>>>>>>     Now I´m moving to the general list, thanks for the good news!
>>>>>>
>>>>>>
>>>>>>     On 11/25/06, *Robson Cozendey* >>>>>     > wrote:
>>>>>>
>>>>>>         Thank you, Steven!
>>>>>>
>>>>>>         I downloaded the XML manual page, but it´s not being
>>>>>>         recognized by Internet Explorer. Is it expected, should I get
>>>>>>         another browser to work?
>>>>>>
>>>>>>         thx again,
>>>>>>         robson
>>>>>>
>>>>>>         ps: I know that this discussion is going away of the dev
>>>>>>         purpose... as soon as possible, I will move it to the general
>>>>>>         list :-)
>>>>>>
>>>>>>
>>>>>>         On 11/25/06, *Steven Yi* >>>>>         > wrote:
>>>>>>
>>>>>>             Hi Robson,
>>>>>>
>>>>>>             Yes, the virtual keyboard is in CVS and also was released
>>>>>>             in 5.04.
>>>>>>             There is a manual entry but it wasn't done until after
>>>>>>             5.04 was
>>>>>>             released, so you have to get it from CVS.  (You can see
>>>>>>             the xml here:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>           
>>> http://csound.cvs.sourceforge.net/csound/manual/midi/virtual.xml?revision=1.2&view=markup
>>>     
>>> >>     
>>>>> .2&view=markup>
>>>>>
>>>>>
>>>>>         
>>>>>>             and image here:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>           
>>> http://csound.cvs.sourceforge.net/csound/manual/images/virtualkeyboard.png?revision=1.1&view=markup
>>>     
>>> >>     
>>>>> revision=1.1&view=markup>
>>>>>
>>>>>
>>>>>         
>>>>>>             steven
>>>>>>
>>>>>>
>>>>>>             On 11/25/06, Robson Cozendey <
>>>>>>             robson.cozendey.rj@gmail.com
>>>>>>             > wrote:
>>>>>>             >
>>>>>>             > Hello everyone,
>>>>>>             >
>>>>>>             > Thanks for the help on building CSound, in the other
>>>>>>             topic :)
>>>>>>             >
>>>>>>             > One of the reasons I entered the list, is that I did not
>>>>>>             found an opcode
>>>>>>             > with the functionality I needed, so I wondered that I
>>>>>>             would need to code it,
>>>>>>             > so here I am.
>>>>>>             >
>>>>>>             > The opcode I need and didn´t found was a virtual midi
>>>>>>             controller, that would
>>>>>>             > turn the PC keyboard into a midi controller, and each
>>>>>>             keystroke would send a
>>>>>>             > midi message to CSound.
>>>>>>             >
>>>>>>             > But before starting it, I would like to know if I didn´t
>>>>>>             missed something,
>>>>>>             > maybe already exists such an opcode, and I would not need
>>>>>>             to re-invent the
>>>>>>             > wheel
>>>>>>             >
>>>>>>             > I´m saying that because I read (in the Steven Yi deferred
>>>>>>             plug-in topic)
>>>>>>             > that he was working on some sort of a virtual keyboard
>>>>>>             driver, so maybe
>>>>>>             > somewhere inside CSound there is such a functionality
>>>>>>             already. I would be
>>>>>>             > glad to find that is such a case
>>>>>>             > Otherwise, I would start my homework asap...
>>>>>>             >
>>>>>>             > thanks in advance,
>>>>>>             > robson
>>>>>>
>>>>>>
>>>>>>
>>>>>>           
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>         
>>>  > -------------------------------------------------------------------------
>>>     
>>>>>>             > Take Surveys. Earn Cash. Influence the Future of IT
>>>>>>             > Join SourceForge.net's Techsay panel and you'll get the
>>>>>>             chance to share your
>>>>>>             > opinions on IT & business topics through brief surveys -
>>>>>>             and earn cash
>>>>>>             >
>>>>>>
>>>>>>
>>>>>>           
>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>>
>>>>>
>>>>>
>>>>>         
>>> 
>>>     
>>>>>>             >
>>>>>>             > _______________________________________________
>>>>>>             > Csound-devel mailing list
>>>>>>             > Csound-devel@lists.sourceforge.net
>>>>>>             
>>>>>>             > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>             
>>>>>>             >
>>>>>>             >
>>>>>>             >
>>>>>>
>>>>>>             ------------------------------------------------------------
>>>>>>           
>>> -
>>>     
>>>> -
>>>>
>>>>       
>>>>> -----------
>>>>>
>>>>>
>>>>>         
>>>>>>             Take Surveys. Earn Cash. Influence the Future of IT
>>>>>>             Join SourceForge.net's Techsay panel and you'll get the
>>>>>>             chance to share your
>>>>>>             opinions on IT & business topics through brief surveys -
>>>>>>             and earn cash
>>>>>>
>>>>>>
>>>>>>
>>>>>>           
>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>>
>>>>>
>>>>>
>>>>>         
>>> 
>>>     
>>>>>>             _______________________________________________
>>>>>>             Csound-devel mailing list
>>>>>>             Csound-devel@lists.sourceforge.net
>>>>>>             
>>>>>>             https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>             
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>           
>>> -
>>>     
>>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>>>>
>>>>>>
>>>>>>           
>>>>> your
>>>>>
>>>>>
>>>>>         
>>>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>>>>
>>>>>>           
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>     
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>> _______________________________________________
>>>>>> Csound-devel mailing list
>>>>>> Csound-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>>           
>>>>> -------------------------------------------------------------------------
>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>>>
>>>>>         
>>>> your
>>>>
>>>>       
>>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>>>
>>>>>         
>>>> your
>>>>
>>>>       
>>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>
>>>>>         
>>>> -------------------------------------------------------------------------
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>>       
>>> your
>>>     
>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>>>       
>>> your
>>>     
>>>> opinions on IT & business topics through brief surveys - and earn cash
>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>       
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>     
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>   
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net