| |
kenchis
Registered: Jan 2008 Posts: 65 |
New member does Sidplay2 in Java
Hi folks,
I am a new member of CSDb and want to introduce myself
with a little release.
First, i am very proud to be accepted as a new member of the scene.
For short: I am a C64 fan from 1986 until now.
I was never active in the scene, too less talented maybe, but i learned basic and assembler and did some coding for myself in the past.
One thing from the past i actually do until today is listening the precious SID music of all the talented music artists. So many thanks to all of you for your work
collected in the HVSC.
To listen the new releases from the still active groups i often used sidplay2 for windows or an emulator like CCS64, because my commodore was on the attic.
I am also a Java developer and wanted to have my very own java implementation to create a so called C64 Jukebox.
I decided to create a 1:1 conversion of sidplay2 from C++ to java. It should have all features of the original.
It was a long time work and when it was finished i decided to make it open source, that others can integrate into their java emulators.
Perhaps there will be plugins for many java apps some day or a version running even on a mobile.
If you have any suggestions or feedback (positive or negative) it is welcome.
Have a lot of fun with our hobby,
Ken
http://sourceforge.net/projects/jsidplay2/
|
|
... 75 posts hidden. Click here to view all posts.... |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
I dont know, if anyone reads my thread in the lemon64 forum,
so i will post my updates twice:
Distortion Simulation v18 is in and also an improved version of the search feature.
Now i will continue my work on the favorites tab.
This version you can export your favorites to a folder
by context menu. So, if you have mmc-replay you can copy them to an SD card :-)
Regards,
Ken |
| |
Dano
Registered: Jul 2004 Posts: 235 |
really nice one (esspecially compared to the lame sidplay/2 windows user have to suffer from), but as it's done in java i can't even make it work smoothly on my athlon 3200+ at home nor my athlon x2 5000+ at work. i'd love this one done with a decent programming language..... |
| |
assiduous Account closed
Registered: Jun 2007 Posts: 343 |
Quote: really nice one (esspecially compared to the lame sidplay/2 windows user have to suffer from), but as it's done in java i can't even make it work smoothly on my athlon 3200+ at home nor my athlon x2 5000+ at work. i'd love this one done with a decent programming language.....
i agree,feature wise its the best sid player but its abit too sluggish. the interpolation sampling mode takes about as much CPU power as the more accurate resampling in Hoxs64 i use via Sidtool so i usually play sids with Sidtool. |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
You can speed-up the player by installing
a Java Developement Kit instead of a Java Runtime Environment.
Then Call:
"C:\Program Files\Java\jdk1.6.0_04\bin\java.exe"
-server -Xmx512M
-classpath mp3spi1.9.4.jar;jl1.0.jar;tritonus_share.jar;derby.jar;jsidplay2.jar
applet.JSIDPlay2
This will use a server VM that is optimized for performance and approximately use only half of the CPU time :-)
|
| |
Dano
Registered: Jul 2004 Posts: 235 |
C:\Downloads>"C:\Programme\Java\jdk1.6.0_07\bin\java.exe" -server -Xmx512M -clas
spath mp3spi1.9.4.jar;jl1.0.jar;tritonus_share.jar;derby.jar;jsidplay2.jar apple
t.JSIDPlay2
Exception in thread "main" java.lang.NoClassDefFoundError: applet/JSIDPlay2
Caused by: java.lang.ClassNotFoundException: applet.JSIDPlay2
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
actually that's what came out when trying what you posted. that's java to me..
is starting with the gui then oder is it staying console? |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
For Console Player call:
"C:\Program Files\Java\jdk1.6.0_04\bin\java.exe"
-server -Xmx512M
-classpath jsidplay2.jar
sidplay.ConsolePlayer
Everthing must be put in one line!
On Unix/Linux the ";" in the classpath must be replaced with ":" |
| |
Dano
Registered: Jul 2004 Posts: 235 |
now i even tried putting that line into a batch-file und starting it from there. same error message.
i'm using windows here, put jsidplay.jar under c:\downloads, the jdk lies under c:\programme\java\andson...
i wish java-programms could be started with a simple doubleclick and nothing more....... *sigh* |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
Try to specify the full path name of the jar:
c:\downloads\jsidplay2.jar
Btw, it is possible to doubleclick the jar file on windows. But you need the command-line options in this case. |
| |
Dano
Registered: Jul 2004 Posts: 235 |
actually i got i to work.. atleast sort of. the gui starts up with the commandwindow in the back which wants me to press return as it displays the help (why ever it does that), after that it closes. apart from the fact that i does look pretty different from the one in the browser.
doubleclicking doesnt start it, as this one seems to be linked to java platform se binary.
to be honest i think it would be best if you could distribute some sort of fool-proof zip-archive which every idiot can use... just my 2 cents.
(please note that i spent this week supporting our business clients to use a java console app to transform and transfer their data our beloved german bundesamt. it's soooo cool that those dumbasses aren't able to provide decent error messages, nor a user-friendly gui or else. yes i'm pretty much java-pissed that week.... well if anyone cared that is.. *g*) |
| |
kenchis
Registered: Jan 2008 Posts: 65 |
Everybody that have problems with command line java calls
can now try this Java Web-Start link. Now you will stay up-to-date.
http://jsidplay2.sourceforge.net/jsidplay2.jnlp
Regards,
Ken |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 - Next |