Skip to content

Commit

Permalink
Add Compressor effect to LMMS (#5458)
Browse files Browse the repository at this point in the history
* Add Compressor effect
  • Loading branch information
LostRobotMusic authored Mar 11, 2021
1 parent 00ac4f5 commit 459948f
Show file tree
Hide file tree
Showing 45 changed files with 2,090 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/modules/PluginList.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ SET(LMMS_PLUGIN_LIST
carlabase
carlapatchbay
carlarack
Compressor
CrossoverEQ
Delay
DualFilter
Expand Down
20 changes: 20 additions & 0 deletions data/themes/classic/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -920,6 +920,26 @@ NesInstrumentView Knob {
qproperty-lineWidth: 2;
}

CompressorControlDialog {
qproperty-inVolAreaColor: rgba(209, 216, 228, 17);
qproperty-inVolColor: rgba(209, 216, 228, 100);
qproperty-outVolAreaColor: rgba(209, 216, 228, 30);
qproperty-outVolColor: rgba(209, 216, 228, 240);
qproperty-gainReductionColor: rgba(180, 100, 100, 210);
qproperty-kneeColor: rgba(39, 171, 95, 255);
qproperty-kneeColor2: rgba(9, 171, 160, 255);
qproperty-threshColor: rgba(39, 171, 95, 100);
qproperty-textColor: rgba(209, 216, 228, 50);
qproperty-graphColor: rgba(209, 216, 228, 50);
qproperty-resetColor: rgba(200, 100, 15, 200);
}

CompressorControlDialog Knob {
color: #2fcc71;
qproperty-outerColor: #2fcc71;
qproperty-lineWidth: 2;
}

/* palette information */

LmmsPalette {
Expand Down
20 changes: 20 additions & 0 deletions data/themes/default/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,26 @@ NesInstrumentView Knob {
qproperty-lineWidth: 2;
}

CompressorControlDialog {
qproperty-inVolAreaColor: rgba(209, 216, 228, 17);
qproperty-inVolColor: rgba(209, 216, 228, 100);
qproperty-outVolAreaColor: rgba(209, 216, 228, 30);
qproperty-outVolColor: rgba(209, 216, 228, 240);
qproperty-gainReductionColor: rgba(180, 100, 100, 210);
qproperty-kneeColor: rgba(39, 171, 95, 255);
qproperty-kneeColor2: rgba(9, 171, 160, 255);
qproperty-threshColor: rgba(39, 171, 95, 100);
qproperty-textColor: rgba(209, 216, 228, 50);
qproperty-graphColor: rgba(209, 216, 228, 50);
qproperty-resetColor: rgba(200, 100, 15, 200);
}

CompressorControlDialog Knob {
color: #2fcc71;
qproperty-outerColor: #2fcc71;
qproperty-lineWidth: 2;
}

/* palette information */

LmmsPalette {
Expand Down
3 changes: 3 additions & 0 deletions plugins/Compressor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
INCLUDE(BuildPlugin)

BUILD_PLUGIN(compressor Compressor.cpp CompressorControls.cpp CompressorControlDialog.cpp MOCFILES Compressor.h CompressorControls.h CompressorControlDialog.h ../Eq/EqFader.h EMBEDDED_RESOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.png")
Loading

0 comments on commit 459948f

Please sign in to comment.