Using typoh.k without starting GUI version of Keykit

13 views
Skip to first unread message

Tony

unread,
Sep 9, 2009, 2:19:04 AM9/9/09
to key...@googlegroups.com
Is it possible to use Tim's typoh.k also without having to start the GUI
version of Keykit, using only lowkey.exe , outputting it's messages via the
normal Windows command line?

I tried it and it does not accept it, due to following section in the code:

if ( Machine != "win" )
{
print("typoh() probably only works on Windows, sorry!")
return()
}

Is there any important reason why we have to use the GUI version of Keykit?

Kind regards,
Tony

Tim Thompson

unread,
Sep 9, 2009, 3:16:36 AM9/9/09
to Tony, key...@googlegroups.com
> Is there any important reason why we have to use the GUI version of Keykit?

The realtime support in some of the non-GUI versions of keykit (e.g. the "stdio" version of lowkey) is based on a fake realtime
clock that just advances every time it's checked (i.e. timing won't be right). Some of the non-GUI versions of keykit might have
usable realtime support, though, so if you want to try it, remove the statement that is preventing it from continuing, and see what
happens.

...Tim...

Tony

unread,
Sep 9, 2009, 3:30:17 AM9/9/09
to t...@nosuch.com, key...@googlegroups.com
Thanks Tim, for being so fast,

OK, I will try it by uncommenting that section, but I would also like to
know what you mean with "some", you mean there are big differences among the
several lowkey.exe implementations? Is there a possibility to find the best
real-time supporting lowkey.exe? If I would check the C source codes of all
available Keykit versions, what parameters would I need to check for the
real-time support?

Tony

Tim Thompson

unread,
Sep 9, 2009, 5:32:30 AM9/9/09
to Tony, key...@googlegroups.com
> you mean there are big differences among the
> several lowkey.exe implementations?

They should be largely identical for their intended use, which was for non-realtime/non-GUI things, like web server CGI scripts.

> Is there a possibility to find the best real-time supporting lowkey.exe?

Please explain what you really want to do, and why avoiding the GUI is important enough that you're willing to use a completely
different OS to get a GUI-less version.

...Tim...

Tony

unread,
Sep 9, 2009, 6:30:24 AM9/9/09
to t...@nosuch.com, key...@googlegroups.com
Hi Tim,

it is no problem to use also the GUI version, I was asking just out of
curiosity if it would be theoretically possible in its current state.

I am using Windows XP and was not planning to do an OS change for this
purpose.

With


"
If I would check the C source codes of all available Keykit versions, what
parameters would I need to check for the real-time support?
"

I meant all lowkey versions for Windows XP only, not among the different OS.


Maybe I just misunderstood your "some" wording. But in general avoiding the
GUI is not a bad idea for musical applications, just some text feedback as
it is e.g. also in your typoh.k, only within the GUI. If it would be
possible I would have exactly the same thing, like typoh.k, but outside of
the GUI, writing the feedback messages/texts directly in MS-DOS. Keykit
offers anyway the system() function.

Thanks anyway for your help. Everything is clear now.

Kind regards,
Tony


Ps. Yesterday I joined also the electro-music.com forum using the nickname
TonE, and Tim you might like to read my follwing post there:
http://www.electro-music.com/forum/viewtopic.php?p=262377#262377

Reply all
Reply to author
Forward
0 new messages