Re: tuner programs

[email protected] ("C. Church") Fri, 26 Jul 2002 13:44:30 -0500
Newsgroups perl.midi
Message-ID <005f01c234d4$81d890c0$b91ea718@eurynome>
----- Original Message -----
From: "Sean M. Burke" <[email protected]>

> Does anyone know of any tuner programs (MSWin or Mac, I suppose) that have
> a graph of frequency over time, for the past few seconds at least?
>
> Something like this tuner is interesting:
> http://www1.ocn.ne.jp/~tuner/tuner_e.html
> but I'd really like something that showed the frequency(ies) not just at
> the exact present, but also for the past few seconds.
>

Sean,

    I haven't really tried any computer-based tuners before, but I've seen
these around:

    http://www.musicmasterworks.com/ (has 'voice trainer' feature)
http://www.harmony-central.com/Software/Windows/perfect-pitch.html (I dunno
about this one, doesn't look too robust)

    If you're just looking for frequency, you could use an oscilloscope, and
look for one that has a rolling display, rather than a constant-update
display...

    Of course, if you're looking to do a perl-implementation of something
(although, I'm sure that you may not have the time, given the need you've
expressed) check out the following:

    http://tomacorp.com/perl/wav/Freqext.html (analyzing wave data with perl
and PDL, implementing FFTs)

    and..

http://www.perlmonks.org/index.pl?node_id=179748 (an example of visualizing
waveforms using PDL and Tk... Can easily be converted to using non-PDL
structures, but you need PDL to do FFTs in any reasonable sense)

    The only problem with doing it in perl, is that I don't know of a way to
read *live* audio data from the soundcard in Win32 or Mac... I think it's
possible on Linux, however.  You could probably hack around with the
Win32::Sound module.  But that, again, sounds like it could take a while..

(btw, that 'extreme karaoke' program looks pretty tight =)

HTH,

!c

C. Church
http://www.digitalKOMA.com/church/
http://www.DroneColony.com/