Built a physical simulation of a record player with WebGL2 and Web Audio. It's *shockingly* accurate...

Guillermo Rauch(@rauchg) · 软件开发

Built a physical simulation of a record player with WebGL2 and Web Audio. It's *shockingly* accurate: vinyl-gl.vercel.app.

Instead of playing a song, it works by converting it into the physical shape of a groove. Then a simulated stylus rides those walls 384,000 times a second, and you hear the voltage that motion would induce in a cartridge.

So the crackle, the pops, the wow/flutter, the dull inner grooves are natural byproducts of the simulation. You can also "DJ" the record.

(The converted songs are in the public domain or CC-licensed. Code is linked for you to remix and re-deploy.)
Your browser does not support the video tag.
💬70🔄30❤️487👀18210📊139

查看原文