Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] sensekey

Date2006-11-30 15:36
From"Art Hunkins"
SubjectRe: [Cs-dev] sensekey
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

Date2006-11-30 16:59
FromAndres Cabrera
SubjectRe: [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