| Cool Edit and, I guess, Sound Forge, give you the possibility to do a
frequency analysis (FFT with various windows). Cool Edit also tries to
determine a fundamental frequency, which may or may not, depending on
the kind of signal you analyze, correspond to the pitch value you are
after. You can check this by looking at your frequency analysis. If it
shows peaks at regular intervals you have a fairly decent periodic
signal. It is always good to listen as well!
Job van Zuijlen
Sergey Batov wrote:
>
> Yes, that's right, of course!
> But the main difficulty is to find frequency of content of the sample with
> necessary accuracy. I know that this phrase is not quite correct because
> any "live" sound consits of a complex of frequencies.
> But if I try to build instrument from say real piano samples I must to know
> the meanings of its pitches with good exactness. For instance, sample for
> note "A4" (a MIDI number is 69) may have a pitch 445 Hz instead of 440, and
> I must to correct it in some way. So I must to know difference between
> "right" and real pitches. How to find it? Depend on ears? Of course, it's
> possible to use one of the program tuners (play the sample and catch the
> jumpings of indicators). May be there is more
> convenient method?
>
> Regards,
> Sergey Batov batov@glasnet.ru
>
> ----------
> > Îò: Mike Berry
> > Êîìó: csound@maths.ex.ac.uk
> > Òåìà: Re: Simple question: a pitch of audio sample.
> > Äàòà: 25 ÿíâàðÿ 1999 ã. 19:49
> >
> > In most cases, the pitch of a sample is not an objective measurement.
> > It is simply a basis for choosing a playback speed. For instance, if I
> > say a sample is 200 Hz (no matter what the audio data is), then if I ask
> > to play it back at 400 Hz., it will be played at twice speed, or one
> > octave up. If I changed the original setting to 100 Hz., then the
> > playback would be up 2 octaves. All of this is irrespective of the
> > content of the sample.
> > In some cases, the audio in the sample does have a single, discernable,
> > pitch. An example would be a multi-sampled piano sampler, which often
> > has a different sample for each note. Then the sample has the pitch
> > corresponding to its note. But even here, that is only for use in
> > determining the relative speed change if the note is transposed up or
> down.
> > So basically, unless there is a clear, single, unchanging, pitch in
> > your sample, you can make the frequency anything you want, as long as
> > you remember what you made it when you want to play it back at another
> pitch.
> > --
> > Mike Berry
> > mikeb@nmol.com
> > http://www.nmol.com/users/mikeb |