Linux Sound subsystem development
 help / color / mirror / Atom feed
From: David Olofson <audiality@swipnet.se>
To: linux-sound@vger.kernel.org
Subject: Re: streaming from disk to terminatorX added (via mmap)
Date: Sun, 24 Oct 1999 17:42:18 +0000	[thread overview]
Message-ID: <marc-linux-sound-94078824916955@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-94077890409185@msgid-missing>

On Sun, 24 Oct 1999, Benno Senoner wrote:
> PS: Now if we could get one of these turntables recorded with special
> static waves (saw waves), we could add add turntable motion detection
> and get the same features as "finalscratch" on BeOS:
> scratching an audiofile in realtime using a real turntable.
> :-)

Uhm, I have just developed a sensor decoding method that could be
useful for this. It's probably overkill, as it's accurate to some 128
bits/period of the input signal with input signals of around that
resolution. It's just that I most probably can't release the
details... :-(

Anyway, I have a clue about how to do it, so I could give some hints
if needed.

And there are other ways than a special LP. For example, a quadrature
decoder; get two reflective optisensors (UV LED + photodiode in a
single package - handy! :-), and use an encoder stripe around the
turntable disk. The encoder strip should look like this:

Sensor 1: ####    ####    ####    ####    ####
Sensor 2:   ####    ####    ####    ####    ####

Note: 90 degree phase diff!

Then run the "sensor 1" signal into the U/_D input of a binary
counter. (Standard chip - use 4xxx chips [CMOS], as they're less
sensitive to Vcc errors. Do *not* use buffered chips as triggers for
reading the sensors - they can start to oscillate and fry!) The
"sensor 2" signal goes to the count input of the chip. The chip is
then hooked up to a parallel port or something, so that you can read
the current value.

Of course, you may also rip out the electronics from a mouse.
(Preferably a PS/2 one, as they have 30-150 Hz update rate, as
opposed to 10-30 for serial mice...) That's two channels and some
buttons + decoder and interface - and there are drivers. :-) Remove
the LEDs and photodiodes/transistors from the mouse PCB, and replace
them with wires to the new detectors.


//David


 ·A·U·D·I·A·L·I·T·Y·   P r o f e s s i o n a l   L i n u x   A u d i o
-  - ------------------------------------------------------------- -  -
    ·Rock Solid                                      David Olofson:
    ·Low Latency    www.angelfire.com/or/audiality   ·Audio Hacker
    ·Plug-Ins            audiality@swipnet.se        ·Linux Advocate
    ·Open Source                                     ·Singer/Composer

  reply	other threads:[~1999-10-24 17:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-24 15:14 streaming from disk to terminatorX added (via mmap) Benno Senoner
1999-10-24 17:42 ` David Olofson [this message]
1999-10-24 23:26 ` Juhana Sadeharju
1999-10-25  0:29 ` Alexander König
1999-10-25 13:32 ` Benno Senoner
1999-10-25 14:32 ` Benno Senoner
1999-10-26  7:50 ` Andy Lo A Foe
1999-10-26 20:34 ` Alexander König
1999-10-27 14:05 ` Andy Lo A Foe
1999-10-27 20:10 ` Benno Senoner

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=marc-linux-sound-94078824916955@msgid-missing \
    --to=audiality@swipnet.se \
    --cc=linux-sound@vger.kernel.org \
    /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