From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 15 Jan 2011 19:50:18 +0100 Message-ID: From: Rudolf Sykora To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] sound, graphics, tuner Topicbox-Message-UUID: 9a0f3416-ead6-11e9-9d60-3106f5b1d025 > Read N PCM samples from the sound card, this is just a read from the > audio in file, easy part. > The samples you can read from http://plan9.bell-labs.com/magic/man2html/3/audio > audio(3) or a similar interfaces provided by usb/audio usb(4). Ok. To start with, audio(3) seems to support soundblaster-16-compatibles. What about others? I guess mine could be AC'97 on one of my notebooks (there fortunately seems to be some support for this one elsewhere, too), while god knows what on another. Connected to this: How do I find from within plan 9 what soundcard/hardware I have? > This last part, I would use draw > http://plan9.bell-labs.com/magic/man2html/2/draw > draw(2). You can use control > http://plan9.bell-labs.com/magic/man2html/2/control control(2) > to add sliders but for what you are doing just drawing rectangles and > lines should be fine. Ok. I ask because some widget sets already have an analog-like gauge I'd like to use, e.g. Tk::gauge. (What'd be the situation in Inferno? They have some Tk, don't they?) Thanks Ruda