Hacker News new | ask | show | jobs
by jdauriemma 16 days ago
I think you'll enjoy this: an acoustically-accurate trombone in the web browser. https://github.com/bignimbus/trombone.js
2 comments

>The tone is generated using two sawtooth oscillators

I interpreted "acoustically-accurate" to mean physically modeled in some way. Filtered sawtooth makes a simple brass-like timbre, but 80% still sounds synthetic.

Really neat anyways, thanks for sharing.

Doesn't really sound like a trombone?
There are limits to the web audio API :) but I did conform to the known waveforms of the trombone when setting the synthesizer values. The frequencies and proportions of the slides and partials are very precise!