Commodore 64 (C64) Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
sidplay2 in Java released
Goto page Previous  1, 2, 3, 4 ... 19, 20, 21  Next
 
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> New Releases
View previous topic :: View next topic  
Author Message
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Sun Feb 10, 2008 4:53 pm    Post subject: Reply with quote

I never tested linux 64 bit and java 1.6
Does anyone here has tested with that environment?

It could be a general java problem on 64 bit or a glibc version problem...
Back to top
View user's profile Send private message Visit poster's website
groepaz
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 13 Oct 2004
Posts: 4690

PostPosted: Sun Feb 10, 2008 5:22 pm    Post subject: Reply with quote

i have to admit that i dont use many java apps, so i dont really know Smile the google video upload tool produces a similar crash so its probably not your app Smile
_________________
Back to top
View user's profile Send private message
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Mon Feb 11, 2008 9:39 pm    Post subject: Reply with quote

Next update is available:

Antti Lankila Patch 11.02.2008 added
INI file patched accordingly.
Default filter is now choosable for each SID model and a 8580 filter was added
Several bugfixes with song length database
HVSC view with folders and files (alpha)

INI file must be removed, so that it is recreated again.
Back to top
View user's profile Send private message Visit poster's website
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Thu Feb 14, 2008 10:44 pm    Post subject: Reply with quote

Now i added the applet version
Smile

http://mitglied.lycos.de/kenchis/jsidplay2.html
Back to top
View user's profile Send private message Visit poster's website
groepaz
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 13 Oct 2004
Posts: 4690

PostPosted: Fri Feb 15, 2008 12:59 am    Post subject: Reply with quote

yay, that one also works on my setup....can you somehow make it remember its settings? Smile
_________________
Back to top
View user's profile Send private message
Magnate
Groupie
Groupie


Joined: 11 Feb 2002
Posts: 266

PostPosted: Fri Feb 15, 2008 12:47 pm    Post subject: Reply with quote

Quote:
+------------------------------------------------------+
| Java SIDPLAY - Music Player & C64 SID Chip Emulator |
| Sidplay V2.0.8, libsidplay V2.1.1 |
+------------------------------------------------------+

The latest Sidplay2 is v2.0.9, AFAIK. (link)
_________________
C64C + 1541-II, or Hoxs64 as an accurate equivalent.
Visit hvsc.c64.org for the most comprehensive SID collection.
Back to top
View user's profile Send private message
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Fri Feb 15, 2008 8:42 pm    Post subject: Reply with quote

Ähhm 2.0.9 of course! That was a typo

Keep it Embarassed
Back to top
View user's profile Send private message Visit poster's website
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Sat Feb 16, 2008 10:11 am    Post subject: Reply with quote

@Magnate:

If hoxs64 sounds better, why dont you make a java applet to have an official player for HVSC website?
Back to top
View user's profile Send private message Visit poster's website
Magnate
Groupie
Groupie


Joined: 11 Feb 2002
Posts: 266

PostPosted: Sat Feb 16, 2008 12:27 pm    Post subject: Reply with quote

kenchis wrote:
@Magnate:

If hoxs64 sounds better, why dont you make a java applet to have an official player for HVSC website?

How could I possibly do that? Shocked Hoxs64 is closed source, and I have no Java knowledge whatsoever.
_________________
C64C + 1541-II, or Hoxs64 as an accurate equivalent.
Visit hvsc.c64.org for the most comprehensive SID collection.
Back to top
View user's profile Send private message
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Sat Feb 16, 2008 12:29 pm    Post subject: Reply with quote

Quote:
Hoxs64 is closed source

This should be changed Smile
Back to top
View user's profile Send private message Visit poster's website
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Mon Feb 18, 2008 9:55 pm    Post subject: Reply with quote

The Applet is now updated, changes are:
1.
HVSC browser shows the most important infos of selected tune
2.
The settings are remembered while the player is running (separate for each filter)

You should store HVSC database path in your INI file, that it is used on startup.
Back to top
View user's profile Send private message Visit poster's website
nata
Über Groupie
Über Groupie


Joined: 01 Jun 2005
Posts: 377

PostPosted: Tue Feb 19, 2008 2:20 pm    Post subject: Reply with quote

Wouldn't a 6581 digi-boost help stabilize the sample volume for filter intensive songs?
Back to top
View user's profile Send private message
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Tue Feb 19, 2008 7:10 pm    Post subject: Reply with quote

I really dont know, if it makes sence.
It is no problem for me to enable the option.
Tell me if it should be done Eating popcorn
Back to top
View user's profile Send private message Visit poster's website
nata
Über Groupie
Über Groupie


Joined: 01 Jun 2005
Posts: 377

PostPosted: Tue Feb 19, 2008 7:15 pm    Post subject: Reply with quote

kenchis wrote:
I really dont know, if it makes sence.
It is no problem for me to enable the option.
Tell me if it should be done Eating popcorn


Yes please. Then we see if it works as expected or not. Smile
The idea is that there should be always enough DC to perform perfect & loud digis even if filters are used by the song.
Back to top
View user's profile Send private message
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Tue Feb 19, 2008 8:04 pm    Post subject: Reply with quote

What a surprise for me right now:
i am searching a stereo tune to test with my player and found
Anthrox_Stereo.prg
and it is by you Surprised
It sounds not very clean by jsidplay2.

Do you have a stereo file in sid format that i could use?
Back to top
View user's profile Send private message Visit poster's website
nata
Über Groupie
Über Groupie


Joined: 01 Jun 2005
Posts: 377

PostPosted: Wed Feb 20, 2008 9:17 am    Post subject: Reply with quote

6581 digiboost: Ah nice, it increases the digi volume especially if one mutes the channels.

kenchis wrote:
What a surprise for me right now:
i am searching a stereo tune to test with my player and found
Anthrox_Stereo.prg
and it is by you Surprised
It sounds not very clean by jsidplay2.

Do you have a stereo file in sid format that i could use?


IIRC the 2nd SID must be at $D420. Most songs use this address for 2SID playback.
Probably if there was selector for different SID adresses (Like in Vice) you would be able to run every stereo song.

Btw. A knob for switching quickly between OptimiseLevel 0 and 1 in the GUI would be very handy.
Back to top
View user's profile Send private message
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Wed Feb 20, 2008 12:51 pm    Post subject: Reply with quote

PRG files does not contain informations about mono or stereo.
Even the base address of the second SID is then unknown.

Is that correct? Then i add a switch to enable stereo playback
and a field containing the start address of the second SID (default: $D420).

SID files contain a header with both infos. But i cannot find a SID in stereo with that header filled out correctly.
Do you have an example?

Additionally i would like to know, why the SID tune Anthrax_Stereo.sid sounds bad, even if i start the player in stereo mode (option -s).
I tested, that the sound is played in stereo by changing the right volume in my player. But it is very noisy.
Back to top
View user's profile Send private message Visit poster's website
ice00
Groupie in Training
Groupie in Training


Joined: 22 Feb 2002
Posts: 116
Location: Italy

PostPosted: Wed Feb 20, 2008 1:46 pm    Post subject: Reply with quote

Quote:
PRG files does not contain informations about mono or stereo.
Even the base address of the second SID is then unknown.

Is that correct?

yes.
Some time ago I look for how can be a PSID file extended for having stereo support without changing it too much.
I then realize that it can be probably by reached at runtime without changing the PSID file syntax .
The idea is that the sidplay2 library need to monitor the access to sid I/O area and if it is outside the standard place, it must run another instance for emulating a sid inside that new range.
Back to top
View user's profile Send private message Visit poster's website
nata
Über Groupie
Über Groupie


Joined: 01 Jun 2005
Posts: 377

PostPosted: Wed Feb 20, 2008 6:06 pm    Post subject: Reply with quote

Quote:
PRG files does not contain informations about mono or stereo.
Even the base address of the second SID is then unknown.

Is that correct? Then i add a switch to enable stereo playback
and a field containing the start address of the second SID (default: $D420).

