Академический Документы
Профессиональный Документы
Культура Документы
1
III. HARMONICS AND INHARMONICS
[2]Harmonics are an important part of every note, every
time that a guitar chord is play it starts to vibrate according to A. Mathematical Analysis of Inharmonics
a complicate pattern and the sound that produces it is Guitar´s Inharmonicity main variables are: length of the
compound of many elements, fundamental frequency is the scale, tunning and chord´s caliber, [5] when relating the
main and louder component of the sound and the one that inharmonicity to the actual frequency of the stretched
stands out, and also is the one which the tonality of the note is fundamental f1 rather than to the frequency of the ideal string,
identify. Also fundamental frequency can be define as the fn is given approximately by.
sound produced when the chord vibrates in only one
wavelength.
As we can observe in Fig 2. The chord produces a series of It is sometimes convenient to express the deviation of the
harmonics o partials that are multiples of the fundamental partial frequencies from a harmonic series by numbers of cents
frequency, and they are produced because the chord vibrates (100 cents= 1 semitone). The inharmonicity In, which
in the same time at short- wavelengths. expresses the ratio fn/(n*f1), is given by:
Where,
[3] Inharmonicity is a phenomenon that has place in the
musical instrument, this effect produces the deviation of the
frequencies of the different partial sounds according each one
of them and also depending the fundamental frequency. For
example, an inharmonicity is produced when the second
harmonic of La with 440 Hz of fundamental frequency instead r is string radius, E is Young`s modulus, T is tension and L is
of having a frequency of 880 Hz has a frequency of 880.4 Hz. string length.
As we see, it is set that inharmonicity (f[n]) is directly
proportional to A, also A is directly proportional to r and
[4] In other words inharmonicity is the deviation in the
inversely proportional to T and L. where r is the radius , T is
frequency of the harmonics of a chord respecting its expected
tension and L is length. Say in other words, bigger the
theoretical values, that is produced because the stiffness of the
thickness bigger the inharmonicity and bigger the tension or
chord, and this stiffness makes harmonics don’t swing in their
bigger the length lower the inharmonicity.
exact nodes but one that are a little deviated. Inside the same
chord, the deviation mentioned above no necessary appears in
continues way, that means some harmonics ( they are called
partials when they are deviated of their theoretical values) are We are interested that our guitar has the thinnest chord and
deviated in positive way and others in negative way; in string the biggest tension possible. Obviously there are physics
instruments, inharmonicity is directly related with the limits for our hands, also using big scales and calibers will
thickness, stiffness and length of the chord. convert our guitar in a bass.
2
IV. SOUND SYNTHESIS
TABLE I. OCTAVE INDEX ACCORDING THE REFERENCE OF LA4
Sound synthesis is the main objective of this practice, and
consists in to be able to produce artificial sounds for non -
acoustical ways that approximate to the original ones. Oct 3 Oct 4 Oct 5 Oct 6
Do -9 3 15
Do# -8 4 16
Re -7 5 17
Re# -6 6 18
Mi -17 -5 7 19
Fa -16 -4 8
Fa# -15 -3 9
Sol -14 -2 10
Sol# -13 -1 11
La -12 0 12
La# -11 1 13
Si -10 2 14
3
We decided to use the fundamental frequency and fourteen Equation (7) it is the nyquist theorem and it says that our
partials for each note, so in this way we have an array of sampling frequency has to be at least two times the highest
fifteen position for each one of the 37 notes. frequency that our program will generate; our highest
frequency corresponds to Mi6 that is calculated with n=19
This array that has the spectrum amplitudes has the form and corresponds to a frequency of 1318.5 Hz, so our sampling
of : frequency has to be at least 2637 Hz.
[0.5f f 1.5f 2f 2.5f 3f 3.5f 4f 4.5f 5f 5.5f 6f 6.5f 7f 7.5f] Because of that we decided to use a sampling frequency of
8000 Hz cause is necessary work with a standard frequency
and 8000 Hz is the closest to the ours.
D. Surrounding
[8] Surrounding is the name of the time development of a
In the equation (6) we have the relation between the specific sound and it is compound of:
fundamental frequency and the fourteen used partials. [7] in
low pitched sound notes there will be empty positions of the Attack: is the time between the starts of the sound
array because it will have a reduced number of harmonics but and the time the it takes to achieve the maximum
in high pitched sound notes there will be even more that amplitude, attack is denominated as transition
fifteen harmonics, so for this reason we it is decided that the because it has very short time duration.
array has a sufficient number of position to be able to simulate
the sound in an more accurate way. Decay: is the time that it takes to reduce the
amplitude from the maximum value to the sustain
Table II shows the spectral information used in our sixth
value.
octave synthesis.
TABLE II. SIXTH OCTAVE PARTIAL AMPLITUDES Sustain: in this time the sound keeps constant until it
stops to introduce vibration in the instrument.
Do6 Do#6 Re6 Re#6 Mi6
f/2 0.0121 0.0085 0.0116 0.0190 0.0095 Release: is the time that it takes to the sound in
f 0.0140 0.0074 0.0121 0.0016 0.0042 reduce its amplitude until it can not be heard
anymore, after the vibration has stop.
3f/2 0.0016 0.0007 0.0004 0.0037 0.0059
2f 0.0088 0.0008 0.0182 0.0051 0.0088
5f/2 0.0072 0.0012 0.0020 0.0017 0.0008 Surrounding is a very important characteristic of the
3f 0.0004 0.0006 0.0022 0.0002 0.0012 sound because with the harmonics conforms the timbre of the
7f/2 0.0002 0.0006 0.0007 0.0034 0.0053 sound that allow to differentiate one sound of others.
4f 0.0011 0.0002 0.0014 0.0038 0.0021
In other words surrounding allow us for example
9f/2 0.0019 0.0025 0.0013 0.0008 0.0008 differentiate a piano from a guitar or human voice from a
5f 0.0021 0.0016 0.0030 0.0027 0.0002 trombone.
11f/2 0.0011 0.0004 0.0013 0.0009 0.0004
6f 0.0009 0.0018 0.0025 0.0003 0.0005 In our synthesis we have decided to use an exponential
surrounding for each note generated, we decided this because
13f/2 0.0006 0.0004 0.0036 0.0001 0.0003
we thought that it was a good compromise between the
7f 0.0004 0 0.0007 0.0001 0.0001 accurate timbre achieves and the complexity of our
15f/2 0.0004 0.0001 0.0002 0.0002 0.0001 programming code.
4
As we can observe in equation (8) this surrounding has a
decay slope given for the maximum sample of the synthesized
note Fig.4 shows an example of this surrounding for a one
second note duration.
Fig 6. FFT of Sol3 Generated with Additve Synthesis (red) and FFT of Sol3
Generated with an Online Synthesizer (blue).
V. CONCLUSIONS
When we executed our program we were able to hear that
Fig 4. Exponential Surrouding with one Second of Duration before surrounding was added to the note, this generate note
sounds like a pure and constant tone, but when we applied the
exponential surrounding to the note it can be perceive a better
accurate with the real sound timbre. But despite of that we do
not achieve to reproduce the characteristic sound of a guitar,
E. Spectrum Comparison this is because in additive synthesis is very important to use
Fig 5 shows the spectrum of Sol in the third octave, we different surroundings that will handle the different partial
obtained the expected results, it can be seen how the highest amplitudes.
delta corresponds to the fundamental frequency and it is
according to the theoretical expected value of 196 Hz.
REFERENCES
[2] http://www.guitarmonia.es/teoria-musical/armonico/
[3] https://guitarbend.com/132-lutheria-fisica-de-
guitarra/719-teoria-de-cuerdas-1-inarmonicidad-longitud-
de-escala-calibre-de-cuerdas-por-que-es-mejor-una-
guitarra-multi-escala.html.
[4] https://es.wikipedia.org/wiki/Inarmon%C3%ADa
[5] https://guitarbend.com/132-lutheria-fisica-de-
guitarra/796-teoria-de-cuerdas-2-inarmonicidad-longitud-
de-escala-calibre-de-cuerdas-por-que-es-mejor-una-
guitarra-multi-escala.html.
[6] Francisco José Molina García. (2010). Desarrollo de una
Fig 5. FFT of Sol3 Generated with Additve Synthesis
aplicación de secuenciado MIDI en MatLab. 1/10/2016,
de Universidad de Valencia Sitio web:
https://riunet.upv.es/bitstream/handle/10251/9525/memori
a.pdf
[7] Francisco José Molina García. (2010). Desarrollo de una
Also in Fig 6 it can be observed a comparative between aplicación de secuenciado MIDI en MatLab. 1/10/2016,
Sol in the third octave FFT synthesized for our additive de Universidad de Valencia Sitio web:
https://riunet.upv.es/bitstream/handle/10251/9525/memori
synthesis Matlab program and Sol in the third octave a.pdf
synthesized for an online synthesizer that we found in [9]. [8] http://blog.7notasestudio.com/guia-compresion-ataque-y-
release/
[9] http://www.freeecardgreeting.net/home/acoustic_guitar_o
nline_spanish.php
5
6