{"by":"graphitout","descendants":22,"id":38234383,"kids":[38238116,38236007,38238164,38262990,38236624],"score":58,"text":"This is part of my journey on pybind11. I wrote a tiny FM Synthesis library in C++ and a Python wrapper for that using pybind11.<p>There is a command-line piano app in the examples directory if you want to play with it. Here is the link: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;charstorm&#x2F;koelsynth&#x2F;tree&#x2F;main&#x2F;examples&#x2F;simple\">https:&#x2F;&#x2F;github.com&#x2F;charstorm&#x2F;koelsynth&#x2F;tree&#x2F;main&#x2F;examples&#x2F;si...</a><p>My next target is to attach this to some kind of physics simulation - like a bunch of balls moving around in a box with some internal walls. When the ball hits certain trigger points, it produces the sound.","time":1699735932,"title":"Show HN: Koelsynth – a simple FM synthesis library","type":"story","url":"https://github.com/charstorm/koelsynth"}