Yep. Sidplay knows only the 2nd base address for mus + str (Sidplayer) files. Everything else has to be set manually. (prg/sid doesn't matter)

Quote:
SID files contain a header with both infos. But i cannot find a SID in stereo with that header filled out correctly.
Do you have an example?

What Ice00 said. The PSID header doesn't contain infos about a second SID.

Quote:
Additionally i would like to know, why the SID tune Anthrax_Stereo.sid sounds bad, even if i start the player in stereo mode (option -s).
I tested, that the sound is played in stereo by changing the right volume in my player. But it is very noisy.

It's because Sidplay treats it like a mono song. All data from the 2nd SID (channel 4-6) are written to the first one.
'-s' is an option to pump up normal SID files to fake stereo. Smile


Some issues:

Setting the player to 'pause' works. But if one tries to play again cpu usage goes up to 100% and makes slowdowns for a while.

It's possible to switch faster between subsongs? At the moment it takes quite long if there are many songs inside the file.
Back to top
View user's profile Send private message
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Wed Feb 20, 2008 8:53 pm    Post subject: Reply with quote

Quote:
It's because Sidplay treats it like a mono song. All data from the 2nd SID (channel 4-6) are written to the first one.
'-s' is an option to pump up normal SID files to fake stereo.


While playing around with the player, i found out the following:
I must change the default codebase of the second SID
from 0xD500 to 0xD420 (Player.java).
Also i must change the SID from 6581 to 8580 to make it sound more clean Smile

But without options -fd -s the player assume the prg file to be mono.

-fd means force dual SID if the second SID was not detected (because prg file it cant)
-s means stereo mode for output

Another point is that it must be configured BEFORE the song is started.

Hmm, that means, if the user enables stereo mode, the song must restart, what do you think?
[/quote]
Back to top
View user's profile Send private message Visit poster's website
nata
Über Groupie
Über Groupie


Joined: 01 Jun 2005
Posts: 377

PostPosted: Thu Feb 21, 2008 8:31 am    Post subject: Reply with quote

Quote:
Hmm, that means, if the user enables stereo mode, the song must restart, what do you think?

I think this is OK.

Edit:

SID distortion was updated to V5 stable (20.2.2008).


Last edited by nata on Thu Feb 21, 2008 10:25 am; edited 1 time in total
Back to top
View user's profile Send private message
groepaz
Immortal Grandmaster of C64
Immortal Grandmaster of C64


Joined: 13 Oct 2004
Posts: 4690

PostPosted: Thu Feb 21, 2008 9:38 am    Post subject: Reply with quote

Quote:
I must change the default codebase of the second SID
from 0xD500 to 0xD420 (Player.java).


that should be configureable (per song that is, and switchable without restarting the player)... second sid could be anywhere, d4XX, de00, df00, d500 etc.
_________________
Back to top
View user's profile Send private message
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Thu Feb 21, 2008 9:28 pm    Post subject: Reply with quote

Thank you for your explanations concerning stereo tunes:
nata, ice00, groepaz

Especially, you nata for the feature requests.
It is good to know what is needed in my player.

I added stereo support on the settings page
and an optimize level to configure (simply reload the applet).

distortion sim v5 is for tomorrow Wink

The CPU problem in pause mode i could not find it.

Between, what do you think about HVSC browser infos.
I did not get response about that. Is it somehow useful?

Regards,
Ken
Back to top
View user's profile Send private message Visit poster's website
nata
Über Groupie
Über Groupie


Joined: 01 Jun 2005
Posts: 377

PostPosted: Fri Feb 22, 2008 8:56 am    Post subject: Reply with quote

Quote:
I added stereo support (simply reload the applet).

Voices from ch. 4-6 doesn't work correctly. (Channel is missing, broken/missing sounds)
It seems that some channel on the left side is copied to the right side in stereo mode. And therefore it overwrites the data from the 2ND SID.

Quote:
Between, what do you think about HVSC browser infos.
I did not get response about that. Is it somehow useful?

Hmm. Everytime I try to set the HVSC directory nothing happens. And after restarting it's seems not to be saved (?).

Quote:
The CPU problem in pause mode i could not find it.

I tried it now under XP with the latest Java, but it behaves the same. If one hits the pause button, the cpu usage goes up to 100% and the whole OS reacts extremely slow.
Back to top
View user's profile Send private message
kenchis
Groupie
Groupie


Joined: 10 Dec 2007
Age: 39
Posts: 239
Location: Berlin

PostPosted: Fri Feb 22, 2008 5:13 pm    Post subject: Reply with quote

nata wrote:

Voices from ch. 4-6 doesn't work correctly. (Channel is missing, broken/missing sounds)
It seems that some channel on the left side is copied to the right side in stereo mode. And therefore it overwrites the data from the 2ND SID.


Did you press "force Dual SID" and stereo on Anthrax_Stereo.prg and you have to restart tune (Pressing Previous after the change)?

It seems there are some scenarios implemented in sidplay2:

1. Playing a mono tune in stereo with only one SID: the first two voices are routed to the left speaker and the third is routed to the right speaker.
Result:
(fake stereo - uncheck "force Dual SID" and select "Stereo" to choose this)

2. Playing a Dual SID tune in stereo mode: the first SID outputs the sound to the left speaker and the second SID outputs the sound to the right speaker (assumed by me). The base address specifies the second SID base address.
Result:
(real stereo - check "force Dual SID" and select "Stereo" to choose this and then restart player by pressing "Previous Song")

3. Playing a mono tune with Dual SID enabled: i am unsure, but i cant hear a difference to the first scenario.

Use the second one to play your tune.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> New Releases All times are GMT
Goto page Previous  1, 2, 3, 4 ... 19, 20, 21  Next
Page 3 of 21

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Tip: Get C64 Forever for super-comfy C64 emulation with pre-installed games, demos and other goodies!


Powered by phpBB © 2001, 2005 phpBB Group