Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDDA: Empasis Flags and sample rate. #1

Open
weirdbeardgame opened this issue May 30, 2022 · 2 comments
Open

CDDA: Empasis Flags and sample rate. #1

weirdbeardgame opened this issue May 30, 2022 · 2 comments

Comments

@weirdbeardgame
Copy link

CDDA audio have emphasis mode's that on a ps1 would usually be handled on the cd controller and then passed to the SPU.

https://psx-spx.consoledev.net/cdromdrive/#cdrom-subchannels - Audio pre emphasis and
https://github.com/stenzek/duckstation/blob/82965f741e81e4d2f7e1b2abdc011e1f266bfe7f/src/common/cue_parser.h#L28 how duckstation lists them.

PS2CDDA mode cd audio is transferred from CDVD to IOP then processed and sent to the SPU. We don't know how the ps2 will handle those emphasis flags and could use a hardware test. Another test, are ps2 cdda games running at 44100hz sample rate?

@refractionpcsx2
Copy link
Member

refractionpcsx2 commented May 30, 2022

I can almost guarantee the audio is 44100 because that's all cd audio is, ever.

As for the flags, they are likely irrelevant in ps2 mode if they're part of the cdrom controller since the cdrom controller does no cd audio decoding in ps2 mode, they are straight sector reads (there is also no way to set any cdvd emphasis flags in ps2 mode because they don't exist on the controller)

@refractionpcsx2
Copy link
Member

Just to back up the 44100 thing, you could mount say Dance Factory to your linux system and open the tracks in a cd audio player to check what the sample rate is.

But also consider the game also lets you use your own audio cd's which will 100% be 44100hz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants