Karplus–Strong string synthesis

Karplus–Strong string synthesis is a method of physical modelling synthesis that loops a short waveform through a filtered delay line to simulate the sound of a hammered or plucked string or some types of percussion.

At first glance, this technique can be viewed as subtractive synthesis based on a feedback loop similar to that of a comb filter for z-transform analysis. However, it can also be viewed as the simplest class of wavetable-modification algorithms now known as digital waveguide synthesis, because the delay line acts to store one period of the signal.

Alexander Strong invented the algorithm, and Kevin Karplus did the first analysis of how it worked. Together they developed software and hardware implementations of the algorithm, including a custom VLSI chip. They named the algorithm "Digitar" synthesis, as a portmanteau for "digital guitar".

How it works


  1. A short excitation waveform (of length L samples) is generated. In the original algorithm, this was a burst of white noise, but it can also include any wideband signal, such as a rapid sine wave chirp or frequency sweep, or a single cycle of a sawtooth wave or square wave.
  2. This excitation is output and simultaneously fed back into a delay line L samples long.
  3. The output of the delay line is fed through a filter. The gain of the filter must be less than 1 at all frequencies, to maintain a stable positive feedback loop. The filter can be a first-order lowpass filter (as pictured). In the original algorithm, the filter consisted of averaging two adjacent samples, a particularly simple filter that can be implemented without a multiplier, requiring only shift and add operations. The filter characteristics are crucial in determining the harmonic structure of the decaying tone.
  4. The filtered output is simultaneously mixed into the output and fed back into the delay line.

Tuning the string

The fundamental frequency (specifically, the lowest nonzero resonant frequency) of the resulting signal is the lowest frequency at which the unwrapped phase response of the delay and filter in cascade is . The required phase delay D for a given fundamental frequency F0 is therefore calculated according to D = Fs/F0 where Fs is the sampling frequency.

The length of any digital delay line is a whole-number multiple of the sampling period. In order to obtain a fractional delay often needed for fine tuning the string below JND (Just Noticeable Difference), interpolating filters are used with parameters selected to obtain an appropriate phase delay at the fundamental frequency. Either IIR or FIR filters may be used, but FIR have the advantage that transients are suppressed if the fractional delay is changed over time. The most elementary fractional delay is the linear interpolation between two samples (e.g., s(4.2) = 0.8s(4) + 0.2s(5)). If the phase delay varies with frequency, harmonics may be sharpened or flattened relative to the fundamental frequency. The original algorithm used equal weighting on two adjacent samples, as this can be achieved without multiplication hardware, allowing extremely cheap implementations.

Z-transform analysis can be used to get the pitches and decay times of the harmonics more precisely, as explained in the 1983 paper that introduced the algorithm.

A demonstration of the Karplus-Strong algorithm can be heard in the following Vorbis file. The algorithm used a loop gain of 0.98 with increasingly attenuating first order lowpass filters. The pitch of the note was A2, or 220 Hz.

Holding the period (= length of the delay line) constant produces vibrations similar to those of a string or bell. Increasing the period sharply after the transient input produces drum-like sounds.

Refinements to the algorithm

Due to its plucked-string sound in certain modes, Alex Strong and Kevin Karplus conjectured that the Karplus-Strong (KS) algorithm was in some sense a vibrating string simulation, and they worked on showing that it solved the wave equation for the vibrating string, but this was not completed.[1] Julius O. Smith III [1] recognized that the transfer-function of the KS, when viewed as a digital filter, coincided with that of a vibrating string, with the filter in the feedback loop representing the total string losses over one period.[2] He later derived the KS algorithm as a special case of digital waveguide synthesis, which was used to model acoustic waves in strings, tubes, and membranes. The first set of extensions and generalizations of the Karplus-Strong Algorithm, typically known as the Extended Karplus-Strong (EKS) Algorithm, was presented in a paper in 1982 at the International Computer Music Conference in Venice, Italy,[citation needed] and published in more detail in 1983 in Computer Music Journal in an article entitled "Extensions of the Karplus Strong Plucked String Algorithm," by David A. Jaffe and Julius O. Smith,[3] and in Smith's PhD/EE dissertation.[2]

Alex Strong developed a superior wavetable-modification method for plucked-string synthesis, but only published it as a patent.[4][clarification needed]

Musical applications

