Make formants a bit more blunt
This commit is contained in:
parent
70e4b9c4c9
commit
26a3a75deb
@ -28,9 +28,9 @@ examples: out/stretch
|
|||||||
TEST_WAV ?= "inputs/voice.wav"
|
TEST_WAV ?= "inputs/voice.wav"
|
||||||
|
|
||||||
dev: out/stretch
|
dev: out/stretch
|
||||||
out/stretch --time=0.8 --semitones=12 $(TEST_WAV) out/shift.wav
|
out/stretch --time=0.8 --semitones=10 $(TEST_WAV) out/shift.wav
|
||||||
out/stretch --time=0.8 --semitones=12 --formant-comp $(TEST_WAV) out/shift-fc.wav
|
out/stretch --time=0.8 --semitones=10 --formant-comp $(TEST_WAV) out/shift-fc.wav
|
||||||
out/stretch --time=0.8 --semitones=12 --formant-comp --formant=3 $(TEST_WAV) out/shift-fc-f3.wav
|
out/stretch --time=0.8 --semitones=10 --formant-comp --formant=3 $(TEST_WAV) out/shift-fc-f3.wav
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf out
|
rm -rf out
|
||||||
|
|||||||
@ -874,7 +874,7 @@ private:
|
|||||||
for (int b = 0; b < bands; ++b) {
|
for (int b = 0; b < bands; ++b) {
|
||||||
formantMetric[b] = std::sqrt(std::sqrt(formantMetric[b]));
|
formantMetric[b] = std::sqrt(std::sqrt(formantMetric[b]));
|
||||||
}
|
}
|
||||||
Sample slew = 1/(freqEstimate*0.5 + 1);
|
Sample slew = 1/(freqEstimate*0.75 + 1);
|
||||||
Sample e = 0;
|
Sample e = 0;
|
||||||
for (int repeat = 0; repeat < 1; ++repeat) {
|
for (int repeat = 0; repeat < 1; ++repeat) {
|
||||||
for (int b = bands - 1; b >= 0; --b) {
|
for (int b = bands - 1; b >= 0; --b) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user