3 posts / 0 new
Last post
gregstull
gregstull's picture
Offline
Joined: 02/25/2013 - 02:02
Java swing

I have to build a non functional calculator app with java swing this week for my college class and I am just wondering how far off that is from being able to build a functioning sampler playback GUI or whatever. I have no dreams about building anything audio wise for public consumption. I'm just curious. Writing algorithms to read from text files is getting tiresome.
Any thoughts, opinions , or wisdom would be appreciated.

mike
mike's picture
Offline
Joined: 12/18/2011 - 15:53
Java Swing is more geared

Java Swing is more geared towards application domain but I have seen some synth stuff in java.

The problem with Java and DSP is the interpreter overhead. Thus most all DSP is in C/C++.

If you want to do something that is free and learn UI for a "personal sampler", try taking a look at JUCE. It's C++ but there is a ton of free tuts to get you thinking about DSP on the low level.

https://juce.com/learn/tutorials

The reason I say JUCE is because writting UI in C++ needs a UI framework so JUCE gives you DSP and UI.

If you want to stay in Swing, something like this is a first steps almost.

https://www.codejava.net/coding/java-audio-player-sample-application-in-...

gregstull
gregstull's picture
Offline
Joined: 02/25/2013 - 02:02
Cool thanks. Yeah over the

Cool thanks. Yeah over the weekend the teaching assistant for the class said "if you are building gui's you are not going to be using JAVA" and that there was no point in our learning Swing beyond completing the one homework assignment, lol.