Commit Graph

57 Commits

Author SHA1 Message Date
goyuken b28b677be2 dcfilter: reject out of range filterwidth 2012-10-10 11:56:49 +00:00
goyuken 19e5325afa DCFilter: allow variable filterwidth. 2600 tia: use a rather aggressive (~172hz cutoff) dc filter. this coefficient is reasonably close to actual hardware behavior. 2012-10-10 00:56:48 +00:00
goyuken b6e4d9996e DCFilter: add a "push" mode more suited to being placed between a resampler and a metaspu
Gambatte: change the order of output from "GB => resampler => metaspu => DCFilter" to "GB => resampler => DCFilter => metaspu".
This doesn't change anything under most circumstances, except when playing the emulator in slow motion (for instance, 50% throttle).  There, the metaspu sometimes adds silence to the output, which isn't actually silence if it has a different DC offset than the audio it's being mixed with.  Well, 50% throttle sound output will always suck anyway...
2012-09-29 22:38:47 +00:00
goyuken 36df8e4aab fix default patch set for VRC7 2012-09-24 17:34:17 +00:00
beirich b04189b6b1 gen: rewind is working, savestates are not working [yet]. will fix more tomorrow 2012-09-17 05:48:24 +00:00
goyuken 1e6a9415c1 add Sound.Utilities.DCFilter and use it in gambatte
haven't decided yet whether i like the idea; it's mostly about playing nice with other audio mixing (from other applications)
well, it's not bad anyway...
2012-09-11 21:30:50 +00:00
goyuken f18eb2fef2 gambatte now has sound! output from the core is original 2MEGAHURTZ audio, but libspeexdsp handles it fine.
seems to be a lot of DC offset at times; not sure if there's a good way to remove it
2012-09-09 00:41:11 +00:00
goyuken 408a4d6102 add comment to BufferedAsync explaining its value 2012-09-08 16:02:14 +00:00
goyuken 71652b25dc cleanup/simplify SpeexResampler 2012-09-07 20:12:47 +00:00
goyuken 001b28c60e replace junk and bad license resamplers with libspeexdsp (using p/invoke). MIT licensed, sounds pretty decent.
the p/invoke wrapper class is a hackjob i was using for testing and will be replaced.
2012-09-07 18:49:18 +00:00
goyuken b0e3a332d8 abstract resampling functionality into IStereoResampler for testing purposes
add two example resamplers that implement this: LinearResampler and CubicResampler.  both are very basic and sound like shit compared to libresample4j
ultimately, a single good resampler with a better license than libresample4j should be selected and used
2012-09-05 21:21:35 +00:00
goyuken 0430ec91c8 add resampler based on libresample4j (LGPL)
hook that up to libsnes, so libsnes audio now goes through libresample4j and then metaspu
it sounds ok
2012-09-05 18:52:17 +00:00
goyuken 2a2caa492c add linear resampler (not activated in code). sounds about the same as the other two (ie, no major bugs) on the opening to Golden Axe 2012-08-19 17:46:13 +00:00
beirich 4ba8fcf227 ym2612: Implement detune. Implement a somewhat better resampler, still not a Good One. 2012-08-19 04:41:34 +00:00
beirich f42b96ba7d ym2612: fix EG Rate calculation. Fix Attack Rate exponential formulation. 2012-08-10 04:46:29 +00:00
beirich 32bc79be06 ym2612 mothaaaaafukkkkaaaaaaa 2012-08-07 05:48:30 +00:00
adelikat e8e64bca62 NES - VRC6 sound! 2012-08-05 00:11:32 +00:00
adelikat 6e8d38fabe NES - disable vrc6 sound for now 2012-08-04 00:57:26 +00:00
adelikat 70f07346b1 NES - start VRC6 sound, currently sounds terrible 2012-08-03 02:08:42 +00:00
zeromus 3a336b9ef4 nes-mapper 67 2012-06-11 06:32:44 +00:00
zeromus cff7ba6d24 nes-fix lagrange point, including sound 2012-06-07 20:52:49 +00:00
goyuken a313d3910d Add sound output to sound card while dumping is occurring. Uses a proxy ISoundProvider (DualSound.cs) to guarantee emulation sound core and dumping routine are unaffected, while sending "best effort" sound to system output. Doesn't sound great, but simple and functional. 2012-05-09 20:21:23 +00:00
beirich 700ac116dd ym2612: more ports processed, DAC now plays in stereo 2012-04-29 18:33:21 +00:00
beirich 239cb213f0 ym2612: some progress on operators 2012-04-29 17:41:39 +00:00
beirich 59eb4b4abe ym2612: support TimerA and TimerB 2012-04-29 06:05:15 +00:00
beirich d322c3c00f Fix some bugs responsible for out-of-bounds array access crash on ym2612 2012-04-29 01:40:38 +00:00
beirich 7f1292d4f9 start on YM2612. DAC works. process port writes for FM channels. No FM channels output audio yet. 2012-04-29 01:09:06 +00:00
beirich fad95b6bab Add 3-band equalizer. Not hooked up to client for time being though. Maybe later I'll expand it to more bands and create presets. Just wanted to check it in for now. 2012-04-21 20:22:13 +00:00
beirich 5b5c7c2890 68000: add MULU, MULS, DIVU, DIVS, MOVE to CCR
Some genesis source reorganization
2011-10-11 03:52:44 +00:00
beirich 8fb8a35317 Genesis core revive! Get it back to where loading a genesis rom doesnt crash everything immediately 2011-10-01 17:06:25 +00:00
beirich e5f1c142f8 pce-cd: fix Snatcher, Madou Monogatari, Tangai Makyo, ValisIII playable now 2011-09-25 23:34:53 +00:00
beirich 9aa70c4fa9 Much improved pce-cd savestateyfulness
Cleanup and stateyness of SCSI bus still in progress; states not done yet
2011-09-16 04:59:59 +00:00
beirich a8aaaef45e [PCE] ADPCM playback more or less working correctly now
plus some cleanup
2011-09-05 17:45:01 +00:00
beirich e61ea6050a CDAudio: don't crash when read requested past end of disc 2011-09-04 19:55:41 +00:00
beirich 647cae698e Max volume is settable per sound source to enable mixing many sound sources without clipping. Potentially can be used to disable individual sound sources. 2011-09-04 04:38:11 +00:00
beirich e13af4064b [pce] very preliminary ADPCM playback, added a bunch more MemoryDomains 2011-09-03 20:32:18 +00:00
beirich 9f4ffde86f [pce-cd] somewhat improve save-statey-ness. still not solid but good enough to work a lot of the time 2011-09-01 01:14:40 +00:00
beirich afaf5879f6 Improve CD-Audio w/ volume/fade support; put error messages in client when invalid system card selected 2011-08-30 04:02:52 +00:00
beirich e703d3a99f [pce] fix R-Type CD audio start bug(s) 2011-08-16 03:11:27 +00:00
zeromus 3bab049363 disc-clarify difference between LBA and ABA 2011-08-15 10:43:36 +00:00
beirich cd65961b53 fixed subcode stuff and a stupid bug in CDAudio.cs 2011-08-15 04:22:54 +00:00
zeromus 019ad69459 disc subchannel Q calculation; make TOC a little more useful by adding TOCPoints which are easier to search than nested sessions, tracks, and indices; and change path browser to use a superior folder browser which lets you enter paths into a textbox. I refuse to click to navigate folders 2011-08-14 23:13:31 +00:00
beirich 266d81f644 CD Audio is 1337 2011-08-14 21:27:51 +00:00
beirich 0a5157d9a6 Extremely preliminary TurboCD support 2011-08-14 18:20:13 +00:00
beirich cfccc65672 add metaspu V method, set NES to use it experimentally 2011-08-14 01:42:54 +00:00
beirich 0b49dd25a0 [PCE] fix Lost Sunheart sound glitch, calling PSG fixed for now (except LFO) 2011-07-28 06:09:04 +00:00
beirich 564f829fd7 [PCE] PSG volumes are less wrong. Still poking.
[Client] improved some config defaults
2011-07-28 05:28:03 +00:00
beirich 06d8792830 [PCE] fix Youkai Douchuuki, Yo Bro, and Order of the Griffon 2011-07-24 19:52:20 +00:00
zeromus c7f0c457ad [NES] work on sound, improve square waves muchly, add 6502 IRQ signal, make add some infrastructure to keep from buffering samples while core is silenced. 2011-03-19 09:12:56 +00:00
zeromus 8a0cd52a5a [NES] apu fixes and triangle generator 2011-03-13 08:13:32 +00:00