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:

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2022. Bagian dari seriHidangan Amerika Hidangan regional Timur Laut New England New Jersey Kota New York Philadelphia Midwestern Chicago Dakota Utara Omaha St. Louis Wisconsin Atlantik Tengah Baltimore Pittsburgh Selatan (daftar) Atlanta Cajun Floribbean Ken...

 

Inspektorat Jenderal Kementerian Keuangan Republik IndonesiaSusunan organisasiInspektur Jenderal[Awan Nurmawan Nuh]]Situs webhttp://itjen.kemenkeu.go.id/Inspektorat Jenderal Kementerian Keuangan Republik Indonesia atau disingkat dengan Itjen Kemenkeu RI merupakan unsur pengawas di Kementerian Keuangan Republik Indonesia. Itjen Kemenkeu RI dipimpin oleh seorang Inspektur Jenderal atau disingkat Irjen yang berada di bawah dan bertanggung jawab kepada Menteri Keuangan RI. Sejarah singkat In...

 

IrisPoster promosi untuk IrisGenreLagaRomansaThrillerDitulis olehKim Hyun-junJo Gyu-wonKim Jae-unSutradaraKim Kyu-taeYang Yun-hoPemeranLee Byung-hunKim Tae-heeJung Joon-hoKim Seung-wooKim So-yeonChoi Seung-hyunPenata musikYi Dong-junChoe Seong-gownNegara asalKorea SelatanBahasa asliKoreaInggrisJepangHungariaMandarinJmlh. musim1Jmlh. episode20ProduksiLokasi produksiSeoul, Korea SelatanAkita, JepangShanghai, TiongkokBudapest, HungariaDurasi60 menit Rabu dan Kamis pukul 21:55 (WSK)Rumah p...

State park in Plymouth County, Massachusetts Ellisville Harbor State ParkLocation in MassachusettsShow map of MassachusettsEllisville Harbor State Park (the United States)Show map of the United StatesLocationEllisville, Plymouth, Massachusetts, United StatesCoordinates41°50′34″N 70°32′13″W / 41.84278°N 70.53694°W / 41.84278; -70.53694[1]Area97 acres (39 ha)[2]Elevation0 ft (0 m)[1]Established1991Governing bodyMass...

 

2010–11 NCAA Division I men's ice hockey seasonThe Xcel Energy Center in Saint Paul, Minnesota hosted the 2011 Frozen FourDurationOctober 2, 2010–April 9, 2011NCAA tournament2011National championshipXcel Energy CenterSaint Paul, MinnesotaNCAA championMinnesota–DuluthHobey Baker AwardAndy Miele(Miami) List of NCAA Division I men's ice hockey seasons ← 2009–10 2011–12 → The 2010–11 NCAA Division I men's ice hockey season began on October 2, 2010 and c...

 

Former headquarters of Tyne Tees Television The Television CentreThe Studio building in 1999The Television CentreLocation within Tyne and WearAlternative namesCity RoadGeneral informationTypeTelevision studiosLocationOn City Road in the centre of Newcastle. Access from to offices and Studios 1-4 were separate to Studio 5.AddressCity Road, Newcastle upon Tyne, NE1 2ALCoordinates54°58′20″N 1°35′53″W / 54.972212°N 1.59799°W / 54.972212; -1.59799Inaugurated1959...

1954 film by Robert Zigler Leonard The Great Diamond RobberyDVD CoverDirected byRobert Z. LeonardWritten byLászló Vadnay Martin Rackin George OppenheimerProduced byEdwin H. KnopfStarringRed SkeltonJames WhitmoreCara WilliamsReginald OwenCinematographyJoseph RuttenbergEdited byGeorge WhiteMusic byRudolph G. KoppProductioncompanyMetro-Goldwyn-MayerDistributed byMetro-Goldwyn-MayerRelease dates January 8, 1954 (1954-01-08) (Premiere-Los Angeles)[1] January 29,&#...

 

Европейская сардина Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеГруппа:Костные рыбыКласс:Лучепёрые рыбыПодкласс:Новопёры...

 

High-ranking bishop in certain Christian churches For other uses, see Primate (disambiguation). Primas redirects here. For other uses, see Primas (disambiguation). Part of a series on theHierarchy of theCatholic ChurchSaint Peter Ecclesiastical titles (order of precedence) Pope Cardinal Cardinal Vicar Crown Prince Protector Moderator of the curia Chaplain of His Holiness Papal legate Papal majordomo Apostolic nuncio Apostolic delegate Apostolic Syndic Apostolic visitor Vicar apostolic Apostol...

Mazda RX-8InformasiProdusenMazdaMasa produksi2003-2011 [1][2]PerakitanHiroshima, JapanBodi & rangkaKelasMobil sportBentuk kerangka4-door quad coupéTata letakFMR layoutMobil terkaitMazda MX-5 (3rd generation)Penyalur dayaMesin1.3 L RENESIS (Wankel) NATransmisi4-speed automatic6-speed automatic 5-speed manual6-speed manualDimensiJarak sumbu roda2.703 mm (106,4 in)Panjang2004–08: 4.425 mm (174,2 in)2009–: 4.470 mm (176,0 in)Lebar1.770&#...

 

此条目序言章节没有充分总结全文内容要点。 (2019年3月21日)请考虑扩充序言,清晰概述条目所有重點。请在条目的讨论页讨论此问题。 哈萨克斯坦總統哈薩克總統旗現任Қасым-Жомарт Кемелұлы Тоқаев卡瑟姆若马尔特·托卡耶夫自2019年3月20日在任任期7年首任努尔苏丹·纳扎尔巴耶夫设立1990年4月24日(哈薩克蘇維埃社會主義共和國總統) 哈萨克斯坦 哈萨克斯坦政府...

 

Town in Wyoming, United StatesSaratoga, WyomingTownLocation of Saratoga in Carbon County, Wyoming.Saratoga, WyomingLocation in the United StatesCoordinates: 41°27′16″N 106°48′30″W / 41.45444°N 106.80833°W / 41.45444; -106.80833CountryUnited StatesStateWyomingCountyCarbonGovernment • MayorChuck DavisArea[1] • Total3.59 sq mi (9.29 km2) • Land3.40 sq mi (8.80 km2) • Water0....

Political enclave that existed between 1948 and 1990 For other uses, see West Berlin (disambiguation). 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: West Berlin – news · newspapers · books · scholar · JSTOR (December 2023) (Learn how and when to remove this message) West BerlinWest-BerlinBerlin-OuestBerlin...

 

Church in Lancashire, EnglandEuxton Parish ChurchEuxton Parish ChurchLocation in the Borough of Chorley53°39′54″N 2°40′28″W / 53.665055°N 2.674550°W / 53.665055; -2.674550LocationEuxton, Chorley, LancashireCountryEnglandDenominationAnglicanWebsiteEuxton C of E Church, EuxtonHistoryStatusParish churchArchitectureFunctional statusActiveHeritage designationGrade II*Architectural typeChurchSpecificationsCapacity191MaterialsStone, slate roofsAdministrationProvi...

 

Chronologies Données clés 1677 1678 1679  1680  1681 1682 1683Décennies :1650 1660 1670  1680  1690 1700 1710Siècles :XVe XVIe  XVIIe  XVIIIe XIXeMillénaires :-Ier Ier  IIe  IIIe Chronologies thématiques Art Architecture, Arts plastiques (Dessin, Gravure, Peinture et Sculpture), (), Littérature (), Musique (Classique) et Théâtre   Ingénierie (), Architecture, () et ()   Politique Droit et ()   Religion (,)  ...

  提示:此条目页的主题不是萧。 簫琴簫與洞簫木管樂器樂器別名豎吹、豎篴、通洞分類管樂器相關樂器 尺八 东汉时期的陶制箫奏者人像,出土於彭山江口汉崖墓,藏於南京博物院 箫又稱洞簫、簫管,是中國古老的吹管樂器,特徵為單管、豎吹、開管、邊稜音發聲[1]。「簫」字在唐代以前本指排簫,唐宋以來,由於單管豎吹的簫日漸流行,便稱編管簫爲排簫�...

 

У этого термина существуют и другие значения, см. Синь. империядинастия Синь新 ←   → 9 — 23 Столица Чанъань Денежная единица Xin Dynasty coinage[вд]  Медиафайлы на Викискладе Империя Синь (кит. 新朝 9—23) — китайская империя; промежуток в истории империи Хань, разделяющий ...

 

У этого человека португальская фамилия; здесь Франко да Роша — фамилия матери, а дос Сантос — фамилия отца. Алисон Эдвард Полное имя Алисон Эдвард Франко да Роша дос Сантос Родился 5 марта 2006(2006-03-05) (18 лет)Апукарана, Бразилия Гражданство Бразилия Рост 185 см Позиция ви�...

Rwandan war criminal (1960–before 2007) Robert KajugaBornJerry Robert Kajuga1960Kibungo, Ruanda-UrundiDiedbefore March 2007Kinshasa, DRCNationalityRwandanAllegianceRwandaConviction(s)Crimes against humanityCriminal penaltyLife imprisonmentDate apprehended1996[citation needed]Imprisoned atButare Jerry Robert Kajuga (1960[1] – before March 2007) was national president of the Interahamwe,[2] the group largely responsible for perpetrating the Rwandan genocide agai...

 

Questa voce sull'argomento politici statunitensi è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Thomas Carney 2º Governatore del KansasDurata mandato12 gennaio 1863 –9 gennaio 1865 PredecessoreCharles L. Robinson SuccessoreSamuel J. Crawford Dati generaliPartito politicoRepubblicano Thomas Carney (Contea di Delaware, 20 agosto 1824 – Leavenworth, 28 luglio 1888) è stato un pol...