Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user lotus_skylight ! (Registered 2024-09-25) 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-01-12 00:37
Conrad

Registered: Nov 2006
Posts: 840
I'm suspicious on how you are going to produce a sheet-music facility for SID music. Are you thinking of doing this by frequency reading, or are you actually going to show a full sheet of the current notes been played?
2008-01-12 08:56
kenchis

Registered: Jan 2008
Posts: 65
@Steppe:
The gui is at least a graphical representation of what
is currently going on in the SID chip. Not more and not less.
The options are still missing.
The other ideas: switching the SID model is good idea.
There are some alternatives in resid engine (faster, but not exact).
Activating/Muting the channel will also be added.
2008-01-12 09:11
kenchis

Registered: Jan 2008
Posts: 65
@Conrad:
The idea is to show the actual note (from frequency of the voice) on a note sheet at the correct position:

------|-------
-----O|#------
--------------
--------------
--------------

D#-1
octave 1
38.9Hz
0xD400=0x02
0xD400=0x96

Graphix is not exact,
but shows hopefully what i mean.
The note will scroll like the other graphix of the player.
2008-01-16 16:41
MagerValp

Registered: Dec 2001
Posts: 1065
Neat, but something has to be done about CPU usage for this to be usable... On my 1.83 GHz Core Duo laptop it uses 120% and spins up the fans!
2008-01-16 18:19
kenchis

Registered: Jan 2008
Posts: 65
I have a Dual Core 1,4GHz Laptop
and 20% of CPU time is used...
2008-01-16 18:25
Steppe

Registered: Jan 2002
Posts: 1510
So one core of Magervalp's Laptop must be broken? %)
2008-01-16 18:33
chatGPZ

Registered: Dec 2001
Posts: 11293
or the osx java vm sucks =D
2008-01-16 19:01
kenchis

Registered: Jan 2008
Posts: 65
One user asked of a feature to display the rastertime
of the currently playing SID.
Does anyone know how to add this?

I tried to print out $D012 when the VIC raster interrupt is cleared (MOS656x.java: trigger()), but this works not for all SIDs, any ideas?
2008-01-16 19:11
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: One user asked of a feature to display the rastertime
of the currently playing SID.
Does anyone know how to add this?

I tried to print out $D012 when the VIC raster interrupt is cleared (MOS656x.java: trigger()), but this works not for all SIDs, any ideas?


Can't u get CPU cycle count timestamp before and after the call to the player routine? Divide that value by 63 do get raster time usage.
2008-01-16 19:40
kenchis

Registered: Jan 2008
Posts: 65
Then 63 must be the cycles per line?
Then i will try that way,
thankx :-)
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
psenough
Guests online: 148
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Unboxed  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 It's More Fun to Com..  (9.5)
7 Morph  (9.5)
8 Dawnfall V1.1  (9.5)
9 Onscreen 5k  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Nostalgia  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.2)
Top Logo Graphicians
1 Sander  (9.8)
2 Mermaid  (9.5)
3 Facet  (9.4)
4 Shine  (9.4)
5 Pal  (9.4)

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