The first musical use of the algorithm was in the work May All Your Children Be Acrobats written in 1981 by David A. Jaffe, and scored for eight guitars, mezzo-soprano and computer-generated stereo tape, with a text based on Carl Sandburg's The People, Yes. Jaffe continued to explore the musical and technical possibilities of the algorithm in Silicon Valley Breakdown, for computer-generated plucked strings (1982), as well as in later works such as Telegram to the President, 1984 for string quartet and tape, and Grass for female chorus and tape (1987).

The patent was licensed first to Mattel Electronics, which failed as a company before any product using the algorithm was developed, then to a startup company founded by some of the laid-off Mattel executives. They never got sufficient funding to finish development, and so never brought a product to market either. Eventually Yamaha licensed the patent, as part of the Sondius package of patents from Stanford. It is unknown whether any hardware using the algorithm was ever sold, though many software implementations (which did not pay any license fees to the inventors) have been released.

While they may not adhere strictly to the algorithm, many hardware components for modular systems have been commercially produced that invoke the basic principles of Karplus-Strong Synthesis: using an inverted, scaled control system for very small time values in a filtered delay line to create playable notes in the Western Tempered tuning system, controlled with volt per octave tracking or MIDI data. The Inventors were not specifically credited, though the term "Karplus-Strong Synthesis" is referenced in some of the manuals.

Hardware components capable of Karplus-Strong style synthesis include the Moog Clusterflux 108M, Mutable Instruments Elements and Rings, 4ms Company Dual Looping Delay, 2HP Pluck, Make Noise Mimeophon, Arturia MicroFreak, Non Linear Circuits Is Carp Lust Wrong?, and the Strymon Starlab.

See also

References

Citations
  1. ^ Karplus & Strong 1983
  2. ^ a b Public Domain This article incorporates text from a publication now in the public domainSmith, William, ed. (1870). Dictionary of Greek and Roman Antiquities. London: John Murray. {{cite encyclopedia}}: Missing or empty |title= (help)
  3. ^ Jaffe & Smith 1983
  4. ^ "inventor:(Alexander R. Strong)". Google Patents. Retrieved 2019-07-17.
Bibliography
  • Smith, Julius O. (1983). Techniques for Digital Filter Design and System Identification, with Application to the Violin (PhD/EE). Stanford University.
  • Moore, F. Richard (1990). Elements of Computer Music. Upper Saddle River: Prentice-Hall. ISBN 0-13-252552-6.

Read other articles:

Produk aspirin di Kanada, dimana ada versi yang dibuat perusahaan ternama (Bayer, kiri) dan versi private label (kanan). Produk ikan asin yang dijual dalam private label milik Carrefour di Indonesia, Paling Murah. Private label (dalam bahasa Indonesia artinya merek pribadi)[1] merupakan istilah yang digunakan dalam dunia ritel untuk menyebut sebuah merek yang dimiliki dan dikelola sendiri oleh bisnis ritel modern (seperti minimarket, supermarket, hipermarket, toserba, dll). Sebuah tok...

 

Untuk penyair Inggris, lihat Elizabeth Bentley (penulis). Untuk other people, lihat Elizabeth Bentley (disambiguasi). Elizabeth BentleyElizabeth Bentley pada tahun 1948AliansiUni Soviet (membelot)Amerika SerikatPelayananPartai Komunis Amerika Serikat (membelot) FBINama kodeGregoryNama lahirElizabeth Terrill BentleyKelahiran(1908-01-01)1 Januari 1908New Milford, Connecticut, ASMeninggal3 Desember 1963(1963-12-03) (umur 55)Grace-New Haven Hospital, New Haven, Connecticut, ASKebangsaanAmeri...

 

Untuk gedung di Kuala Lumpur, lihat Gedung Sultan Abdul Samad. Sultan Abdul SamadSultan SelangorBerkuasa6 Januari 1857 - 6 Februari 1898Penobatan6 Januari 1857PendahuluMuhammad ShahRaja MudaSulaiman Shah MusaKelahiran1804Bukit Melawati, SelangorKematian6 Februari 1898Jugra, SelangorNama lengkapAlmarhum Sultan Sir Abdul Samad ibni Almarhum Raja AbdullahAyahRaja Abdullah Ibrahim Shah, Tengku Panglima Besar dari SelangorIstriChe Puan SelangorAtfah Binti Muhammad ShahAnakRaja Tipah Raja Munah Raj...

Doliops frosti Klasifikasi ilmiah Kerajaan: Animalia Filum: Arthropoda Kelas: Insecta Ordo: Coleoptera Famili: Cerambycidae Genus: Doliops Spesies: Doliops frosti Beberapa atau seluruh referensi dari artikel ini mungkin tidak dapat dipercaya kebenarannya. Bantulah dengan memberikan referensi yang lebih baik atau dengan memeriksa apakah referensi telah memenuhi syarat sebagai referensi tepercaya. Referensi yang tidak benar dapat dihapus sewaktu-waktu. Doliops frosti adalah spesies kumbang tan...

 

Feyenoord RotterdamCalcio Campione dei Paesi Bassi in carica De club van het volk (Il club del popolo[1])De stadionclub (Il club dello stadio)De club aan de Maas (Il club lungo la Mosa)De club van Zuid (Il club del sud) Segni distintivi Uniformi di gara Casa Trasferta Terza divisa Colori sociali Bianco · rosso Dati societari Città Rotterdam Nazione  Paesi Bassi Confederazione UEFA Federazione KNVB Campionato Eredivisie Fondazione 1908 Presidente Toon van Bodegom Allenator...

 

Pour les articles homonymes, voir Margarine (homonymie). Margarine De la margarine en pot. Ingrédients Émulsion d'eau dans de l'huile. modifier  La margarine est une émulsion d'eau et d'huile végétale stabilisée par l’addition d’émulsifiants et dont la teneur en lipides peut varier de 10 à 90 % en poids. Son invention remonte au milieu du XIXe siècle et sa production augmente notablement à partir des années 1880-1890. Vue comme un substitut du beurre, elle fut l...

Fried rice dish from the Philippines Not to be confused with Nasi goreng jawa, the Javanese fried rice made with raw chili sambal. Java rice Top: Plain java rice from Goldilocks Bakeshop, Bottom: Java rice with pimiento from Kenny Rogers RoastersAlternative namesYellow fried riceTypeFried RiceCoursePart of Main course, Side dishPlace of originPhilippinesCreated byFilipino cuisineServing temperatureWarmMain ingredientsRice, Annatto or Turmeric, Garlic and/or onionIngredients generally use...

 

Questa voce sull'argomento calciatori guineani è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Ibrahima Conté Nazionalità  Guinea Altezza 191 cm Peso 82 kg Calcio Ruolo Difensore Squadra  UTA Arad CarrieraGiovanili  SatelliteSquadre di club1 2015-2018 Lorient 233 (3)2016-2018 Lorient26 (2)2018-2019→  Niort18 (2)2019 Lorient0 (0)2019-2023 Niort68 (1)2020-2022&...

 

土库曼斯坦总统土库曼斯坦国徽土库曼斯坦总统旗現任谢尔达尔·别尔德穆哈梅多夫自2022年3月19日官邸阿什哈巴德总统府(Oguzkhan Presidential Palace)機關所在地阿什哈巴德任命者直接选举任期7年,可连选连任首任萨帕尔穆拉特·尼亚佐夫设立1991年10月27日 土库曼斯坦土库曼斯坦政府与政治 国家政府 土库曼斯坦宪法 国旗 国徽 国歌 立法機關(英语:National Council of Turkmenistan) ...

سفارة العراق في طهران ‌ البلد إيران  المقر الرئيسي شارع ولي عصر، طهران  إيران السفير نصير عبد المحسن عبد الله الإحداثيات 35°42′37″N 51°24′21″E / 35.71028°N 51.40583°E / 35.71028; 51.40583 تعديل مصدري - تعديل   سفارة العراق في طهران (بالفارسية: سفارت عراق در تهران) هي السفارة ا�...

 

Study of regulatory and purposive systems in the Marxist-Leninist state The first Russian edition of Norbert Wiener's Cybernetics from 1958. 1958 was a watershed year for the study of cybernetics in the Soviet Union, also seeing a translation of Wiener's The Human Use of Human Beings and the launch of Problems of Cybernetics, a Soviet journal dedicated to the study of cybernetics.[1] Cybernetics in the Soviet Union had its own particular characteristics, as the study of cybernetics ca...

 

British-based gambling company Sky Betting & GamingCompany typeLimited companyIndustryOnline gambling and gamingHeadquartersLeedsProductsSports betting, online poker, online casino, online bingo, odds comparison service, fantasy football and football predictor gameOwnerFlutter Entertainment Sky Betting & Gaming is a British-based gambling company, owned by Flutter Entertainment, with headquarters in Leeds, West Yorkshire and offices in Sheffield & Solihull. Sky Betting & Gamin...

Textural form of igneous rock with large grained crystals in a fine matrix This article is about the igneous rock. For other uses, see Porphyry. Not to be confused with Copper porphyry. Imperial Porphyry from the Red Sea Mountains of Egypt A waterworn cobble of porphyry Rhyolite porphyry from Colorado; scale bar in lower left is 1 cm (0.39 in) Porphyry (/ˈpɔːrfəri/ POR-fə-ree) is any of various granites or igneous rocks with coarse-grained crystals such as feldspar or quartz di...

 

Main article: Archery at the 2019 SEA Games Archery at the2019 SEA GamesRecurveIndividualmenwomenTeammenwomenmixedCompoundIndividualmenwomenTeammenwomenmixedvte The archery competitions at the 2019 SEA Games in Philippines took place at Clark Parade Grounds in Mabalacat, Philippines from 5 to 9 December 2019.[1] The 2019 Games featured competitions in ten events (men 4 events, women 4 events and mixed 2 events). Men's individual recurve Men's individual recurve at the 2019 SEA G...

 

City in Canada For the surrounding rural municipality, see Rural Municipality of Moose Jaw No. 161. For the film, see True North trilogy. City in Saskatchewan, CanadaMoose JawCityCity of Moose JawCity HallNicknames: The Jaw, Band City, Little Chicago, Canada's Most Notorious City[1][2][3]Moose JawLocation of Moose JawCoordinates: 50°23′36″N 105°33′07″W / 50.39333°N 105.55194°W / 50.39333; -105.55194CountryCanadaProvinceSaskatche...

Bilateral relationsIndia-Liechtenstein relations India Liechtenstein Prince Alois meeting with President Ram Nath Kovind at Rashtrapati Bhavan, New Delhi; October 2018. India–Liechtenstein relations refers to the bilateral relations between India and Liechtenstein. The Embassy of India in Bern, Switzerland is concurrently accredited to Liechtenstein.[1] Liechtenstein maintains an honorary consul general in New Delhi.[2] Under a 1919 agreement between Liechtenstein and Switze...

 

若非特別註明,本條目所有時間皆為東九區標準時間(UTC+9)。 THE ALBUMBLACKPINK的录音室专辑发行日期2020年10月2日 (2020-10-02)录制时间2020年类型 韓國流行音樂 嘻哈 流行舞曲 语言韓語、英語唱片公司 YG 新視鏡唱片 制作人 泰迪 Tommy Brown Mr. Franks R. Tee 24 BLACKPINK韓國专辑年表 Kill This Love(2019年) THE ALBUM(2020年) BORN PINK(2022年) BLACKPINK正規專輯年表 Blackpink in Your Area(2018年...

 

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: McLeod's Daughters – news · newspapers · books · scholar · JSTOR (July 2024) (Learn how and when to remove this message) 2001-2009 Popular Australian TV dramatic series This article is about the television series. For the 1996 film, see McLeod's Daughters (film...

Questa voce sull'argomento calciatori italiani è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Attilio ValobraNazionalità Italia Calcio RuoloCentrocampista Termine carriera1924 CarrieraSquadre di club1 1909-1910 Juventus II3 (1)1910-1911 Juventus9 (0)1911-1914 Piemonte? (?)1914-1924 Torino46 (0) Nazionale 1913 Italia1 (0) 1 I due numeri indicano le presenze e le reti segnate, ...

 

Food website operated by Vox Media EaterOwnerVox Media IndependentURLeater.comLaunchedJuly 2005; 19 years ago (2005-07)[1] Eater is a food website by Vox Media. It was co-founded by Lockhart Steele and Ben Leventhal in 2005, and originally focused on dining and nightlife in New York City. Eater launched a national site in 2009, and covered nearly 20 cities by 2012. Vox Media acquired Eater, along with two others comprising the Curbed Network, in late 2013. In 20...