On Sat, 09 Feb 2013 17:18:25 GMT, unruh <un...@invalid.ca> wrote:

>On 2013-02-08, Ivan Shmakov <oneing...@gmail.com> wrote:
>>>>>>> David Woolley <david@ex.djwhome.demon.invalid> writes:
>>
>>      [Cross-posting, and setting Followup-To:, to news:comp.dsp.]
>>
>> [...]
>>
>> > In Fourier terms, the spectral width of a piano note is going to be
>> > more than 12ppm and depend on the exact interval over which you
>> > measure it.  I would also suspect that the zero crossing interval
>> > changes significantly during the note, particularly at the start.
>>
>>      As per my experience with guitar signals, such a waveform is
>>      likely to cross zero more than once per period.  Hence, by
>>      counting such crossings one typically gets the frequency of one
>>      of the note's harmonics, and not that of the pure tone.
>>
>>      BTW, is there a kind of overview of a method that could allow
>>      for frequency measurement for such a signal?  (Preferably one
>>      oriented to the uninitiated.  I can probably handle complex
>>      math, though.)
>
>Use the fourier transform to get the rought freq. Then use zero
>crossings at around that period to narrow in on the freq. Of course if
>the harmonics are not exact (see piano) then those sero crossings will
>not give the freq of the fundamantal. You could filter the intput around
>that rough frequency of the fundamental, but that mightgive you very
>little signal ( the ear hears the fundamental pitch even if there is no
>fundamental i n the note )

You are refering to what is called "inharmonicity" in the piano.  The
effect is that the overtones are not locked to the fundamental.
Therefore when they are added on to the fundamental the effect they
will have on the zero crossings has a good deal of randomness from
cycle to cycle.  Whereas if they were locked to the fundamental (as in
a pipe organ) then they will still have an effect on the timing of the
zero crossings but at least that effect will be the same from cycle to
cycle, so the timing of the zero crossings will be a relatively good
measure of the fundamental frequency.

However even in the case of a pipe organ there can be problems with
this technique.  It is possible to imagine an overtone riding on a
lower frequency sine wave where the cusp of the overtone sine wave is
almost causing a zero crossing.  In that case the detection of the
zero crossing in the presence of a small amount of noise could
sometimes count that cusp and sometimes be delayed until the next
overtone cusp.  So the measurement of frequency could be unreliable
because of an arbitrarily small amount of noise or irregularity in
amplitudes.

_______________________________________________
questions mailing list
questions@lists.ntp.org
http://lists.ntp.org/listinfo/questions
              • ... Robert Scott
              • ... John Hasler
              • ... Terje Mathisen
              • ... E-Mail Sent to this address will be added to the BlackLists
              • ... unruh
              • ... E-Mail Sent to this address will be added to the BlackLists
              • ... David Woolley
              • ... Robert Scott
              • ... Ivan Shmakov
              • ... unruh
              • ... Robert Scott
              • ... unruh
              • ... robert bristow-johnson
              • ... robert bristow-johnson
              • ... Terje Mathisen
              • ... Terje Mathisen
              • ... Mike S
              • ... Terje Mathisen
  • Re: [ntp:quest... David Woolley

Reply via email to