9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: lucio@proxima.alt.za
To: 9fans@9fans.net
Subject: Re: [9fans] sound, graphics, tuner
Date: Sat, 15 Jan 2011 12:38:27 +0200	[thread overview]
Message-ID: <ef638938c20911b75df339db405f81c3@proxima.alt.za> (raw)
In-Reply-To: <AANLkTinu5x=4XCeg_TLSk19qrNkEL2ZpvZa8u3C_O60p@mail.gmail.com>

> Can anybody comment this and/or possibly point me at some good documents?

It looks kind of easy, although I've never gone there myself.  After
all, you just need to display two lines, one fixed (you omitted to
mention that you need to specify the tone you are after) and one that
moves closer or further from the base line as the tuning is adjusted.
Two points may suffice, but they may be hard to read.

As for the audio input, I seem to recall that the audio device
delivers numeric values representing the sound, so all you need to do
is keep reading, deleting a previous display and producing a new one
as each sample is input.  Am I being overly simplistic?  It sounds
almost like a trivial shell (rc) script, if you don't need the
graphics.

++L




  reply	other threads:[~2011-01-15 10:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-15 10:04 Rudolf Sykora
2011-01-15 10:38 ` lucio [this message]
2011-01-15 12:05   ` Gorka Guardiola
2011-01-15 18:50     ` Rudolf Sykora
2011-01-15 19:00       ` John Floren
2011-01-15 20:30       ` Tristan Plumb
2011-01-16  3:52         ` Venkatesh Srinivas
2011-01-16  4:00           ` Jacob Todd
2011-01-16 19:20           ` [9fans] 9doom Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-01-16 19:24             ` Jacob Todd
2011-01-16 19:27             ` John Floren
2011-01-16 20:29               ` Jacob Todd
2011-01-17  0:52                 ` Joel C. Salomon
2011-01-17  8:11                   ` James Tomaschke
2011-01-17 13:30           ` [9fans] sound, graphics, tuner Pavel Klinkovsky
2011-01-17 14:52             ` Jacob Todd
2011-01-17 16:53               ` Federico G. Benavento

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef638938c20911b75df339db405f81c3@proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).