r/java • u/kingroka • Jul 18 '21
A modular synthesizer built in Java using JSyn library. I call it The Instrument
4
u/-DeathlikeSilence- Jul 18 '21
What are you using for the ui?
11
u/kingroka Jul 18 '21
I'm using my own library that I've developed over the pandemic. No rendering libraries are used just Graphics2D
4
u/Nemo_64 Jul 19 '21
I have tried to make a library like that so many times and I've failed all of them
2
u/NitronHX Jul 19 '21
Nice project but to be honest i think bezir curves or just straight lines would look better
1
u/kingroka Jul 19 '21
Bezier curves are a performance setting as the simulated wires can be kinda heavy on older hardware
1
3
u/theclovek Jul 18 '21
Oh nice, I was building something similar when I was playing with WebAudio.. I never finished it, though.
5
2
2
0
Jul 19 '21
[deleted]
3
u/kingroka Jul 19 '21
The rope simulation algorithm is the same as the one found in the video: https://youtu.be/FcnvwtyxLds
8
u/Persism Jul 18 '21
Neat! Are you putting it up on github? I'd love to play around with this!