Commit 24814b23 authored by Pierre Donat-Bouillud's avatar Pierre Donat-Bouillud
Browse files

Stero zita reverb

parent d4daebc3
import("stdfaust.lib");
rdel = hslider("rdel", 6, 0, 1000, 0.1);
f1 = hslider("f1", 100, 15, 30000, 1);
f2 = hslider("f2", 600, 15, 30000, 1);
t60dc = hslider("t60dc", 3, 0, 1000, 0.1);
t60m = hslider("t60m", 6, 0, 1000, 0.1);
fsmax = hslider("fsmax", 44100, 1, 96000, 1);
process = re.zita_rev1_stereo(5, 100, 600, 3, 6, 44100);
process = re.zita_rev1_stereo(rdel, f1, f2, t60dc, t60m, fsmax);
import("stdfaust.lib");
process = re.zita_rev1_stereo(
......@@ -402,8 +402,8 @@ impl AudioEffect for Guitar {
self.iRec10[1] = self.iRec10[0];
self.fRec22[1] = self.fRec22[0];
self.fRec25[1] = self.fRec25[0];
for j0 in (0..4).rev() {
self.fRec27[j0 as usize] = self.fRec27[(j0 - 1) as usize];
for j0 in (4..0) {
self.fRec27[j0] = self.fRec27[j0 - 1];
}
self.IOTA = self.IOTA + 1;
self.fVec0[1] = self.fVec0[0];
......@@ -416,8 +416,8 @@ impl AudioEffect for Guitar {
self.fVec3[1] = self.fVec3[0];
self.fRec19[1] = self.fRec19[0];
self.fRec18[1] = self.fRec18[0];
for j1 in (0..4).rev() {
self.fRec15[j1 as usize] = self.fRec15[(j1 - 1) as usize];
for j1 in (4..0) {
self.fRec15[j1] = self.fRec15[j1 - 1];
}
self.iRec6[1] = self.iRec6[0];
self.fRec0[1] = self.fRec0[0];
......@@ -445,8 +445,8 @@ impl Transposer {
fDummy: 0 as f32,
IOTA: 0,
fVec0: [0.0; 131072],
fHslider0: 0,
fHslider1: 0,
fHslider0: 128,
fHslider1: 32,
fRec0: [0.0; 2],
fHslider2: 0,
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment