Английская Википедия:Additive synthesis

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:Use dmy dates Шаблон:Listen Additive synthesis is a sound synthesis technique that creates timbre by adding sine waves together.[1][2]

The timbre of musical instruments can be considered in the light of Fourier theory to consist of multiple harmonic or inharmonic partials or overtones. Each partial is a sine wave of different frequency and amplitude that swells and decays over time due to modulation from an ADSR envelope or low frequency oscillator.

Additive synthesis most directly generates sound by adding the output of multiple sine wave generators. Alternative implementations may use pre-computed wavetables or the inverse fast Fourier transform.

Explanation

The sounds that are heard in everyday life are not characterized by a single frequency. Instead, they consist of a sum of pure sine frequencies, each one at a different amplitude. When humans hear these frequencies simultaneously, we can recognize the sound. This is true for both "non-musical" sounds (e.g. water splashing, leaves rustling, etc.) and for "musical sounds" (e.g. a piano note, a bird's tweet, etc.). This set of parameters (frequencies, their relative amplitudes, and how the relative amplitudes change over time) are encapsulated by the timbre of the sound. Fourier analysis is the technique that is used to determine these exact timbre parameters from an overall sound signal; conversely, the resulting set of frequencies and amplitudes is called the Fourier series of the original sound signal.

In the case of a musical note, the lowest frequency of its timbre is designated as the sound's fundamental frequency. For simplicity, we often say that the note is playing at that fundamental frequency (e.g. "middle C is 261.6 Hz"),[3] even though the sound of that note consists of many other frequencies as well. The set of the remaining frequencies is called the overtones (or the harmonics, if their frequencies are integer multiples of the fundamental frequency) of the sound.[4] In other words, the fundamental frequency alone is responsible for the pitch of the note, while the overtones define the timbre of the sound. The overtones of a piano playing middle C will be quite different from the overtones of a violin playing the same note; that's what allows us to differentiate the sounds of the two instruments. There are even subtle differences in timbre between different versions of the same instrument (for example, an upright piano vs. a grand piano).

Additive synthesis aims to exploit this property of sound in order to construct timbre from the ground up. By adding together pure frequencies (sine waves) of varying frequencies and amplitudes, we can precisely define the timbre of the sound that we want to create.

Definitions

Шаблон:See also

Файл:Additive synthesis.svg
Schematic diagram of additive synthesis. The inputs to the oscillators are frequencies <math>f_k</math> and amplitudes <math>r_k</math>.

Harmonic additive synthesis is closely related to the concept of a Fourier series which is a way of expressing a periodic function as the sum of sinusoidal functions with frequencies equal to integer multiples of a common fundamental frequency. These sinusoids are called harmonics, overtones, or generally, partials. In general, a Fourier series contains an infinite number of sinusoidal components, with no upper limit to the frequency of the sinusoidal functions and includes a DC component (one with frequency of 0 Hz). Frequencies outside of the human audible range can be omitted in additive synthesis. As a result, only a finite number of sinusoidal terms with frequencies that lie within the audible range are modeled in additive synthesis.

A waveform or function is said to be periodic if

<math> y(t) = y(t+P) </math>

for all <math> t </math> and for some period <math> P </math>.

The Fourier series of a periodic function is mathematically expressed as:

<math> \begin{align}
 y(t) &= \frac{a_0}{2} + \sum_{k=1}^{\infty} \left[ a_k \cos(2 \pi k f_0 t ) - b_k \sin(2 \pi k f_0 t ) \right] \\
      &= \frac{a_0}{2} + \sum_{k=1}^{\infty} r_k \cos\left(2 \pi k f_0 t + \phi_k \right) \\
  \end{align} </math>

where

  • <math>f_0 = 1/P</math> is the fundamental frequency of the waveform and is equal to the reciprocal of the period,
  • <math>a_k = r_k \cos(\phi_k) = 2 f_0 \int_{0}^P y(t) \cos(2 \pi k f_0 t)\, dt, \quad k \ge 0</math>
  • <math>b_k = r_k \sin(\phi_k) = -2 f_0 \int_{0}^P y(t) \sin(2 \pi k f_0 t)\, dt, \quad k \ge 1</math>
  • <math>r_k = \sqrt{a_k^2 + b_k^2}</math> is the amplitude of the <math>k</math>th harmonic,
  • <math>\phi_k = \operatorname{atan2}(b_k, a_k)</math> is the phase offset of the <math>k</math>th harmonic. atan2 is the four-quadrant arctangent function,

Being inaudible, the DC component, <math>a_0/2</math>, and all components with frequencies higher than some finite limit, <math>K f_0</math>, are omitted in the following expressions of additive synthesis.

Harmonic form

The simplest harmonic additive synthesis can be mathematically expressed as:

Шаблон:NumBlk

where <math>y(t)</math> is the synthesis output, <math>r_k</math>, <math>k f_0</math>, and <math>\phi_k</math> are the amplitude, frequency, and the phase offset, respectively, of the <math>k</math>th harmonic partial of a total of <math>K</math> harmonic partials, and <math>f_0</math> is the fundamental frequency of the waveform and the frequency of the musical note.

Time-dependent amplitudes

Файл:Harmonic additive synthesis spectrum.png Example of harmonic additive synthesis in which each harmonic has a time-dependent amplitude. The fundamental frequency is 440 Hz.

noicon Problems listening to this file? See Media help

More generally, the amplitude of each harmonic can be prescribed as a function of time, <math>r_k(t)</math>, in which case the synthesis output is

Шаблон:NumBlk

Each envelope <math>r_k(t)\,</math> should vary slowly relative to the frequency spacing between adjacent sinusoids. The bandwidth of <math>r_k(t)</math> should be significantly less than <math>f_0</math>.

Inharmonic form

Additive synthesis can also produce inharmonic sounds (which are aperiodic waveforms) in which the individual overtones need not have frequencies that are integer multiples of some common fundamental frequency.[5][6] While many conventional musical instruments have harmonic partials (e.g. an oboe), some have inharmonic partials (e.g. bells). Inharmonic additive synthesis can be described as

<math>y(t) = \sum_{k=1}^{K} r_k(t) \cos\left(2 \pi f_k t + \phi_k \right),</math>

where <math>f_k</math> is the constant frequency of <math>k</math>th partial.

Файл:Inharmonic additive synthesis spectrum.png Example of inharmonic additive synthesis in which both the amplitude and frequency of each partial are time-dependent.

noicon Problems listening to this file? See Media help

Time-dependent frequencies

In the general case, the instantaneous frequency of a sinusoid is the derivative (with respect to time) of the argument of the sine or cosine function. If this frequency is represented in hertz, rather than in angular frequency form, then this derivative is divided by <math>2 \pi</math>. This is the case whether the partial is harmonic or inharmonic and whether its frequency is constant or time-varying.

In the most general form, the frequency of each non-harmonic partial is a non-negative function of time, <math>f_k(t)</math>, yielding

Шаблон:NumBlk

Broader definitions

Additive synthesis more broadly may mean sound synthesis techniques that sum simple elements to create more complex timbres, even when the elements are not sine waves.[7][8] For example, F. Richard Moore listed additive synthesis as one of the "four basic categories" of sound synthesis alongside subtractive synthesis, nonlinear synthesis, and physical modeling.[8] In this broad sense, pipe organs, which also have pipes producing non-sinusoidal waveforms, can be considered as a variant form of additive synthesizers. Summation of principal components and Walsh functions have also been classified as additive synthesis.[9]

Implementation methods

Modern-day implementations of additive synthesis are mainly digital. (See section Discrete-time equations for the underlying discrete-time theory)

Oscillator bank synthesis

Additive synthesis can be implemented using a bank of sinusoidal oscillators, one for each partial.[1]

Wavetable synthesis

Шаблон:Main In the case of harmonic, quasi-periodic musical tones, wavetable synthesis can be as general as time-varying additive synthesis, but requires less computation during synthesis.[10][11] As a result, an efficient implementation of time-varying additive synthesis of harmonic tones can be accomplished by use of wavetable synthesis.

Group additive synthesis

Group additive synthesis[12][13][14] is a method to group partials into harmonic groups (having different fundamental frequencies) and synthesize each group separately with wavetable synthesis before mixing the results.

Inverse FFT synthesis

An inverse fast Fourier transform can be used to efficiently synthesize frequencies that evenly divide the transform period or "frame". By careful consideration of the DFT frequency-domain representation it is also possible to efficiently synthesize sinusoids of arbitrary frequencies using a series of overlapping frames and the inverse fast Fourier transform.[15]

Additive analysis/resynthesis

Файл:Sinusoidal Analysis & Synthesis (McAulay-Quatieri 1988).svg
Sinusoidal analysis/synthesis system for Sinusoidal Modeling (based on Шаблон:Harvnb)[16]

It is possible to analyze the frequency components of a recorded sound giving a "sum of sinusoids" representation. This representation can be re-synthesized using additive synthesis. One method of decomposing a sound into time varying sinusoidal partials is short-time Fourier transform (STFT)-based McAulay-Quatieri Analysis.[17][18]

By modifying the sum of sinusoids representation, timbral alterations can be made prior to resynthesis. For example, a harmonic sound could be restructured to sound inharmonic, and vice versa. Sound hybridisation or "morphing" has been implemented by additive resynthesis.[19]

Additive analysis/resynthesis has been employed in a number of techniques including Sinusoidal Modelling,[20] Spectral Modelling Synthesis (SMS),[19] and the Reassigned Bandwidth-Enhanced Additive Sound Model.[21] Software that implements additive analysis/resynthesis includes: SPEAR,[22] LEMUR, LORIS,[23] SMSTools,[24] ARSS.[25]

Products

Шаблон:Multiple image

New England Digital Synclavier had a resynthesis feature where samples could be analyzed and converted into "timbre frames" which were part of its additive synthesis engine. Technos acxel, launched in 1987, utilized the additive analysis/resynthesis model, in an FFT implementation.

Also a vocal synthesizer, Vocaloid have been implemented on the basis of additive analysis/resynthesis: its spectral voice model called Excitation plus Resonances (EpR) model[26][27] is extended based on Spectral Modeling Synthesis (SMS), and its diphone concatenative synthesis is processed using spectral peak processing (SPP)[28] technique similar to modified phase-locked vocoder[29] (an improved phase vocoder for formant processing).[30] Using these techniques, spectral components (formants) consisting of purely harmonic partials can be appropriately transformed into desired form for sound modeling, and sequence of short samples (diphones or phonemes) constituting desired phrase, can be smoothly connected by interpolating matched partials and formant peaks, respectively, in the inserted transition region between different samples. (See also Dynamic timbres)

Applications

Musical instruments

Шаблон:Main

Additive synthesis is used in electronic musical instruments. It is the principal sound generation technique used by Eminent organs.

Speech synthesis

Шаблон:Main

In linguistics research, harmonic additive synthesis was used in 1950s to play back modified and synthetic speech spectrograms.[31]

Later, in early 1980s, listening tests were carried out on synthetic speech stripped of acoustic cues to assess their significance. Time-varying formant frequencies and amplitudes derived by linear predictive coding were synthesized additively as pure tone whistles. This method is called sinewave synthesis.[32][33] Also the composite sinusoidal modeling (CSM)[34][35] used on a singing speech synthesis feature on Yamaha CX5M (1984), is known to use a similar approach which was independently developed during 1966–1979.[36][37] These methods are characterized by extraction and recomposition of a set of significant spectral peaks corresponding to the several resonance modes occurred in the oral cavity and nasal cavity, in a viewpoint of acoustics. This principle was also utilized on a physical modeling synthesis method, called modal synthesis.[38][39][40][41]

History

Шаблон:Multiple image

Harmonic analysis was discovered by Joseph Fourier,[42] who published an extensive treatise of his research in the context of heat transfer in 1822.[43] The theory found an early application in prediction of tides. Around 1876,[44] William Thomson (later ennobled as Lord Kelvin) constructed a mechanical tide predictor. It consisted of a harmonic analyzer and a harmonic synthesizer, as they were called already in the 19th century.[45][46] The analysis of tide measurements was done using James Thomson's integrating machine. The resulting Fourier coefficients were input into the synthesizer, which then used a system of cords and pulleys to generate and sum harmonic sinusoidal partials for prediction of future tides. In 1910, a similar machine was built for the analysis of periodic waveforms of sound.[47] The synthesizer drew a graph of the combination waveform, which was used chiefly for visual validation of the analysis.[47]

Шаблон:Multiple image

Georg Ohm applied Fourier's theory to sound in 1843. The line of work was greatly advanced by Hermann von Helmholtz, who published his eight years worth of research in 1863.[48] Helmholtz believed that the psychological perception of tone color is subject to learning, while hearing in the sensory sense is purely physiological.[49] He supported the idea that perception of sound derives from signals from nerve cells of the basilar membrane and that the elastic appendages of these cells are sympathetically vibrated by pure sinusoidal tones of appropriate frequencies.[47] Helmholtz agreed with the finding of Ernst Chladni from 1787 that certain sound sources have inharmonic vibration modes.[49]

Шаблон:Multiple image

In Helmholtz's time, electronic amplification was unavailable. For synthesis of tones with harmonic partials, Helmholtz built an electrically excited array of tuning forks and acoustic resonance chambers that allowed adjustment of the amplitudes of the partials.[50] Built at least as early as in 1862,[50] these were in turn refined by Rudolph Koenig, who demonstrated his own setup in 1872.[50] For harmonic synthesis, Koenig also built a large apparatus based on his wave siren. It was pneumatic and utilized cut-out tonewheels, and was criticized for low purity of its partial tones.[44] Also tibia pipes of pipe organs have nearly sinusoidal waveforms and can be combined in the manner of additive synthesis.[44]

In 1938, with significant new supporting evidence,[51] it was reported on the pages of Popular Science Monthly that the human vocal cords function like a fire siren to produce a harmonic-rich tone, which is then filtered by the vocal tract to produce different vowel tones.[52] By the time, the additive Hammond organ was already on market. Most early electronic organ makers thought it too expensive to manufacture the plurality of oscillators required by additive organs, and began instead to build subtractive ones.[53] In a 1940 Institute of Radio Engineers meeting, the head field engineer of Hammond elaborated on the company's new Novachord as having a "subtractive system" in contrast to the original Hammond organ in which "the final tones were built up by combining sound waves".[54] Alan Douglas used the qualifiers additive and subtractive to describe different types of electronic organs in a 1948 paper presented to the Royal Musical Association.[55] The contemporary wording additive synthesis and subtractive synthesis can be found in his 1957 book The electrical production of music, in which he categorically lists three methods of forming of musical tone-colours, in sections titled Additive synthesis, Subtractive synthesis, and Other forms of combinations.[56]

A typical modern additive synthesizer produces its output as an electrical, analog signal, or as digital audio, such as in the case of software synthesizers, which became popular around year 2000.[57]

Timeline

The following is a timeline of historically and technologically notable analog and digital synthesizers and devices implementing additive synthesis.

Research implementation or publication Commercially available Company or institution Synthesizer or synthesis device Description Audio samples
1900[58] 1906[58] New England Electric Music Company Telharmonium The first polyphonic, touch-sensitive music synthesizer.[59] Implemented sinuosoidal additive synthesis using tonewheels and alternators. Invented by Thaddeus Cahill. no known recordings[58]
1933[60] 1935[60] Hammond Organ Company Hammond Organ An electronic additive synthesizer that was commercially more successful than Telharmonium.[59] Implemented sinusoidal additive synthesis using tonewheels and magnetic pickups. Invented by Laurens Hammond. Шаблон:Audio
1950 or earlier[31]   Haskins Laboratories Pattern Playback A speech synthesis system that controlled amplitudes of harmonic partials by a spectrogram that was either hand-drawn or an analysis result. The partials were generated by a multi-track optical tonewheel.[31] samples
1958[61]     ANS An additive synthesizer[62] that played microtonal spectrogram-like scores using multiple multi-track optical tonewheels. Invented by Evgeny Murzin. A similar instrument that utilized electronic oscillators, the Oscillator Bank, and its input device Spectrogram were realized by Hugh Le Caine in 1959.[63][64] Шаблон:Audio
1963[65]   MIT   An off-line system for digital spectral analysis and resynthesis of the attack and steady-state portions of musical instrument timbres by David Luce.[65]  
1964[66]   University of Illinois Harmonic Tone Generator An electronic, harmonic additive synthesis system invented by James Beauchamp.[66][67] samples (info)
1974 or earlier[68][69] 1974[68][69] RMI Harmonic Synthesizer The first synthesizer product that implemented additive[70] synthesis using digital oscillators.[68][69] The synthesizer also had a time-varying analog filter.[68] RMI was a subsidiary of Allen Organ Company, which had released the first commercial digital church organ, the Allen Computer Organ, in 1971, using digital technology developed by North American Rockwell.[71] 1 2 3 4
1974[72]   EMS (London) Digital Oscillator Bank A bank of digital oscillators with arbitrary waveforms, individual frequency and amplitude controls,[73] intended for use in analysis-resynthesis with the digital Analysing Filter Bank (AFB) also constructed at EMS.[72][73] Also known as: DOB. in The New Sound of Music[74]
1976[75] 1976[76] Fairlight Qasar M8 An all-digital synthesizer that used the fast Fourier transform[77] to create samples from interactively drawn amplitude envelopes of harmonics.[78] samples
1977[79]   Bell Labs Digital Synthesizer A real-time, digital additive synthesizer[79] that has been called the first true digital synthesizer.[80] Also known as: Alles Machine, Alice. sample (info)
1979[80] 1979[80] New England Digital Synclavier II A commercial digital synthesizer that enabled development of timbre over time by smooth cross-fades between waveforms generated by additive synthesis. Шаблон:Audio

Discrete-time equations

In digital implementations of additive synthesis, discrete-time equations are used in place of the continuous-time synthesis equations. A notational convention for discrete-time signals uses brackets i.e. <math>y[n]\,</math> and the argument <math>n\,</math> can only be integer values. If the continuous-time synthesis output <math>y(t)\,</math> is expected to be sufficiently bandlimited; below half the sampling rate or <math>f_\mathrm{s}/2\,</math>, it suffices to directly sample the continuous-time expression to get the discrete synthesis equation. The continuous synthesis output can later be reconstructed from the samples using a digital-to-analog converter. The sampling period is <math>T=1/f_\mathrm{s}\,</math>.

Beginning with (Шаблон:EquationNote),

<math>y(t) = \sum_{k=1}^{K} r_k(t) \cos\left(2 \pi \int_0^t f_k(u)\ du + \phi_k \right)</math>

and sampling at discrete times <math> t = nT = n/f_\mathrm{s} \,</math> results in

<math> \begin{align}
y[n] & = y(nT) = \sum_{k=1}^{K} r_k(nT) \cos\left(2 \pi \int_0^{nT} f_k(u)\ du + \phi_k \right) \\
     & = \sum_{k=1}^{K} r_k(nT) \cos\left(2 \pi \sum_{i=1}^{n} \int_{(i-1)T}^{iT} f_k(u)\ du + \phi_k \right) \\
     & = \sum_{k=1}^{K} r_k(nT) \cos\left(2 \pi \sum_{i=1}^{n} (T f_k[i]) + \phi_k \right) \\
     & = \sum_{k=1}^{K} r_k[n] \cos\left(\frac{2 \pi}{f_\mathrm{s}} \sum_{i=1}^{n} f_k[i] + \phi_k \right) \\
      \end{align} </math>

where

<math>r_k[n] = r_k(nT) \,</math> is the discrete-time varying amplitude envelope
<math>f_k[n] = \frac{1}{T} \int_{(n-1)T}^{nT} f_k(t)\ dt \,</math> is the discrete-time backward difference instantaneous frequency.

This is equivalent to

<math> y[n] = \sum_{k=1}^{K} r_k[n] \cos\left( \theta_k[n] \right) </math>

where

<math> \begin{align}
   \theta_k[n] &= \frac{2 \pi}{f_\mathrm{s}} \sum_{i=1}^{n} f_k[i] + \phi_k \\
               &= \theta_k[n-1] + \frac{2 \pi}{f_\mathrm{s}} f_k[n] \\
      \end{align} </math> for all <math>n>0\,</math>[15]

and

<math> \theta_k[0] = \phi_k. \,</math>

See also

References

Шаблон:Reflist

External links

Шаблон:Sound synthesis types

  1. 1,0 1,1 Шаблон:Cite web
  2. Шаблон:Cite journal
  3. Шаблон:Cite web
  4. Шаблон:Cite web
  5. Шаблон:Cite book (online reprint)
  6. Шаблон:Cite book
  7. Шаблон:Cite book
  8. 8,0 8,1 Шаблон:Cite book
  9. Шаблон:Cite book
  10. Шаблон:Cite web
  11. Шаблон:Cite journal
  12. Шаблон:Cite web
  13. Шаблон:Cite journal
  14. Шаблон:Cite book
  15. 15,0 15,1 Шаблон:Cite journal
  16. Шаблон:Cite journal
  17. Шаблон:Cite journal
  18. Шаблон:Cite web
  19. 19,0 19,1 Шаблон:Cite thesis
  20. Шаблон:Cite web
  21. Шаблон:Cite thesis
  22. SPEAR Sinusoidal Partial Editing Analysis and Resynthesis for Mac OS X, MacOS 9 and Windows
  23. Шаблон:Cite web
  24. SMSTools application for Windows
  25. ARSS: The Analysis & Resynthesis Sound Spectrograph
  26. Шаблон:Cite journal (PDF)
  27. Шаблон:Cite thesis (PDF).
    See "Excitation plus resonances voice model" (p. 51)
  28. Шаблон:Harvnb, "Spectral peak processing"
  29. Шаблон:Harvnb, "Phase locked vocoder"
  30. Шаблон:Cite journal
  31. 31,0 31,1 31,2 Шаблон:Cite journal
  32. Шаблон:Cite journal
  33. Шаблон:Cite journal
  34. Шаблон:Citation
  35. Шаблон:Cite conference
  36. Шаблон:Cite book
  37. Шаблон:Cite journal
  38. Шаблон:Cite book
  39. Шаблон:Cite journal
  40. Шаблон:Citation  (See also companion page)
  41. Шаблон:Cite journal
  42. Шаблон:Cite book
  43. Шаблон:Cite book
  44. 44,0 44,1 44,2 Шаблон:Cite book
  45. Шаблон:Cite journal
  46. Шаблон:Cite journal
  47. 47,0 47,1 47,2 Шаблон:Cite book
  48. Шаблон:Cite book
  49. 49,0 49,1 Шаблон:Cite book
  50. 50,0 50,1 50,2 Шаблон:Cite book
  51. Шаблон:Cite book
  52. Шаблон:Cite journal
  53. Шаблон:Cite journal
  54. Шаблон:Cite journal
  55. Шаблон:Cite journal
  56. Шаблон:Cite book
  57. Шаблон:Cite book
  58. 58,0 58,1 58,2 Шаблон:Cite book
  59. 59,0 59,1 Шаблон:Cite journal
  60. 60,0 60,1 Шаблон:Cite web
  61. Шаблон:Cite web
  62. Шаблон:Cite magazine
  63. Шаблон:Cite web
  64. Шаблон:Cite web
  65. 65,0 65,1 Шаблон:Cite thesis
  66. 66,0 66,1 Шаблон:Cite web
  67. Шаблон:Cite journal
  68. 68,0 68,1 68,2 68,3 Шаблон:Cite web
  69. 69,0 69,1 69,2 Шаблон:Cite journal
  70. Шаблон:Cite journal
  71. Шаблон:Cite web
  72. 72,0 72,1 Шаблон:Cite journal
  73. 73,0 73,1 Шаблон:Cite web
  74. Шаблон:Cite video Includes a demonstration of DOB and AFB.
  75. Шаблон:Cite journal
  76. Шаблон:Cite thesis
  77. Шаблон:Cite web
  78. Шаблон:Cite web
  79. 79,0 79,1 Шаблон:Cite book
  80. 80,0 80,1 80,2 Шаблон:Cite book