ref: 3300e52e3e0a036ff2e6020c68353e1cada10779
parent: 4f25ed6ee372acb3011c6fbd5da747aa0f0f62cb
author: robs <robs>
date: Sun Dec 31 15:19:37 EST 2006
Fix earwax to work with any encoding. Updates to doc files.
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,8 @@
o Fix synth length accuracy. (robs)
o Fix broken audio when downmixing with any of the following
effects: synth, deemph, vibro. (robs)
+ o Fixed deemph & earwax effects to work with MP3, vorbis,
+ & FLAC. (robs)
o Fix wav file handler discarding the last PCM sample in certain
circumstances. (robs)
o Add support for 24-bit PCM raw, wav (WAVE_FORMAT_EXTENSIBLE) [FR# 801015],
@@ -75,8 +77,8 @@
by 0dB [Bug# 1395781]. (robs)
o Removed (for output file only) the potentially
problematic -v option. Use the vol effect instead. (robs)
- o Added prompt to overwrite pre-existing output file (unless overridden
- with --force). (robs)
+ o Added --interactive option to prompt to overwrite pre-existing
+ output file. (robs)
o Added silence padding effect. (robs)
o Improved multi-channel file reading; fixes [1599990]. (robs)
o New options for specifying endianness (and separate option for
@@ -98,7 +100,7 @@
samples to be written out instead of an approximate amount.
o Fix hangup when attempting to write stereo MP3 files.
(1512218) Kendrick Shaw
- o Deemp effect would lose stereo sepeartion. (1479249)
+ o Deemp effect would lose stereo separation. (1479249)
o Adding cross-platform support for getopt_long
o Make help screens print much more information and add
new --help-effect option. (Originally from Dirk).
--- a/src/README
+++ b/src/README
@@ -6,9 +6,9 @@
avg y y
band n n
-bass y y
bandpass n y
bandreject see bandpass
+bass y y
chorus y y
compand y y
copy n n
@@ -16,32 +16,35 @@
deemph n n
dither see mask
earwax ? n
-echo y y
echos y y
-equalizer y y
+echo y y
+equalizer see bass
fade n n
filter n n
flanger y y
-highp n y
highpass see bandpass
-lowp n y
+highp n y
lowpass see bandpass
+lowp n y
+lua y n TODO
mask y y
mcompand y y
noiseprof n n
noisered n y
+pad n n
pan n y
phaser y y
pick see avg
pitch y y
polyphase y y
-rate n n
+rabbit y y
+rate see resample
repeat n n
resample y y
reverb y y
reverse n n
silence n n
-speed y y
+speed see rabbit/resample
stat n n
stretch y y
swap n n
--- a/src/earwax.c
+++ b/src/earwax.c
@@ -81,10 +81,8 @@
int i;
/* check the input format */
- if (effp->ininfo.encoding != ST_ENCODING_SIGN2
- || effp->ininfo.rate != 44100
- || effp->ininfo.channels != 2){
- st_fail("the earwax effect works only with audio cd (44.1 kHz, twos-complement signed linear, stereo) samples.");
+ if (effp->ininfo.rate != 44100 || effp->ininfo.channels != 2) {
+ st_fail("The earwax effect works only with 44.1 kHz, stereo audio.");
return (ST_EOF);
}
--
⑨