Hacker News new | ask | show | jobs
by jcpst 1093 days ago
Very excited to see this. It's very much a tool I would use, excited to give it a spin after work tonight. I also look forward to reading the code.

Other cool music tools I've seen implemented in rust:

* glicol - https://glicol.org/

* tune - https://github.com/Woyten/tune

A while back I wanted to make some tools to aid in composition and was using rust. Very partially baked, but a fun pet project to learn the language with. Generates just intonation pitch lattices based on my research of Ben Johnston's compositional approach. https://github.com/jcpst/johnston

1 comments

Thanks for commenting and reaching out, would love to know what you think of poly. I was learning Rust along the way, so there is definitely room for improvement. From the memory allocation perspective at least, I didn't paid it much mind as the practical applications are not that memory intensive.

No clue what intonation pitch lattices are, but now I'm interested to learn!

I was having fun writing one liners with poly, leaving my file explorer open and dragging the output file straight into a Ableton channel with a drum rack set up.

I also tried making a web UI with it via Yew. I got it all compiling and running in the browser, but the crate is all about that CLI. I would have to write a lot of the code that’s in the CLI file to call the create_smf function.

It might be worth considering designing the library’s API to be a bit friendlier to an end user. I think there’s cool stuff that could be done with it. Or at least that’s something I want to do :D

Do you mind shooting me an email or opening an issue on github? I was thinking about doing the UI myself, but I wasn’t sure how to do make it nice for the end user. It’s certainly a good idea to rework the API to be UI-friendly.