Mon, 13 Nov 2000 [EMAIL PROTECTED] wrote:
> Folks in Japan tell me that many people  there have discovered that you can plug a 
>dumb
> analog joystick into a soundcard and run a periodic RT thread to sample the sound 
>card. I think
> that's amazingly cool, but haven't been able to get someone to send in code yet.

Hmm... That would be rather high frequencies for good resolution I think, but
it might be doable. (Hey, I did run threads at 80 kHz on my dual P-II 233
machines, so it might work that way, possibly with some controlled
variation of the conversion start time offset + filtering or something.)

They might also be doing something like what I just described in the last mail.


> realtime keyboard input seems pointless. Is there a real purpose?

Well, I don't know if the average keyboard processor is very fast or
deterministic, but if I were to play music on it (like in the old trackers),
I'd want the keyboard input to be at least as deterministic as the audio
engine, for good response...

Then again, the lowlatency patch seems more than adequate to me even in that
rather extreme case - especially considering that the occasional close-to-1-ms
peaks are very rare, even on heavily loaded systems. The risk of a keyboard
event hitting one of those peaks is incredibly low, and even when it happens, I
hardly think even a drummer would notice.


//David

..- M u C o S -------------------------. .- David Olofson --------.
|         A Free/Open Source          | |      Audio Hacker      |
|   Plugin and Integration Standard   | |     Linux Advocate     |
|                 for                 | |  Open Source Advocate  |
|      Professional and Consumer      | |         Singer         |
|             Multimedia              | |       Songwriter       |
`-----> http://www.linuxdj.com/mucos -' `---> [EMAIL PROTECTED] -'
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to