Ch2.2 : Pitch

2018-03-30  本文已影响0人  Arthur_4538

MDA Note: 2.2 Pitch


The strength of the individual partial and their phase shifts have (almost) no influence on the pitch percept. On the other hand, the strengths of the partials are crucial for timbre perception as described below.

A phenomenon widely discussed in psychoacoustics is the pitch of the residue. The pitch of the fundamental is heard even if the fundamental frequency component is eliminated from a harmonic complex tone.

a semitone step comprises 100 cents; an octave corresponds to 1200 cents

The MIDI standard assigns numbers to all notes from the bottom up starting with the even inaudible note A-1 with 8.176 Hz as midi-number 0. The notes are chromatically numbered all the way through so that the tone c' or C4 respectively with 262.626 Hz has the midi-number 60, the concert pitch of 440 Hz has the midinumber 69.

t = 0:0.001:2;
n = 7;
f = 440;
pure_tone = cos(2*pi*f*t);
harmonic_complex_tone = zeros([1,length(t)]);
for i = 1:length(n)
    harmonic_complex_tone += cos(2*pi*f*i*t);
end
sound(pure_tone);
sound(harmonic_complex_tone);

To make the tone more natural:

for i = 1:length(n)
    harmonic_complex_tone += cos(2*pi*f*i*t)/i;
end
上一篇 下一篇

猜你喜欢

热点阅读