<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nathan Ho (Posts about physical modeling)</title><link>https://nathan.ho.name/</link><description></description><atom:link href="https://nathan.ho.name/categories/physical-modeling.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>© 2026</copyright><lastBuildDate>Thu, 07 May 2026 05:13:16 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Making Synthesized Sounds More Acoustic</title><link>https://nathan.ho.name/posts/acoustic-sounds/</link><dc:creator>Nathan Ho</dc:creator><description>&lt;p&gt;I have been experimenting a lot with finding ways to get more acoustic sounds out of synthesizers. These sounds don’t need to be perfect recreations of any particular real instrument, but I want a piece of the complexity and depth that those have, and also to investigate “Pinocchio” synth patches that fall short of becoming a real boy in hopefully interesting ways.&lt;/p&gt;
&lt;p&gt;Computer music types often jump to physical modeling, a field that I adore and have casually researched. But with the exception of &lt;a class="reference external" href="https://nathan.ho.name/posts/exploring-modal-synthesis/"&gt;modal synthesis&lt;/a&gt;, most physical modeling paradigms take considerable software engineering tenacity to get good results — especially the finite difference models, but waveguides too. I do intend to explore them further, but also I believe that some cool sounds can come out of chains of completely ordinary oscillators and effects. In my experiments, I’ve come across a bunch of little tricks that can help lend some more realism to those kinds of synth patches. Many of these also apply to sophisticated physical models too (after all, physical models can’t deliver you from having to do sound design).&lt;/p&gt;
&lt;ol class="arabic simple"&gt;
&lt;li&gt;&lt;p&gt;In general, randomize everything a little bit and modulate everything with a slow, smooth random LFOs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Real percussive envelopes have a &lt;em&gt;very&lt;/em&gt; tall initial spike. Inspecting the waveform of an unprocessed xylophone hit, I was surprised by how loud the transient of a typical percussive instrument is compared to its resonating tail.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The high dynamic range can make such sounds tough to bring up in the mix, and can often be addressed by adding clipping or similar distortion that only gets driven during the initial transient. This improves “bite” as well. However, acoustic sounds by nature have higher dynamic range, and clipping and compression can take away from that. Find a balance that works for you.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Key tracking (modifying synth parameters based on register) is essential. No acoustic instrument has the same physics in every register, and some have very limited pitch range in the first place. I usually at least key track amplitude and the cutoff of a lowpass filter. Don’t get discouraged if something sounds good in one octave but bad if you transpose it. You may even need an entirely different patches for different octaves.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In a tonal percussive synth, it’s essential that partials decay at different rates. A rule of thumb for damped physical resonators is that the decay time is roughly proportional to the inverse of the square of frequency. For example, going up an octave will multiply the decay time by about 0.25. This is not only true of partials within a note, but even of different keys of many mallet instruments. (In a piano, different registers have different physical constructions including different numbers of strings per key, which I believe is specifically compensating for this phenomenon.)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Synthesized drums made using oscillators benefit from some subtle stereo detuning.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can spruce up standard ADSR or percussive envelopes by using multiple little spikes in sequence, a bit like an 808 clap envelope. These spikes can be obvious or subtle.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add little noise bursts and puffs to every sharp transient. Delay the noise bursts relative to each other a little bit and randomize all properties slightly. Even if the bursts are subtle, the effect will add up tremendously. Noise doesn’t need to be white or pink; crackly impulsive noise is fun too, and more metallic noise is possible using banks of bandpass filters or inharmonic FM.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Adding a little puff of noise before the transient can sound really nice for reed instruments, and I’ve gotten a pretty decent thumb piano sound with it by simulating the thumb scraping against the key. Watch yourself, Four Tet.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add “box tone” to every sound source using a bunch of random peaking filters that boost different bands by +-2 dB (maybe more if you’re feeling adventurous!). Wiggle the parameters around slowly if desired, which is pretty ad hoc but might mimic physical changes in temperature, posture, grip of the instrument, etc. Box tone is a good idea in general to compensate for the relative cleanliness of an all-digital signal path. You can even use multiple layers of wiggly EQ with gentle nonlinearities sandwiched between them.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This is an obvious one, but almost all acoustic instruments have resonating bodies, so reverb can make or break the realism of a sound. Use slightly different subtle reverbs on every instrument, and prefer “weird” and metallic reverbs with short decay times. I often just use a bank of parallel comb filters; you can also use short multitap delays. The lush Alesis/Lexicon sound has its place in mixing, but I find that sound a little too smooth to work as an instrument body. Obviously, reverb on master is pretty essential if your instruments are in a concert hall.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Inharmonic modal synthesis (either with actual resonance or with decaying sine waves) can be enhanced with parallel ring modulation with one or more sine waves. This greatly multiplies the number of partials. I like to add a decay on the “modulator” sine waves. This works best for a grungy junk percussion sound, banging on pots and pans that aren’t carefully tuned by instrument builders.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;It’s not just the patch, it’s the sequencing. Humanize velocity; don’t just completely randomize it, make the velocity follow the musical phrasing. Also, louder playing is correlated with higher timing accuracy, and conversely softer playing benefits from humanization in arrival times.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;String players performing in &lt;em&gt;detache&lt;/em&gt; style tend to crescendo a little bit when they anticipate the bow change for the next note. I’ve never played winds, but I wouldn’t be surprised if they did something similar.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For instruments that comprise a different physical source for every pitch (pianos, mallet instruments, pipe organs, harmonicas), try detuning each key by a tiny, fixed amount to emulate imperfections in the instrument. You can use a lookup table, but my favorite approach is to use the pitch to seed a random number generator; I use the Hasher UGen in SuperCollider a lot for this. Timbral parameters can be similarly randomized in this manner.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Haas effect panning: delay one channel and put it through a random EQ that’s sloped for high-frequency loss.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;SuperCollider’s PitchShift is really great for adding a weird metallic “splash” which I mix back into the signal, sometimes fairly subtly. In general, find weird effects and use them in parallel at a low volume to simulate little imperfections that add up.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The notion that bass &lt;em&gt;has&lt;/em&gt; to be mono is a total myth, and only matters today if your music is being pressed to vinyl. (Trust me, nobody is summing your stereo channels.) Low instruments can absolutely have stereo image and using that can make a mix sound less electronic.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If simulating an ensemble, some instruments will be further away than others, which can be mimicked with higher wet-dry ratio in a reverb and some high-frequency loss. This helps particularly for homogeneous ensembles like string orchestras.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Wind and string instruments require significant dexterity or physical exertion to reach the higher notes in their registers. To mimic this, random detuning should be more dramatic for higher notes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Winds and strings playing legato are typically done with rapid portamento, which sounds fine. Realism can be further improved by briefly fading in some noise and/or high passing the source, simulating instability as the instrument physically transitions between consecutive notes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Saw and pulse waves are pretty obviously synthetic and often need considerable massaging to sound remotely acoustic. Consider other sources if you aren’t getting success with those. Breakpoint synthesis (GENDY) is a favorite of mine.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Common mixing advice states that you should avoid putting effects or processing on anything unless necessary as demonstrated by A/B test. This is a wise idea for recordings, but in mostly synthesized music, a long chain of subtle effects can create an “imperfection cascade” that help get an extra 5% of realism. This only really helps if the sounds are already good enough to stand on their own.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Unisons of multiple instruments can sound more realistic as a whole than exposed instruments, since they can mask each other’s imperfections, especially if those instruments are very different from each other.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Slow parameter fluctuations happen not only for individual instruments, but for the entire ensemble, especially for a homogeneous group like a string quartet. Create an automation and map it to the intensity parameter of many instruments, which also fluctuate individually.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;</description><category>dsp</category><category>physical modeling</category><category>sound design</category><category>synthesis</category><guid>https://nathan.ho.name/posts/acoustic-sounds/</guid><pubDate>Mon, 16 Oct 2023 15:54:17 GMT</pubDate></item><item><title>Circular Membrane Modes</title><link>https://nathan.ho.name/posts/circular-membrane-modes/</link><dc:creator>Nathan Ho</dc:creator><description>&lt;p&gt;Just as the modal frequencies of an ideal string produce the overtone series, other ideal acoustic objects such as circular membranes produce their own sets of frequency ratios that we can think of as “non-Pythagorean overtone series” from an alternate universe. Like the classical overtone series, they arise naturally from physical laws and produce an infinitely ascending microtonal chord. These modal frequencies are found in physics textbooks, but I haven’t seen musicians talk about them much, nor anyone represent them in music notation like we do the standard overtone series.&lt;/p&gt;
&lt;p&gt;Modal frequencies of a circular membrane are labeled by two mode numbers, overall forming a two-dimensional grid of frequency ratios rather than a linear series. For example, the lowest mode of a circular membrane is traditionally notated “0,1”. Just as the first and lowest classical overtones are the important ones, it’s mostly the low mode numbers that receive much attention from mechanical engineers. In the below charts, these are the tones in the upper left region.&lt;/p&gt;
&lt;p&gt;I’ve notated the frequencies here on three levels. Read the note head position and sharp/flat/natural for the nearest 12ET pitch, and the up/down arrows indicate 50-cent alterations to a finer 24EDO approximation. The fearless can ignore all arrows and read the signed numbers for the cent deviations from 12ET (not 24EDO!). Modal synthesis decouples fundamental frequency from frequency ratios, so the choice of C2 as fundamental is arbitrary, and all charts are transposable without affecting their faithfulness to the physical model. Try them out on your instrument of choice – even the crude 12ET approximations generate some lovely chords that remind me a little of Morton Feldman.&lt;/p&gt;
&lt;p&gt;Click the screenshot below to download a PDF version.&lt;/p&gt;
&lt;a class="reference external image-reference" href="https://nathan.ho.name/circular_membrane_modes.pdf"&gt;
&lt;img alt='Sheet music showing a two-dimensional grid of microtonal pitches titled "Modes of a Circular Membrane."' src="https://nathan.ho.name/images/circular_membrane_modes.jpg"&gt;
&lt;/a&gt;
&lt;p&gt;Is there anything perceptually important about this series? I don’t think so. You could replace these chords with random pitches, and the results would likely sound similar to an average listener. But as a demonstration of complex microtonal harmonies arising from first principles of acoustics, I think it’s conceptually compelling and a fruitful source of harmonic inspiration.&lt;/p&gt;</description><category>acoustics</category><category>algorithmic composition</category><category>music composition</category><category>physical modeling</category><category>xenharmonic</category><guid>https://nathan.ho.name/posts/circular-membrane-modes/</guid><pubDate>Sat, 02 Jan 2021 01:00:00 GMT</pubDate></item><item><title>Exploring Modal Synthesis</title><link>https://nathan.ho.name/posts/exploring-modal-synthesis/</link><dc:creator>Nathan Ho</dc:creator><description>&lt;div&gt;&lt;p&gt;Modal synthesis is simple in theory: a method of synthesizing sound where an excitation signal is fed into a parallel bank of resonators &lt;a class="citation-reference" href="https://nathan.ho.name/posts/exploring-modal-synthesis/#bilbao2006" id="citation-reference-1" role="doc-biblioref"&gt;[Bilbao2006]&lt;/a&gt;. Each resonator, known as a “mode,” has the impulse response of an exponentially decaying sine wave and has three parameters: frequency, amplitude, and decay time. It’s a powerful method that excels in particular for pitched percussion like bells and mallet instruments.&lt;/p&gt;
&lt;p&gt;Despite its conceptual simplicity, modal synthesis has a daunting number of parameters to tune – three times the number of modes, to be exact – and setting them by hand isn’t practical or musically expressive. How are we supposed to get great sound design when we have so many degrees of freedom? In interface design parlance, what we want is a &lt;em&gt;divergent mapping&lt;/em&gt;  &lt;a class="citation-reference" href="https://nathan.ho.name/posts/exploring-modal-synthesis/#rovan1997" id="citation-reference-2" role="doc-biblioref"&gt;[Rovan1997]&lt;/a&gt; that takes a small number of controls, maybe four knobs, and maps them to the several dozen frequencies, amplitudes, and decay times that control the modal synthesizer.&lt;/p&gt;
&lt;p&gt;While it is possible to reverse engineer modes from a recorded sample (see &lt;a class="citation-reference" href="https://nathan.ho.name/posts/exploring-modal-synthesis/#ren2012" id="citation-reference-3" role="doc-biblioref"&gt;[Ren2012]&lt;/a&gt; for a particularly impressive application), I’m most interested in “parametric” modal synthesis where each model derives from mathematical formulas that allow the user to navigate around a multidimensional space of timbres. I found a number of such algorithms while shopping around the literature from both computer music and mechanical engineering, so I decided to summarize them in a concise reference for sound designers and composers.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nathan.ho.name/posts/exploring-modal-synthesis/"&gt;Read more…&lt;/a&gt; (15 min remaining to read)&lt;/p&gt;&lt;/div&gt;</description><category>acoustics</category><category>dsp</category><category>physical modeling</category><category>synthesis</category><guid>https://nathan.ho.name/posts/exploring-modal-synthesis/</guid><pubDate>Mon, 16 Sep 2019 07:00:00 GMT</pubDate></item></channel></rss>