Search found 323 matches
- Mon Aug 25, 2008 9:51 pm
- Forum: bsnes Dev Talk
- Topic: Accurate(ish) CRT TV simulation theory
- Replies: 112
- Views: 142505
- Sun Aug 24, 2008 12:22 am
- Forum: bsnes Dev Talk
- Topic: Resampler, vsync refinement
- Replies: 24
- Views: 13766
- Sat Aug 23, 2008 11:20 pm
- Forum: bsnes Dev Talk
- Topic: Resampler, vsync refinement
- Replies: 24
- Views: 13766
- Sat Aug 23, 2008 9:46 pm
- Forum: bsnes Dev Talk
- Topic: Resampler, vsync refinement
- Replies: 24
- Views: 13766
- Sat Aug 23, 2008 12:14 am
- Forum: bsnes Dev Talk
- Topic: Resampler, vsync refinement
- Replies: 24
- Views: 13766
Resampler, vsync refinement
I still think the audio resampling and vsync can use some refinement. I've come up with a simpler conceptual model for thinking about this resampling, which I think would make things clearer for everyone. First, consder how many samples and frames the SNES generates per second: One second |---------...
- Thu Aug 21, 2008 2:48 am
- Forum: bsnes Dev Talk
- Topic: bsnes v0.034 released
- Replies: 140
- Views: 62194
- Tue Aug 19, 2008 1:15 am
- Forum: bsnes Dev Talk
- Topic: bsnes vsync development thread
- Replies: 133
- Views: 62782
Slowed SNES: 60 Hz video, 31992 Hz audio Then we just resample the audio to 48000 Hz. There's no need to resample twice, from 32040 to 31992, then to 48000, so we just resample once from 32040 to 48000 Hz, using an interpolator rate (step) of 0.6675. Wait, you lost me there. Wouldn't you have to re...
- Tue Aug 19, 2008 1:03 am
- Forum: ZSNES Talk
- Topic: Odd problem
- Replies: 3
- Views: 4808
- Mon Aug 18, 2008 5:41 am
- Forum: bsnes Dev Talk
- Topic: bsnes vsync development thread
- Replies: 133
- Views: 62782
A skew of 32200hz, means that your emulator is running ~0.5% (less than one percent, in other words) faster than a real SNES would. Every 4-5 minutes, the emulator will be one second more ahead of where a real SNES would be. If the PC's display is running at 60 Hz, and you're synchronizing smoothly...
- Fri Aug 15, 2008 6:01 am
- Forum: bsnes Dev Talk
- Topic: bsnes vsync development thread
- Replies: 133
- Views: 62782
I suppose that would work, but it's unconventional and inefficient since it involves a divide. Generally the fixed-point unit is a power of 2, allowing a right shift to convert to integer. To convert to fixed-point, shift floating-point values left by the number of fraction bits (that is, multiply b...
- Fri Aug 15, 2008 4:17 am
- Forum: bsnes Dev Talk
- Topic: bsnes vsync development thread
- Replies: 133
- Views: 62782
While explaining the subtleties of linear interpolation of an unending sample stream to byuu, his preference for resampling immediately rather than buffering it as I usually do prompted this absolutely simple and correct implementation of linear interpolation. It would of course use fixed-point (all...
- Thu Aug 14, 2008 9:45 pm
- Forum: bsnes Dev Talk
- Topic: bsnes vsync development thread
- Replies: 133
- Views: 62782
- Wed Aug 13, 2008 11:34 pm
- Forum: Emulators
- Topic: NSF playback in Vista 64-bit...
- Replies: 1
- Views: 2802
- Wed Aug 13, 2008 6:42 pm
- Forum: bsnes Dev Talk
- Topic: bsnes vsync development thread
- Replies: 133
- Views: 62782
Yours looks a bit better, as you require the caller to specify the buffer to write to. I don't know if it'd help much to tell the resampler that it'll be working with blocks of n samples or not. Maybe, maybe not. Yes, returning a pointer to an internal buffer is just asking for trouble, since the c...
- Wed Aug 13, 2008 6:14 pm
- Forum: bsnes Dev Talk
- Topic: bsnes vsync development thread
- Replies: 133
- Views: 62782
- Tue Aug 05, 2008 11:29 pm
- Forum: Tech Talk
- Topic: Dangers of opening SNES (old-style)
- Replies: 8
- Views: 4367
- Tue Aug 05, 2008 9:11 pm
- Forum: Gaming Discussion
- Topic: PSX Gems you may have missed
- Replies: 41
- Views: 16002
- Sun Aug 03, 2008 1:32 pm
- Forum: Emulators
- Topic: Difference between SNES emulators -- colour
- Replies: 59
- Views: 34842
- Sat Aug 02, 2008 5:10 am
- Forum: bsnes Dev Talk
- Topic: bsnes vsync development thread
- Replies: 133
- Views: 62782
- Sat Aug 02, 2008 5:08 am
- Forum: Emulators
- Topic: Difference between SNES emulators -- colour
- Replies: 59
- Views: 34842
Applying gamma correction isn't exactly color science; in fact, it's applied equally to color channels, so even someone with no color vision would stil see the proper effect.grinvader wrote:...A colour ramp that is totally and utterly biased and subjective, since byuu's partially colourblind.
- Fri Aug 01, 2008 11:20 am
- Forum: bsnes Dev Talk
- Topic: How other people should write their software
- Replies: 82
- Views: 141379
Breakfast? That's unsustainable; try this instead: kitten huffing.
- Fri Aug 01, 2008 11:17 am
- Forum: Emulators
- Topic: It's been just about four days since someone posted in here.
- Replies: 4
- Views: 3853
- Thu Jul 31, 2008 6:26 pm
- Forum: Gaming Discussion
- Topic: Wii - Homebrew Channel
- Replies: 32
- Views: 12156
That's redundant; bricked is permanently unrecoverable.neo_bahamut1985 wrote:Don't you have a risk of permanently bricking the Wii?
- Thu Jul 31, 2008 3:37 am
- Forum: Bug Reports/Feature Requests
- Topic: Memory Leak
- Replies: 16
- Views: 7299
2 gigs in 20 minutes of leaving the menu sitting? Wow. If it wasn't just you, seriously, don't you think the forum would be half filled with complaints about that by now? Who is to say this isn't an issue that only shows up on a small number of machines? Software is complex and can have behaviors w...
- Wed Jul 30, 2008 9:21 am
- Forum: Insane Chatter
- Topic: Silly merchandizing.
- Replies: 13
- Views: 5835
heck, hardisk was made with somewhat similar addressing calculation as memory card does... Its size is dictated primarily by the disk, which isn't related to a power of 2, rather the data density and area of the platter. The capacity of a solid-state memory chip is almost always a power of two, and...