5 ms·
Music Programming for Java and JVM Languages
- mooreds 4y agoLast discussed 7ish years ago: https://news.ycombinator.com/item?id=10022727 https://news.ycombinator.com/item?id=10022727
- jpe90 4y agowill definitely be putting this in my curriculum to teach my son programming :)
- ActorNightly 4y ago[flagged]
- severino 4y agoBecause anybody can say they don't understand why you use those "much better alternatives" (whichever they are) and tell you go find the much better alternatives in the modern day and age.
- nprateem 4y agoMaybe because it's the most popular language in the world with a 20+ year ecosystem that powers multiple critical systems?
- delusional 4y ago3 billion devices run java.
- rozularen 4y agolike which ones?
- ActorNightly 4y agoGolang, Rust, Python.
- dgb23 4y agoDo Go and Rust have a music programming ecosystem?
- j16sdiz 4y agoDon't think you can easily control MIDI device from go or rust. There are library to read/write command buffer, but there are none for interface with real hardware.
- pjmlp 4y agoPython, is an interpreted language. Golang is actually called Go, took 10 years to get generics, still doesn't do enumerations like Pascal in 1970. Rust, still doesn't have anything that matches Swing, JavaFX, Spring, ability to plug into runtimes into production, a standard ABI.
- pkolaczk 4y ago> Rust, still doesn't have anything that matches Swing, JavaFX There is GTK with gtk-rs, which surpasses Swing/JavaFX in many technical aspects and also has orders of magnitude higher popularity and bigger community.
- pjmlp 4y agoWhen does it finally get a designer?
- jstimpfle 4y agoPascal, took almost 50 years until "it" got declare-variables-anywhere feature, in Embarcadero Delphi 10.3. Java, does it still require you to make up a class for things that are completely unrelated to classes / objects? Does it still require you to put each public class in a separate file?
- BaculumMeumEst 4y agoprobably a mix of the fact that the project was started a long time ago, java has good built-in midi support w/o needing external dependencies or FFI, and the author not basing implementation decisions on what's trending on hackernews
- pjmlp 4y agoBecause the only "modern" alternative that matches Java in tooling, libraries, IDE capabilities, mix of GC and JIT/AOT toolchains is .NET alongside its own set of C#, F#, VB, and C++/CLI. It also runs on 80% of world's phones, even if ART isn't the JVM.
- capableweb 4y ago- The JVM - They are already using Java for other things, can reuse existing infrastructure - They want a huge ecosystem - It's "Good Enough" - The JVM
- nprateem 4y agoI couldn't find a link to GH from the linked page, but I guess this is it: https://github.com/dmkoelle/jfugue https://github.com/dmkoelle/jfugue
- ta988 4y agoThis seem like an older version. The website has the latest source code as a zip from 2017
- javier2 4y agohahaha, this is very cool!
- college_physics 4y agoIs there somewhere a good overview of the various open source projects active in the programmatic music space? There is a large number of efforts with different capabilities, stage of maturity, target platforms etc. Some are part of large creative coding projects, some are standalone and ofcourse written all sort of different languages. Its an embarrassment of riches in some way.
- mooreds 4y agoDoes this help? https://github.com/ad-si/awesome-music-production https://github.com/ad-si/awesome-music-production (It appears to be a bit old.)
- college_physics 4y agoits a good start! indeed it hasn't been updated recently. In the meantime I found also this https://en.wikipedia.org/wiki/List_of_music_software https://en.wikipedia.org/wiki/List_of_music_software Ideally it would be nice to have a tabular format (is used frequently on wikipedia for comparison tables) where the different relevant dimensions can be sorted. But checking other awesome lists and wikipedia entries I realise this is a huge and somewhat loosely defined space: (audio vs music) (analysis vs production) etc and compiling a definitive list would require some serious research
- mxmilkiib 4y agoFwiw there's https://libreav.org https://libreav.org (with notes on https://wiki.thingsandstuff.org/Creative_coding https://wiki.thingsandstuff.org/Creative_coding https://wiki.thingsandstuff.org/Audio https://wiki.thingsandstuff.org/Audio etc), though I've been on a break from data entry (and IA betterment) for several months now
- khrbrt 4y agoVery neat. The first thing that comes to mind is combining this with Processing. I'd like to try making some kind of interactive generative art + music toy.
- kerblang 4y agoOne might note that java's standard library has midi built-in, albeit very basic and not especially well-documented. Also you might check out the midi standard itself; it was originally designed a long time ago, so it tends to be minimalist, efficient, and approachable, even with a few speed bumps of bit/byte finagling & packing, confusion about channels vs. tracks vs. instruments, etc. You can do quite a bit with average hardware.
- hbn 4y agoA couple years ago I made a program to convert midi files into another file format so they could be inserted into a SNES game. I did all the midi bit parsing manually and it was a pretty fun project. OneLoneCoder's video on midi was something of an inspiration for the project, and it was an invaluable resource for my learning: https://www.youtube.com/watch?v=040BKtnDdg0 https://www.youtube.com/watch?v=040BKtnDdg0