Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Composing > New member does Sidplay2 in Java
2008-01-04 22:34
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....
 
2008-07-30 12:08
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
2008-07-31 13:58
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.....
2008-07-31 14:23
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.
2008-07-31 15:09
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 :-)
2008-07-31 19:21
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?
2008-07-31 19:25
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 ":"
2008-07-31 20:08
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*
2008-07-31 20:34
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.
2008-07-31 20:56
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*)
2008-09-02 13:12
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Bieno/Commodore Plus
Chesser/Blazon
Fred/Channel 4
Mr. Sex/Byterapers
REBEL 1/HF
Guests online: 88
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 X-Mas Demo 2024  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.7)
4 Acidchild  (9.7)
5 Cash  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.041 sec.