4
jestdotty
115d

I wish music made money

and also that I didn't have to write a library to be able to make the music I wanna make, raaghhh

I wrote one in JavaScript but javascript is poor at timing and for music timing is important. it's mostly fine if you don't listen too hard but it could be so much better

I want to make something like it in rust but I'm fish out of water. I want bit-level control of output but I don't have the precursory knowledge to know how to do it

*lazily works on secret evil plan instead*
wish my head would stop hurting also, that would be great

Comments
  • 1
    Have you tried a DAW?
  • 3
    @Lensflare you’ll never make it if you don’t prepare the soil and trees for your instruments, so that your instrument craftsmanship will be perfectly tailored to your hand built microphones that can then be connected to your very own sound library written in perfect rustacean code.
  • 2
    Why JavaScript? Wouldn’t the realtime requirement rule out this language already? I believe C/C++ would suit much better
  • 3
    if you attempt to make musik in order to make money, you'll fail at both.

    unless you're a multi-billion-dollar-industry. then you can make shitloads of money with shitty, algorithm-generated music. but there's not enough room for two of those.
  • 2
    @mostr4am code everything in C!

    But seriously, Zig is created exactly because of this use case. The creator of zig wanted an audio thingy but found out that high level was too slow and he didn't like the current low level languages. So zig was born so he could make his audio app. Don't know if he did. Maybe you can check zig? It's kinda rusty?
  • 0
    @mostr4am well what do I know, but with C/C++ I believe this wouldn’t be of any concern anyway
  • 1
    @mostr4am yea learned the hard way how an infinite loop created a 15GB logfile in one second.
  • 2
    @jestdotty no offense, I would never want to program in C either
Add Comment