Skip to content

Commit

Permalink
Expose some hidden parameters and make Dragonfly Room output LPF work…
Browse files Browse the repository at this point in the history
… for early
  • Loading branch information
michaelwillis committed May 12, 2019
1 parent 5247940 commit 2f8abcc
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 57 deletions.
2 changes: 1 addition & 1 deletion common/DragonflyVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@

#define MAJOR_VERSION 1
#define MINOR_VERSION 9
#define PATCH_VERSION 4
#define PATCH_VERSION 5
#define VERSION_SUFFIX "-beta"
68 changes: 37 additions & 31 deletions plugins/dragonfly-hall-reverb/DistrhoPluginInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ enum Parameters
paramSpin,
paramWander,
paramDecay,
paramEarlySend,
paramSpinFactor,
paramLFOFactor,
paramCount
};

Expand Down Expand Up @@ -77,7 +80,10 @@ static Param params[paramCount] = {
{"High Mult", "high_mult", 0.2f, 1.2f, "X"},
{"Spin", "spin", 0.0f, 10.0f, "Hz"},
{"Wander", "wander", 0.0f, 40.0f, "ms"},
{"Decay", "decay", 0.1f, 10.0f, "s"}
{"Decay", "decay", 0.1f, 10.0f, "s"},
{"Early Send", "early_send", 0.0f, 100.0f, "%"},
{"Spin Factor", "spin_factor", 0.0f, 100.0f, "%"},
{"LFO Factor", "lfo_factor", 0.0f, 100.0f, "%"}
};

const int NUM_BANKS = 5;
Expand All @@ -95,48 +101,48 @@ typedef struct {

static Bank banks[NUM_BANKS] = {
{
"Rooms", { // dry, early, late, size, width, delay, diffuse, low cut, low xo, low mult, high cut, high xo, high mult, spin, wander, decay
{"Bright Room", { 80.0, 10.0, 20.0, 10.0, 90.0, 4.0, 90.0, 4.0, 500, 0.80, 16000, 7900, 0.75, 1.0, 25.0, 0.6 }},
{"Clear Room", { 80.0, 10.0, 20.0, 10.0, 90.0, 4.0, 90.0, 4.0, 500, 0.90, 13000, 5800, 0.50, 1.0, 25.0, 0.6 }},
{"Dark Room", { 80.0, 10.0, 20.0, 10.0, 90.0, 4.0, 50.0, 4.0, 500, 1.20, 7300, 4900, 0.35, 1.0, 25.0, 0.7 }},
{"Small Chamber", { 80.0, 10.0, 20.0, 16.0, 80.0, 8.0, 70.0, 4.0, 500, 1.10, 8200, 5500, 0.35, 1.2, 10.0, 0.8 }},
{"Large Chamber", { 80.0, 10.0, 20.0, 20.0, 80.0, 8.0, 90.0, 4.0, 500, 1.30, 7000, 4900, 0.25, 1.8, 12.0, 1.0 }},
"Rooms", { // dry, early, late, size, width, delay, diffuse, low cut, low xo, low mult, high cut, high xo, high mult, spin, wander, decay, e. send, spin factor, lfo factor
{"Bright Room", { 80.0, 10.0, 20.0, 10.0, 90.0, 4.0, 90.0, 4.0, 500, 0.80, 16000, 7900, 0.75, 1.0, 25.0, 0.6, 20.0, 30.0, 30.0}},
{"Clear Room", { 80.0, 10.0, 20.0, 10.0, 90.0, 4.0, 90.0, 4.0, 500, 0.90, 13000, 5800, 0.50, 1.0, 25.0, 0.6, 20.0, 30.0, 30.0}},
{"Dark Room", { 80.0, 10.0, 20.0, 10.0, 90.0, 4.0, 50.0, 4.0, 500, 1.20, 7300, 4900, 0.35, 1.0, 25.0, 0.7, 20.0, 30.0, 30.0}},
{"Small Chamber", { 80.0, 10.0, 20.0, 16.0, 80.0, 8.0, 70.0, 4.0, 500, 1.10, 8200, 5500, 0.35, 1.2, 10.0, 0.8, 20.0, 30.0, 30.0}},
{"Large Chamber", { 80.0, 10.0, 20.0, 20.0, 80.0, 8.0, 90.0, 4.0, 500, 1.30, 7000, 4900, 0.25, 1.8, 12.0, 1.0, 20.0, 30.0, 30.0}},
}
},
{
"Studios", { // dry, early, late, size, width, delay, diffuse, low cut, low xo, low mult, high cut, high xo, high mult, spin, wander, decay
{"Acoustic Studio", { 80.0, 10.0, 20.0, 12.0, 90.0, 8.0, 75.0, 4.0, 450, 1.50, 7600, 4900, 0.80, 2.5, 7.0, 0.8 }},
{"Electric Studio", { 80.0, 10.0, 20.0, 12.0, 90.0, 6.0, 45.0, 4.0, 250, 1.25, 7600, 5800, 0.70, 2.5, 7.0, 0.9 }},
{"Percussion Studio", { 80.0, 10.0, 20.0, 12.0, 90.0, 6.0, 30.0, 20.0, 200, 1.75, 5800, 5200, 0.45, 2.5, 7.0, 0.7 }},
{"Piano Studio", { 80.0, 10.0, 20.0, 12.0, 80.0, 8.0, 40.0, 20.0, 600, 1.50, 8200, 5800, 0.50, 2.8, 10.0, 0.7 }},
{"Vocal Studio", { 80.0, 10.0, 20.0, 12.0, 90.0, 0.0, 60.0, 4.0, 400, 1.20, 5800, 5200, 0.40, 2.5, 7.0, 0.8 }},
"Studios", { // dry, early, late, size, width, delay, diffuse, low cut, low xo, low mult, high cut, high xo, high mult, spin, wander, decay, e. send, spin factor, lfo factor
{"Acoustic Studio", { 80.0, 10.0, 20.0, 12.0, 90.0, 8.0, 75.0, 4.0, 450, 1.50, 7600, 4900, 0.80, 2.5, 7.0, 0.8, 20.0, 30.0, 30.0 }},
{"Electric Studio", { 80.0, 10.0, 20.0, 12.0, 90.0, 6.0, 45.0, 4.0, 250, 1.25, 7600, 5800, 0.70, 2.5, 7.0, 0.9, 20.0, 30.0, 30.0 }},
{"Percussion Studio", { 80.0, 10.0, 20.0, 12.0, 90.0, 6.0, 30.0, 20.0, 200, 1.75, 5800, 5200, 0.45, 2.5, 7.0, 0.7, 20.0, 30.0, 30.0 }},
{"Piano Studio", { 80.0, 10.0, 20.0, 12.0, 80.0, 8.0, 40.0, 20.0, 600, 1.50, 8200, 5800, 0.50, 2.8, 10.0, 0.7, 20.0, 30.0, 30.0 }},
{"Vocal Studio", { 80.0, 10.0, 20.0, 12.0, 90.0, 0.0, 60.0, 4.0, 400, 1.20, 5800, 5200, 0.40, 2.5, 7.0, 0.8, 20.0, 30.0, 30.0 }},
}
},
{
"Small Halls", { // dry, early, late, size, width, delay, diffuse, low cut, low xo, low mult, high cut, high xo, high mult, spin, wander, decay
{"Small Bright Hall", { 80.0, 10.0, 20.0, 24.0, 80.0, 12.0, 90.0, 4.0, 400, 1.10, 11200, 6250, 0.75, 2.5, 13.0, 1.3 }},
{"Small Clear Hall", { 80.0, 10.0, 20.0, 24.0, 100.0, 4.0, 90.0, 4.0, 500, 1.30, 7600, 5500, 0.50, 3.3, 15.0, 1.3 }},
{"Small Dark Hall", { 80.0, 10.0, 20.0, 24.0, 100.0, 12.0, 60.0, 4.0, 500, 1.50, 5800, 4000, 0.35, 2.5, 10.0, 1.5 }},
{"Small Percussion Hall", { 80.0, 10.0, 20.0, 24.0, 80.0, 12.0, 40.0, 20.0, 250, 2.00, 5200, 4000, 0.35, 2.0, 13.0, 1.1 }},
{"Small Vocal Hall", { 80.0, 10.0, 20.0, 24.0, 80.0, 4.0, 60.0, 4.0, 500, 1.25, 6250, 5200, 0.35, 3.1, 15.0, 1.2 }},
"Small Halls", { // dry, early, late, size, width, delay, diffuse, low cut, low xo, low mult, high cut, high xo, high mult, spin, wander, decay, e. send, spin factor, lfo factor
{"Small Bright Hall", { 80.0, 10.0, 20.0, 24.0, 80.0, 12.0, 90.0, 4.0, 400, 1.10, 11200, 6250, 0.75, 2.5, 13.0, 1.3, 20.0, 30.0, 30.0 }},
{"Small Clear Hall", { 80.0, 10.0, 20.0, 24.0, 100.0, 4.0, 90.0, 4.0, 500, 1.30, 7600, 5500, 0.50, 3.3, 15.0, 1.3, 20.0, 30.0, 30.0 }},
{"Small Dark Hall", { 80.0, 10.0, 20.0, 24.0, 100.0, 12.0, 60.0, 4.0, 500, 1.50, 5800, 4000, 0.35, 2.5, 10.0, 1.5, 20.0, 30.0, 30.0 }},
{"Small Percussion Hall", { 80.0, 10.0, 20.0, 24.0, 80.0, 12.0, 40.0, 20.0, 250, 2.00, 5200, 4000, 0.35, 2.0, 13.0, 1.1, 20.0, 30.0, 30.0 }},
{"Small Vocal Hall", { 80.0, 10.0, 20.0, 24.0, 80.0, 4.0, 60.0, 4.0, 500, 1.25, 6250, 5200, 0.35, 3.1, 15.0, 1.2, 20.0, 30.0, 30.0 }},
}
},
{
"Medium Halls", { // dry, early, late, size, width, delay, diffuse, low cut, low xo, low mult, high cut, high xo, high mult, spin, wander, decay
{"Medium Bright Hall", { 80.0, 10.0, 20.0, 30.0, 100.0, 18.0, 90.0, 4.0, 400, 1.25, 10000, 6400, 0.60, 2.9, 15.0, 1.6 }},
{"Medium Clear Hall", { 80.0, 10.0, 20.0, 30.0, 100.0, 8.0, 90.0, 4.0, 500, 1.50, 7600, 5500, 0.50, 2.9, 15.0, 1.7 }},
{"Medium Dark Hall", { 80.0, 10.0, 20.0, 30.0, 100.0, 18.0, 60.0, 4.0, 500, 1.75, 5800, 4000, 0.40, 2.9, 15.0, 1.8 }},
{"Medium Percussion Hall", { 80.0, 10.0, 20.0, 30.0, 80.0, 12.0, 40.0, 20.0, 300, 2.00, 5200, 4000, 0.35, 2.0, 12.0, 1.2 }},
{"Medium Vocal Hall", { 80.0, 10.0, 20.0, 32.0, 80.0, 8.0, 75.0, 4.0, 600, 1.50, 5800, 5200, 0.40, 2.8, 16.0, 1.3 }},
"Medium Halls", { // dry, early, late, size, width, delay, diffuse, low cut, low xo, low mult, high cut, high xo, high mult, spin, wander, decay, e. send, spin factor, lfo factor
{"Medium Bright Hall", { 80.0, 10.0, 20.0, 30.0, 100.0, 18.0, 90.0, 4.0, 400, 1.25, 10000, 6400, 0.60, 2.9, 15.0, 1.6, 20.0, 30.0, 30.0 }},
{"Medium Clear Hall", { 80.0, 10.0, 20.0, 30.0, 100.0, 8.0, 90.0, 4.0, 500, 1.50, 7600, 5500, 0.50, 2.9, 15.0, 1.7, 20.0, 30.0, 30.0 }},
{"Medium Dark Hall", { 80.0, 10.0, 20.0, 30.0, 100.0, 18.0, 60.0, 4.0, 500, 1.75, 5800, 4000, 0.40, 2.9, 15.0, 1.8, 20.0, 30.0, 30.0 }},
{"Medium Percussion Hall", { 80.0, 10.0, 20.0, 30.0, 80.0, 12.0, 40.0, 20.0, 300, 2.00, 5200, 4000, 0.35, 2.0, 12.0, 1.2, 20.0, 30.0, 30.0 }},
{"Medium Vocal Hall", { 80.0, 10.0, 20.0, 32.0, 80.0, 8.0, 75.0, 4.0, 600, 1.50, 5800, 5200, 0.40, 2.8, 16.0, 1.3, 20.0, 30.0, 30.0 }},
}
},
{
"Large Halls", { // dry, early, late, size, width, delay, diffuse, low cut, low xo, low mult, high cut, high xo, high mult, spin, wander, decay
{"Large Bright Hall", { 80.0, 10.0, 20.0, 40.0, 100.0, 20.0, 90.0, 4.0, 400, 1.50, 8200, 5800, 0.50, 2.1, 20.0, 2.5 }},
{"Large Clear Hall", { 80.0, 10.0, 20.0, 40.0, 100.0, 12.0, 80.0, 4.0, 550, 2.00, 8200, 5200, 0.40, 2.1, 20.0, 2.8 }},
{"Large Dark Hall", { 80.0, 10.0, 20.0, 40.0, 100.0, 20.0, 60.0, 4.0, 600, 2.50, 6250, 2800, 0.20, 2.1, 20.0, 3.0 }},
{"Large Vocal Hall", { 80.0, 10.0, 20.0, 40.0, 80.0, 12.0, 80.0, 4.0, 700, 2.25, 6250, 4600, 0.30, 2.1, 17.0, 2.4 }},
{"Great Hall", { 80.0, 10.0, 20.0, 50.0, 90.0, 20.0, 95.0, 4.0, 750, 2.50, 5500, 4000, 0.30, 2.6, 22.0, 3.8 }},
"Large Halls", { // dry, early, late, size, width, delay, diffuse, low cut, low xo, low mult, high cut, high xo, high mult, spin, wander, decay, early send, spin factor, lfo factor
{"Large Bright Hall", { 80.0, 10.0, 20.0, 40.0, 100.0, 20.0, 90.0, 4.0, 400, 1.50, 8200, 5800, 0.50, 2.1, 20.0, 2.5, 20.0, 30.0, 30.0 }},
{"Large Clear Hall", { 80.0, 10.0, 20.0, 40.0, 100.0, 12.0, 80.0, 4.0, 550, 2.00, 8200, 5200, 0.40, 2.1, 20.0, 2.8, 20.0, 30.0, 30.0 }},
{"Large Dark Hall", { 80.0, 10.0, 20.0, 40.0, 100.0, 20.0, 60.0, 4.0, 600, 2.50, 6250, 2800, 0.20, 2.1, 20.0, 3.0, 20.0, 30.0, 30.0 }},
{"Large Vocal Hall", { 80.0, 10.0, 20.0, 40.0, 80.0, 12.0, 80.0, 4.0, 700, 2.25, 6250, 4600, 0.30, 2.1, 17.0, 2.4, 20.0, 30.0, 30.0 }},
{"Great Hall", { 80.0, 10.0, 20.0, 50.0, 90.0, 20.0, 95.0, 4.0, 750, 2.50, 5500, 4000, 0.30, 2.6, 22.0, 3.8, 20.0, 30.0, 30.0 }},
}
}
};
Expand Down
3 changes: 3 additions & 0 deletions plugins/dragonfly-hall-reverb/DragonflyReverbDSP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ void DragonflyReverbDSP::run(const float** inputs, float** outputs, uint32_t fra
case paramSpin: late.setspin (value); break;
case paramWander: late.setwander (value); break;
case paramDecay: late.setrt60 (value); break;
case paramEarlySend: early_send = (value / 100.0); break;
case paramSpinFactor: late.setspinfactor (value / 100.0); break;
case paramLFOFactor: late.setlfofactor (value / 100.0); break;
}
}
}
Expand Down
Loading

0 comments on commit 2f8abcc

Please sign in to comment.