Previous Thread
Next Thread
Print Thread
Page 3 of 55 1 2 3 4 5 54 55
Joined: Mar 2001
Posts: 16,612
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,612
That's defined by the system for me on F8, and I thought it was fairly standard.

Joined: Mar 2004
Posts: 656
Senior Member
Offline
Senior Member
Joined: Mar 2004
Posts: 656
That's weird. I am running F8 as well, x86_64 if that matters.

Joined: Mar 2001
Posts: 16,612
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,612
Yeah, x86_64 here too. I use tcsh instead of bash, maybe that's the difference.

Joined: Mar 2004
Posts: 656
Senior Member
Offline
Senior Member
Joined: Mar 2004
Posts: 656
Yeah, that's it.

Joined: Sep 2007
Posts: 56
K
Member
Offline
Member
K
Joined: Sep 2007
Posts: 56
Originally Posted By R. Belmont

BTW, these patches greatly improved NiGHTS also, except nights-2a has a weird pitch problem on the flute. Any ideas on that?


I discovered the main culprit causing this problem. The sampler should loop upon reaching LEA (loop end address), not afterwards. This caused the reading of one sample too many for each loop, lowering the pitch (especially noticeable when the loop segment is very small - see Desire example below).

Patch against AOSDK 1.1.3 (just changed some ">"s to ">="s):

Code:
diff -Nru aosdk_base/eng_ssf/scsp.c aosdk/eng_ssf/scsp.c
--- aosdk_base/eng_ssf/scsp.c	2007-12-09 11:07:38.000000000 -0800
+++ aosdk/eng_ssf/scsp.c	2007-12-10 01:07:56.000000000 -0800
@@ -1147,18 +1147,18 @@
 	switch(LPCTL(slot))
 	{
 	case 0:	//no loop
-		if(addr>LEA(slot))
+		if(addr>=LEA(slot))
 		{
 			//slot->active=0;
 			SCSP_StopSlot(slot,0);
 		}
 		break;
 	case 1: //normal loop
-		if(addr>LEA(slot))
+		if(addr>=LEA(slot))
 			slot->cur_addr=LSA(slot)<<SHIFT;
 		break;
 	case 2:	//reverse loop
-		if(addr>LEA(slot))
+		if(addr>=LEA(slot))
 		{
 			slot->cur_addr=LEA(slot)<<SHIFT;
 			slot->Backwards=1;
@@ -1167,7 +1167,7 @@
 			slot->cur_addr=LEA(slot)<<SHIFT;
 		break;
 	case 3: //ping-pong
-		if(addr>LEA(slot)) //reached end, reverse till start
+		if(addr>=LEA(slot)) //reached end, reverse till start
 		{
 			slot->cur_addr=LEA(slot)<<SHIFT;
 			slot->Backwards=1;



The problem affected Desire much worse than NiGHTS. Try playing desire_09.minissf before and after the patch for comparison.

BTW, I put up rips of Guardian Force and Marica on my page (http://snesmusic.org/hoot/kingshriek/ssf/) if anyone is interested.


Joined: Jan 2006
Posts: 3,687
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,687
great work kingshriek!

is there any other known problem with saturn/stv audio emulation now that both radiant silvergun and nights have a fix?

Joined: Mar 2001
Posts: 16,612
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,612
Oh, wow. That's a major improvement, thanks again! That fixes some longstanding pitch issues with "Hanagumi Taisen Columns: Sakura Wars" in MAME as well - now it sounds so good I think I'll rip it next smile

Last edited by R. Belmont; 12/10/07 02:02 PM.
Joined: Mar 2001
Posts: 16,612
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,612
BTW, updated DLLs here:

http://rbelmont.mameworld.info/aoDec10_w32.zip (Win32)
http://rbelmont.mameworld.info/aoDec10_w32.zip (Win64)

Do try that desire_09 before and after, it's quite striking smile

eta: SCSP is basically feature-complete now except for FM, and that's mostly because I haven't seen any Saturn or STV games that use it. (Well, that and it's not the most understandable part of the docs).

The better news for the future is that the AICA is essentially a straight superset of the SCSP, so if someone started making DSF rips for real (a working open-source DC emulator would help) it wouldn't be the end of the world to get them going.

Joined: Nov 2003
Posts: 459
K
Senior Member
Offline
Senior Member
K
Joined: Nov 2003
Posts: 459
Ahem, about that FM thingy, notes for Shining the Holy Ark rip from kingshriek's site: "Some of the tracks (battle ones mainly) actually use the SCSP's FM capabilities, which are not emulated in any of the current players (and probably won't be for some time)."

Are there even DC games that use sequenced music? I mean, except for Ikaruga and Skies of Arkadia, both of which have been ripped.
Most of them use ADX from what I've seen.

Last edited by Knurek; 12/10/07 04:09 PM.
Joined: Mar 2001
Posts: 16,612
R
Very Senior Member
OP Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,612
Ahh, that's interesting. ElSemi says that a few Model 3 games seem to use FM as well, so maybe we can get something going there.

I wouldn't expect a lot of DC games to use sequenced music, but then I didn't expect PS2 games to use it either and it turns out to have been rather popular :-) Also, the Skies of Arcadia test rip is just 1 song. As one of the 15 people who bought and loved that game I'd really like a full soundtrack rip.

Page 3 of 55 1 2 3 4 5 54 55

Moderated by  R. Belmont, Richard Bannister 

Link Copied to Clipboard
Who's Online Now
1 members (pmackinlay), 37 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,835
Posts116,218
Members4,921
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.5