Eric Wasylishen
|
6b33701404
|
comment code a bit better
|
2011-12-30 11:55:20 -07:00 |
|
Eric Wasylishen
|
caab884744
|
box filter: set the box width only based on the final sample frequency. we don't care what the original frequency was.
|
2011-12-30 11:48:18 -07:00 |
|
Eric Wasylishen
|
07532b1a37
|
box filter: handle start and end of sample by repeating the first and last sample
|
2011-12-30 11:41:39 -07:00 |
|
Eric Wasylishen
|
a8e2811dc2
|
choose box filter width based on ratio of sampling rates
|
2011-12-29 20:25:00 -07:00 |
|
Eric Wasylishen
|
2367fe2c23
|
make the box filter work in-place (O(box-width) memory instead of O(sound-length) memory)
|
2011-12-29 20:24:41 -07:00 |
|
Eric Wasylishen
|
ecaa3007b2
|
add a comment
|
2011-12-29 20:24:33 -07:00 |
|
Eric Wasylishen
|
34079f1ae1
|
lowpass filter: read samples centered around the dest sample
|
2011-12-29 20:24:22 -07:00 |
|
Eric Wasylishen
|
873cacda47
|
force loading samples as 16-bit
|
2011-12-29 20:24:17 -07:00 |
|
Eric Wasylishen
|
0264ed1e22
|
add a "low-pass filter"
|
2011-12-29 20:24:06 -07:00 |
|
Eric Wasylishen
|
b8b5a7ed1c
|
fix stupid bug and linear interpolation sounds OK but not amazing, as expected
|
2011-12-29 20:23:56 -07:00 |
|
Eric Wasylishen
|
ed345c7d25
|
try linearly interpolating between samples for 11025->44100 upsampling. sounds like crap.
|
2011-12-29 20:23:12 -07:00 |
|
Eric Wasylishen
|
7280fd356f
|
fresh checkout of svn r564
|
2011-12-27 13:50:56 -07:00 |
|
Eric Wasylishen
|
be88ebbf15
|
Remove debug check
|
2011-01-19 23:18:37 -07:00 |
|
Eric Wasylishen
|
f2de795e5e
|
Cleanup/refactor of resampling code.
Use resampler for background music.
Should work with 8 or 16 bit output.
|
2011-01-19 13:41:51 -07:00 |
|
Eric Wasylishen
|
1273c59c1e
|
debugging checks
|
2011-01-18 13:31:30 -07:00 |
|
Eric Wasylishen
|
85d97fac9a
|
fix bugs in last commit
|
2011-01-17 13:54:17 -07:00 |
|
Eric Wasylishen
|
91ff92b33c
|
Refactor resampler code. Use Quake 3 wav codec
and delete most of snd_mem.c.
|
2011-01-17 11:18:31 -07:00 |
|
Eric Wasylishen
|
61663de547
|
Quakespasm 0.85.3
|
2010-12-16 17:37:07 -07:00 |
|