CD XA Audio Now Added to the PSX Core

Xbytez
Site Admin
Posts: 478
Joined: Wed May 20, 2020 3:36 pm
Has thanked: 224 times
Been thanked: 804 times

CD XA Audio Now Added to the PSX Core

Unread post by Xbytez »

Another amazing update from Robert for the PSX core :D Now you can enjoy FMV, background music and dialog sound.

Nightlies:

https://github.com/MiSTer-unstable-nigh ... /releases/

Latest Build:

https://github.com/MiSTer-unstable-nigh ... tBuild.zip

User avatar
Sigismond0
Posts: 339
Joined: Mon May 25, 2020 2:21 am
Has thanked: 1 time
Been thanked: 66 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by Sigismond0 »

This is awesome! Watching the Chrono Trigger FMV is pure nostalgia.

This core's getting awfully close to completion.
User avatar
pgimeno
Top Contributor
Posts: 709
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 277 times
Been thanked: 226 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by pgimeno »

Awesome!

For those who wonder, CD-DA (Red Book) audio is still not working. For example, no BGM in Sentinel Returns yet, and no menu music in Tomb Raider.

I've also had serious trouble with memory cards with this build. Saving corrupts the MC, and loading does not always work. I don't know when this began happening, though.
sardine
Posts: 23
Joined: Thu Apr 29, 2021 9:41 pm
Has thanked: 1 time
Been thanked: 2 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by sardine »

abes oddysee..............wow

tomb raider fmv works but cant get into game stuck on black screen.
MostroW
Posts: 340
Joined: Tue Aug 18, 2020 3:32 pm
Has thanked: 150 times
Been thanked: 52 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by MostroW »

this core is tugging along so fast!

Robert if you read this, sorry to ask but i'm curious.
Will the core eventually be able to load compressed images or does it already and did i miss something?
User avatar
Mr. Encyclopedia
Posts: 111
Joined: Thu Aug 05, 2021 1:52 am
Has thanked: 50 times
Been thanked: 47 times
Contact:

Re: CD XA Audio Now Added to the PSX Core

Unread post by Mr. Encyclopedia »

Do you mean compressed CD images like CHD? That's a planned feature but isn't implemented yet and isn't high on the priority list.
Neocaron
Top Contributor
Posts: 375
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 207 times
Been thanked: 86 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by Neocaron »

sardine wrote: Mon Jan 31, 2022 7:54 pm abes oddysee..............wow

tomb raider fmv works but cant get into game stuck on black screen.
Both T3 and 4 will get you in game, or in the Manor for T3
You will even get the music in the Menu. SO GOOOOOOD!!

Remastering Classic Game Cinematics: My new Youtube fun, check it out :D
https://www.youtube.com/@neocaron87

annette
Posts: 104
Joined: Mon Jul 12, 2021 10:02 am
Has thanked: 25 times
Been thanked: 44 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by annette »

Once again this is just amazing work thank you.
User avatar
lamarax
Top Contributor
Posts: 472
Joined: Wed Nov 11, 2020 6:28 pm
Has thanked: 33 times
Been thanked: 202 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by lamarax »

🥲
It's been amazing what's happening so fast!
User avatar
pgimeno
Top Contributor
Posts: 709
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 277 times
Been thanked: 226 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by pgimeno »

sardine wrote: Mon Jan 31, 2022 7:54 pm tomb raider fmv works but cant get into game stuck on black screen.
To be clear, yes, TR hangs when trying to start the game, but the menu works and the main theme should play while in the menu, if CDDA were working.
Neocaron
Top Contributor
Posts: 375
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 207 times
Been thanked: 86 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by Neocaron »

pgimeno wrote: Mon Jan 31, 2022 11:14 pm
sardine wrote: Mon Jan 31, 2022 7:54 pm tomb raider fmv works but cant get into game stuck on black screen.
To be clear, yes, TR hangs when trying to start the game, but the menu works and the main theme should play while in the menu, if CDDA were working.
For me sound in the menu is only in T3 and T4 currently. However neither T3 or T4 hang, they are both playable.

Remastering Classic Game Cinematics: My new Youtube fun, check it out :D
https://www.youtube.com/@neocaron87

