Hacker News new | past | comments | ask | show | jobs | submit login

At a glance, this looks like a bunch of coupled oscillators. A natural extension of this idea is strings: a 1d array of oscillators modelling a wave equation. For example, a piano sound can be modelled by attaching a basic oscillator to one end of a string and a mic to the other end of the string. The string and the oscillator push each other, creating the piano tone. Real pianos use 3 such string with different properties.

Another idea. What if you make a circular string and attach 1 or more oscillators at random points? Same idea as above, but more symmetric. This "sound ring" instrument may produce unreal sounds.






> What if you make a circular string and attach 1 or more oscillators at random points?

If your computer meets the system requirements, you could always install the free demo and build this sound ring instrument to find out! Building these kinds of weird ideas and seeing what happens is my favorite thing to do with it.


A piano string would have to be made of about 1000 basic oscillators.

My RTX2080Ti (admittedly not a cheap card) supports 768 physics objects (masses) per each of 16 voices. And I think that beefier cards can do 1024. There are other limitations for performance depending on how the system is constructed, and I certainly don't want to claim that I know it can simulate a piano, but...



Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: