CRAAAAWLING IIIIIIN MY SKIIINkode54 wrote:over all the placebo.
96000HZ audio impliementation code submission.
Moderator: ZSNES Mods
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
I'm actually speechless at the level of maturity you guys are actually asserting here. It really shows how much you really care about helping out, teamwork, and letting others contribute to your project. Real good guys. Real good. I actually wonder if you act like arrogant bastards in real life towards your friends, spouses, and family? I would certainly hope not, but usually I'm wrong and people like you actually do.
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
I don't think anyone wanted to be intentionally mean.. though after hearing the music, you've got to realize the reaction everyone gave.
If you've seen the NTSC filter thread, there's quite a bit of feedback. I've not tested the build myself, but judging from the screenshot.. I definately see a reason why pagefault and others were interested in it.
In any case, perhaps you may want to rethink doing this specifically.. unless that's an actual tangible benefit that I'm not aware of.. maybe there is something much more nifty you can add (I can't think of anything off the top of my head).
The only time I hear an actual difference is the rain in Zozo with 44Khz (and maybe a couple other sounds)
If you've seen the NTSC filter thread, there's quite a bit of feedback. I've not tested the build myself, but judging from the screenshot.. I definately see a reason why pagefault and others were interested in it.
In any case, perhaps you may want to rethink doing this specifically.. unless that's an actual tangible benefit that I'm not aware of.. maybe there is something much more nifty you can add (I can't think of anything off the top of my head).
The only time I hear an actual difference is the rain in Zozo with 44Khz (and maybe a couple other sounds)
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
I'm hopeful it was just mild hazing but I'm no fan of anyone who bullys anyone else.
I'm not rethinking the idea as I have a 96khz audio chipset. Yeah the White Noise Generation technique used by some Sqauresoft games is really not decerable unless you start comparing everything to 32khz.
I'm waiting to get new sources from the new repository once it gets up and running, hopefully within the next few days. I didn't think to check the dspproc.asm for this. I had assumed it was all handled mostly by the DirectSound WaveOut-to-PCM code used in the winlink.cpp file. Great... more asm to deal with. I really got to brush up on my asm skills.
I'm not rethinking the idea as I have a 96khz audio chipset. Yeah the White Noise Generation technique used by some Sqauresoft games is really not decerable unless you start comparing everything to 32khz.
I'm waiting to get new sources from the new repository once it gets up and running, hopefully within the next few days. I didn't think to check the dspproc.asm for this. I had assumed it was all handled mostly by the DirectSound WaveOut-to-PCM code used in the winlink.cpp file. Great... more asm to deal with. I really got to brush up on my asm skills.
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
I think you're better of waiting until pagefault works on the DirectSound code... if I recall correctly, some threading was to be done to decrease the chances of static (bad audio) on older cards... but I wouldn't too excited waiting for it.
It's hard to imagine that a big portion of the code is still in ASM.. but it is amazing...
It's hard to imagine that a big portion of the code is still in ASM.. but it is amazing...
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Hay cool, I have a 96KHz sound card too. Well, actually, it's supposed to be 192/24, but who really cares?
You're welcome to perform your own blind testing, assuming you have some material which has genuine high frequency content, and you have a sound system capable of reproducing it properly. Don't forget the gold plated optical cables.
You're welcome to perform your own blind testing, assuming you have some material which has genuine high frequency content, and you have a sound system capable of reproducing it properly. Don't forget the gold plated optical cables.
Hello,Guys.Already a good example there,the Gens32 Surreal,which can max support 192MH sample rate.Why not give it a try,and then decide to do or not.
Here's a website link:http://gens32.emubase.de
Here's a website link:http://gens32.emubase.de
-
- Seen it all
- Posts: 2302
- Joined: Mon Jan 03, 2005 5:04 pm
- Location: Germany
- Contact:
This might be important for the emulation of SEGA consoles, but the SNES uses samples with a fixed frequency. Anything that plays them at a lower/higher one is removing/adding data.Yoyo wrote:Hello,Guys.Already a good example there,the Gens32 Surreal,which can max support 192MH sample rate.Why not give it a try,and then decide to do or not.
Here's a website link:http://gens32.emubase.de

vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
bsnes launcher with recent files list
-
- ZSNES Shake Shake Prinny
- Posts: 5632
- Joined: Wed Jul 28, 2004 4:15 pm
- Location: PAL50, dood !
I sure did want to be.Deathlike2 wrote:I don't think anyone wanted to be intentionally mean..
I don't care about someone who doesn't even test his code before sending a patch. You're a filth among coders. Begone.It really shows how much you really care about helping out, teamwork, and letting others contribute to your project.
Indeed you're wrong, I'm a 100% arrogant egoist bastard and don't hesitate to say something's shit when it's shit.I actually wonder if you act like arrogant bastards in real life towards your friends, spouses, and family? I would certainly hope not, but usually I'm wrong and people like you actually do.
The point where you're wrong (twice) is that my friends, gf and family aren't packs of retards, so I have no use of arrogance with them. I keep it for your kind.
PS: I'm not locking this, but I won't reply anymore, so feel free to waste your time.
皆黙って俺について来い!!
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Code: Select all
<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
There actually is a valid reason for adding this. On almost all PC soundcards audio is resampled from whatever it's native form is to 48KHz for output. On alot of chipsets the resampling isn't very good. Since some cards have a native 96KHz output you can get a clean output from SNES games by using 3x the original sampling frequency instead of an uneven 1.5x(to 48KHz). 44.1KHz output is even more worthless for SNES. I believe some sound cards do have a native 32KHz output, and that would be ideal, but most don't.
It falls under the same category as supprting 1600x1200 resolution. It's there to make sure LCD's don't look like crap from their own internal resampling. Audio has the same problem.
It falls under the same category as supprting 1600x1200 resolution. It's there to make sure LCD's don't look like crap from their own internal resampling. Audio has the same problem.
-
- Rookie
- Posts: 11
- Joined: Thu Mar 02, 2006 8:41 pm
-
- Inmate
- Posts: 1751
- Joined: Mon Dec 06, 2004 7:47 am
- Location: WA
Actually, that FM chip should also be producing output at a fixed sample rate, relative to its emulated clock rate. In this case, almost exactly the NTSC colorburst rate, and producing a sample every 72 clocks, or about 49716Hz. This is exactly what Gens does when "YM2612 High Quality" mode is enabled, and presumably what Kega is doing when "SuperHQ" is enabled, as the resulting behavior is consistent.creaothceann wrote:This might be important for the emulation of SEGA consoles, but the SNES uses samples with a fixed frequency. Anything that plays them at a lower/higher one is removing/adding data.Yoyo wrote:Hello,Guys.Already a good example there,the Gens32 Surreal,which can max support 192MH sample rate.Why not give it a try,and then decide to do or not.
Here's a website link:http://gens32.emubase.de
Downsampling that to 48000Hz or even 44100Hz with a proper filter is unlikely to cause noticeable distortion, while upsampling to 96000Hz is unlikely to benefit anyone. 192KHz is just plain silly.
Now I'm getting off-topic again.
A decent sound card should be able to switch its output to match the playback signal, even S/PDIF. If not, there's Windows' own software resampling, which most single-stream sound solutions rely on nowadays. Open the Control Panel, then Sounds and Audio Devices, select the Audio tab, then click Advanced... under Sound playback. Check the Performance tab and set Sample rate conversion quality to Best. Assuming you're not stuck with poor quality hardware resampling, in which case your hardware probably can't push out 96/24 anyway.
If a card supports 96khz natively and can't resample from 32khz without adding noise, you need to throw that card in the trash.
123 -> 111222333.
Here, why not add support for 2.84mhz frequencies while you're at it?
http://en.wikipedia.org/wiki/SACD
123 -> 111222333.
Here, why not add support for 2.84mhz frequencies while you're at it?
http://en.wikipedia.org/wiki/SACD
There is no evidence that human beings are sensitive to audio frequencies above 20 kHz, and most people over the age of 35 are unable to hear sounds above 15–16 kHz at 72 dB.
SACD is completely different. The 2.84MHz sampling frequency only uses 1 bit per sample. It's DSD, not PCM.byuu wrote:If a card supports 96khz natively and can't resample from 32khz without adding noise, you need to throw that card in the trash.
123 -> 111222333.
Here, why not add support for 2.84mhz frequencies while you're at it?
http://en.wikipedia.org/wiki/SACD
There is no evidence that human beings are sensitive to audio frequencies above 20 kHz, and most people over the age of 35 are unable to hear sounds above 15–16 kHz at 72 dB.
-
- Locksmith of Hyrule
- Posts: 3634
- Joined: Sun Aug 08, 2004 7:49 am
- Location: 255.255.255.255
- Contact:
Actually, I'm more inclined to agree with Bahamut ZERO.Bahamut_ZERO_939 wrote:I'm actually speechless at the level of maturity you guys are actually asserting here. It really shows how much you really care about helping out, teamwork, and letting others contribute to your project. Real good guys. Real good. I actually wonder if you act like arrogant bastards in real life towards your friends, spouses, and family? I would certainly hope not, but usually I'm wrong and people like you actually do.
In fact, personal example.
Tonight, we were on calls (as you may (or not) have known, I take surveys over the phone), and one of the projects was near completion and/or needed to get done in a couple days. We were calling until it was breaktime (which for my row, was 9:15PM.) Now, normally, we don't call people after 9, but tonight was an exception. I ended up calling someone who was like "Why are you guys calling me at 9PM" and I was like "It's not my fault we're open this late."
So we went at it for a minute or so, then he wanted to speak to the supervisor. After break, she yelled at me for it, and I may be losing my job.
So, yeah.
End of my off topic rant. Carry on.
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
NSRT here.
-
- Inmate
- Posts: 1751
- Joined: Mon Dec 06, 2004 7:47 am
- Location: WA
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
I feel sorry for that, but I don't hate people that gives surveys.. I just hate that fact that you people do get lumped into telemarketers (the evil breed)... shit happens though.. and good luck to you.adventure_of_link wrote:Actually, I'm more inclined to agree with Bahamut ZERO.Bahamut_ZERO_939 wrote:I'm actually speechless at the level of maturity you guys are actually asserting here. It really shows how much you really care about helping out, teamwork, and letting others contribute to your project. Real good guys. Real good. I actually wonder if you act like arrogant bastards in real life towards your friends, spouses, and family? I would certainly hope not, but usually I'm wrong and people like you actually do.
In fact, personal example.
Tonight, we were on calls (as you may (or not) have known, I take surveys over the phone), and one of the projects was near completion and/or needed to get done in a couple days. We were calling until it was breaktime (which for my row, was 9:15PM.) Now, normally, we don't call people after 9, but tonight was an exception. I ended up calling someone who was like "Why are you guys calling me at 9PM" and I was like "It's not my fault we're open this late."
So we went at it for a minute or so, then he wanted to speak to the supervisor. After break, she yelled at me for it, and I may be losing my job.
So, yeah.
End of my off topic rant. Carry on.
I guess, onboard sound is crap too, but that problem never really gets addressed. Anyone with an Audigy 2 care to comment though? (cause I think that's what Bahamut uses).. I honestly think there's some setting is wrong or terrible speakers are being used because modern sound cards really should have no problem playing back audio at the requested settings (unless the sound card doesn't support said settings).sweener2001 wrote:i'm more inclined to say that adding an audo filter that really doesn't do anything is dumb. a respectable soundcard from 5 years ago will handle everything just fine.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
-
- Seen it all
- Posts: 2302
- Joined: Mon Jan 03, 2005 5:04 pm
- Location: Germany
- Contact:
SteveSnake wrote:No, it isn'tcreaothceann wrote:This might be important for the emulation of SEGA consoles
Thanks, I was wondering about that.kode54 wrote:Actually, that FM chip should also be producing output at a fixed sample rate, relative to its emulated clock rate. In this case, almost exactly the NTSC colorburst rate, and producing a sample every 72 clocks, or about 49716Hz. This is exactly what Gens does when "YM2612 High Quality" mode is enabled, and presumably what Kega is doing when "SuperHQ" is enabled, as the resulting behavior is consistent.
Downsampling that to 48000Hz or even 44100Hz with a proper filter is unlikely to cause noticeable distortion, while upsampling to 96000Hz is unlikely to benefit anyone. 192KHz is just plain silly.

vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
bsnes launcher with recent files list
It's partly a Windows thing, and partly hardware. On Windows if your target device doesn't support the sampling rate you are outputting it goes through kmixer to do a software resample, and that has been proven to not be a great resampler. Creative's stuff only supports 48KHz and 96KHz(and 96 only if you disable any EAX/other DSP stuff). If you have it set to output 96KHz then audio will be resampled through kmixer.
Just do a search for kmixer and bit perfect on google and you'll find hundreds of topics.
Just do a search for kmixer and bit perfect on google and you'll find hundreds of topics.
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
I found this while googling:
http://www.hydrogenaudio.org/forums/lof ... 11725.html
Can you say, ugh?
Apparently there are methods to workaround this problem.. I guess rewriting the Directsound portion of the code would be a good way to resolve it... adding the 96KHz option is probably not a real solution in any stretch of the imagination. I almost thought it was a problem on onboard audio solutions, but now that I read this, Creative is just another terrible company (I already felt that before, but this info reinforces it).
http://www.hydrogenaudio.org/forums/lof ... 11725.html
Can you say, ugh?
Apparently there are methods to workaround this problem.. I guess rewriting the Directsound portion of the code would be a good way to resolve it... adding the 96KHz option is probably not a real solution in any stretch of the imagination. I almost thought it was a problem on onboard audio solutions, but now that I read this, Creative is just another terrible company (I already felt that before, but this info reinforces it).
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
-
- Regular
- Posts: 271
- Joined: Tue Jun 14, 2005 8:35 pm
I'm not sure if it's really 96kHz at 24-bit on my SoundBlaster Live 24-bit sound card, but there is a clairity difference between 48KHz and 96KHz settings.
At first you think it sounds fine as-is on 48KHz but switching to 96KHz, music sounds more expanded.
Oh, I tested this using DVD audio from a regular DVD Movie.
Anyway, it all depends if the audio source can be played at the Sample-rate.
At first you think it sounds fine as-is on 48KHz but switching to 96KHz, music sounds more expanded.
Oh, I tested this using DVD audio from a regular DVD Movie.
Anyway, it all depends if the audio source can be played at the Sample-rate.