User avatar
pgimeno
Top Contributor
Posts: 709
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 277 times
Been thanked: 226 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by pgimeno »

Neocaron wrote: Mon Jan 31, 2022 11:39 pm For me sound in the menu is only in T3 and T4 currently. However neither T3 or T4 hang, they are both playable.
Yeah, my point is that regular CD audio isn't working. TR3 and TR4 have no CD audio tracks; they probably use CD-XA for audio, which is what has been implemented. TR and TR2 *do* use CD audio tracks, and they have no menu sound, besides the fact that the game doesn't start (maybe for a related reason, I don't know).

CD-XA makes many soundtracks work (like Silent Hill, which is now 100% working to the best of my knowledge, yay!), but until we have CD-DA, the soundtracks that are based on CD audio won't work, and that includes TR and TR2.
Neocaron
Top Contributor
Posts: 375
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 207 times
Been thanked: 86 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by Neocaron »

pgimeno wrote: Tue Feb 01, 2022 12:44 am
Neocaron wrote: Mon Jan 31, 2022 11:39 pm For me sound in the menu is only in T3 and T4 currently. However neither T3 or T4 hang, they are both playable.
Yeah, my point is that regular CD audio isn't working. TR3 and TR4 have no CD audio tracks; they probably use CD-XA for audio, which is what has been implemented. TR and TR2 *do* use CD audio tracks, and they have no menu sound, besides the fact that the game doesn't start (maybe for a related reason, I don't know).

CD-XA makes many soundtracks work (like Silent Hill, which is now 100% working to the best of my knowledge, yay!), but until we have CD-DA, the soundtracks that are based on CD audio won't work, and that includes TR and TR2.
IT's also true for Alien Trilogy, which doesn't have in game music because it's uses Cd audio. Still it's awesome to see so many games already having musics!

Remastering Classic Game Cinematics: My new Youtube fun, check it out :D
https://www.youtube.com/@neocaron87

BCB
Posts: 1
Joined: Tue Feb 01, 2022 6:01 pm
Has thanked: 2 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by BCB »

Thanks Robert, having so much fun testing my favourite games and excited to see so many working, your hard work is truly appreciated! 👏
MostroW
Posts: 340
Joined: Tue Aug 18, 2020 3:32 pm
Has thanked: 150 times
Been thanked: 52 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by MostroW »

Mr. Encyclopedia wrote: Mon Jan 31, 2022 8:02 pm Do you mean compressed CD images like CHD? That's a planned feature but isn't implemented yet and isn't high on the priority list.
I don't mind it being one of the last things to do, but it's nice to know that it will be implemented.
It makes so much difference for some games that take up 650~700MB of drive space now, but compressed it's like 1/3 or less of that.

Makes much more sense that the core needs to reach full working status before the final adjustments will be made.
softtest9
Posts: 165
Joined: Thu May 28, 2020 7:13 pm
Has thanked: 3 times
Been thanked: 22 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by softtest9 »

I tried reading about CD-XA and CD-DA and the information I got is that CD-XA is mixed mode (data + audio tracks) but CD-DA is a pure audio CD. But this doesn't make sense if there are PS1 games that are CD-DA (they wouldn't have any data). Does anyone have more information about this?
virtuali
Posts: 123
Joined: Mon Feb 01, 2021 10:41 pm
Has thanked: 2 times
Been thanked: 35 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by virtuali »

I think it's related to the error correction and sector length, CD-DA audio has less error correction and have slightly bigger sector size, while CD-XA is a CD-ROM format and, since it's normally used to store the program data, which is supposed to be exact, so it uses more data for error correction.

Some games use audio in CD-XA mode, other use real audio tracks, which should work in a regular ( non CD-Rom ) audio CD player.
User avatar
pgimeno
Top Contributor
Posts: 709
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 277 times
Been thanked: 226 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by pgimeno »

The CD-ROM format uses track 1 for data. The rest of tracks can be regular audio (CD-DA) tracks. Some PSX games, like Tomb Raider, use the audio in these tracks. If you put the TR CD in a CD audio player, and skip the track 1, you can listen to the soundtrack. Some old CD audio players don't detect the data flag in track 1, and play noise when track 1 is reproduced. Later players just play silence.

CD-XA, on the other hand, is data mixed with audio in the same stream, not in separate tracks. That allows for video + audio, for example. It needs to be decoded and can't be played by a regular CD audio player.
metalfacemark
Posts: 179
Joined: Mon Jan 04, 2021 12:04 pm
Has thanked: 22 times
Been thanked: 15 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by metalfacemark »

Has this changed other sounds? I was getting audio in the boot menu and in ridge racer but now no sound at all (1 stick i might add)
User avatar
Chris23235
Top Contributor
Posts: 978
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 126 times
Been thanked: 195 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by Chris23235 »

metalfacemark wrote: Wed Feb 02, 2022 2:20 pm Has this changed other sounds? I was getting audio in the boot menu and in ridge racer but now no sound at all (1 stick i might add)
You don't need a second Ram-stick. For me RR has all sounds except the music, this was also the case with earlier unstables.
metalfacemark
Posts: 179
Joined: Mon Jan 04, 2021 12:04 pm
Has thanked: 22 times
Been thanked: 15 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by metalfacemark »

Yeah I don’t understand why my audio has disappeared
alessiman
Posts: 15
Joined: Wed Dec 01, 2021 6:31 am
Been thanked: 5 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by alessiman »

Looking forward to when CD-DA is supported. For no other reason but to listen to audio CD's on the PSX core :)
caad
Posts: 82
Joined: Sun Oct 03, 2021 4:37 pm
Has thanked: 2 times
Been thanked: 19 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by caad »

metalfacemark wrote: Wed Feb 02, 2022 2:20 pm Has this changed other sounds? I was getting audio in the boot menu and in ridge racer but now no sound at all (1 stick i might add)
I also have no sound whatsoever (maybe a slight crackle now and then) with recent core builds. All other cores still work, and I've checked volume etc. One SDRAM.
User avatar
Chris23235
Top Contributor
Posts: 978
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 126 times
Been thanked: 195 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by Chris23235 »

Just tried it again to double check core 20220202 sound in Ridge Racer works (no music but that's expected), I also tried R4, which has a CD XA soundtrack. This also worked. Single RAM MiSTer connected over HDMI.
held
Posts: 209
Joined: Sun Sep 26, 2021 2:18 pm
Has thanked: 27 times
Been thanked: 32 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by held »

At this point I don't care what works or not. It seems to get better so fast that I just practice patience while I'm playing XA only :lol:
metalfacemark
Posts: 179
Joined: Mon Jan 04, 2021 12:04 pm
Has thanked: 22 times
Been thanked: 15 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by metalfacemark »

i deleted and reinstalled the build and working fine.

I was playing parappa, a game that has been butchered on the ps4 version with laggy controls, was so nice to play in time! Sound messed up on the second stage but the first stage was perfect!
vanfanel
Posts: 165
Joined: Sun May 24, 2020 6:53 pm
Has thanked: 11 times
Been thanked: 23 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by vanfanel »

metalfacemark wrote: Fri Feb 04, 2022 11:11 am i deleted and reinstalled the build and working fine.

I was playing parappa, a game that has been butchered on the ps4 version with laggy controls, was so nice to play in time! Sound messed up on the second stage but the first stage was perfect!
You were lucky, I got sound screwed on the first stage: after a while, music stopped playing!
Ohhh!

What a library this console has, just incredible, it has everything for everyone, and a LOT of artistic games that wouldn't have been done today.
Parappa is a good example of creativity and playability! What a nice and fun game, makes me laugh everytime I play it :)
User avatar
pgimeno
Top Contributor
Posts: 709
Joined: Thu Jun 11, 2020 9:44 am
Has thanked: 277 times
Been thanked: 226 times

Re: CD XA Audio Now Added to the PSX Core

Unread post by pgimeno »

pgimeno wrote: Mon Jan 31, 2022 7:37 pm I've also had serious trouble with memory cards with this build. Saving corrupts the MC, and loading does not always work. I don't know when this began happening, though.
Pilot error. I was mixing US and EU versions of the same game. Dumb me.
Post Reply