Skip to content

Commit

Permalink
Release 1.0.16
Browse files Browse the repository at this point in the history
* Implemented automatic scale of spectrum graph switch.
* Aligned the height of the blocks in "cgroup".
* Implemented split frequency display.
* Threshold markers are now editable.
* Updated build scripts and dependencies.
  • Loading branch information
sadko4u committed Dec 22, 2023
2 parents a9c509c + a827a70 commit b309b21
Show file tree
Hide file tree
Showing 26 changed files with 654 additions and 195 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
run: make VERBOSE=1
- name: Install binaries
run: make install
- name: System information
run: lscpu
- name: Lint LV2 plugins
run: |
for _plugin in $(jq -r '.plugins[].lv2_uri | select( . != null )' ${{ env.PLUGIN_METADATA }} ); do \
Expand Down Expand Up @@ -80,6 +82,8 @@ jobs:
run: make VERBOSE=1
- name: Install binaries
run: make install
- name: System information
run: lscpu
- name: LADSPA runtime checks
run: |
for _plugin in $(jq -r '.plugins[].ladspa_label | select( . != null )' ${{ env.PLUGIN_METADATA }}); do \
Expand Down Expand Up @@ -119,6 +123,8 @@ jobs:
run: make VERBOSE=1
- name: Install binaries
run: make install
- name: System information
run: lscpu
- name: LADSPA runtime checks
run: |
for _plugin in $(jq -r '.plugins[].ladspa_label | select( . != null )' ${{ env.PLUGIN_METADATA }}); do \
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
* RECENT CHANGES
*******************************************************************************

=== 1.0.16 ===
* Implemented automatic scale of spectrum graph switch.
* Aligned the height of the blocks in "cgroup".
* Implemented split frequency display.
* Threshold markers are now editable.
* Updated build scripts and dependencies.

=== 1.0.15 ===
* Reduced CPU consumption for Linear Phase and Modern modes.
* Reduced the rate of the gain curve update.
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ help:
$(MAKE) -f "$(BASEDIR)/make/configure.mk" $(@) VERBOSE="$(VERBOSE)"
echo ""
echo "Available FEATURES:"
echo " clap CLAP plugin format binaries"
echo " doc Generate standalone HTML documentation"
echo " jack Standalone JACK plugins"
echo " ladspa LADSPA plugins"
Expand Down
1 change: 0 additions & 1 deletion include/private/plugins/mb_gate.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ namespace lsp
float *vTr; // Transfer function
float *vTrMem; // Transfer buffer (memory)
float *vInAnalyze; // Input signal analysis
float *vOutAnalyze; // Input signal analysis

size_t nAnInChannel; // Analyzer channel used for input signal analysis
size_t nAnOutChannel; // Analyzer channel used for output signal analysis
Expand Down
77 changes: 77 additions & 0 deletions include/private/ui/mb_gate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/*
* Copyright (C) 2023 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2023 Vladimir Sadovnikov <[email protected]>
*
* This file is part of lsp-plugins-mb-gate
* Created on: 6 дек. 2023 г.
*
* lsp-plugins-mb-gate is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* lsp-plugins-mb-gate is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with lsp-plugins-mb-gate. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef PRIVATE_UI_MB_GATE_H_
#define PRIVATE_UI_MB_GATE_H_

#include <lsp-plug.in/plug-fw/ui.h>
#include <lsp-plug.in/lltl/darray.h>

namespace lsp
{
namespace plugui
{
class mb_gate_ui: public ui::Module, public ui::IPortListener
{
protected:
typedef struct split_t
{
mb_gate_ui *pUI;
ui::IPort *pFreq;

tk::GraphMarker *wMarker; // Graph marker for editing
tk::GraphText *wNote; // Text with note and frequency
} split_t;

protected:
lltl::darray<split_t> vSplits; // List of split widgets and ports
const char **fmtStrings; // List of format strings

protected:

static status_t slot_split_mouse_in(tk::Widget *sender, void *ptr, void *data);
static status_t slot_split_mouse_out(tk::Widget *sender, void *ptr, void *data);

protected:

template <class T>
T *find_split_widget(const char *fmt, const char *base, size_t id);
ui::IPort *find_port(const char *fmt, const char *base, size_t id);
split_t *find_split_by_widget(tk::Widget *widget);

protected:
void on_split_mouse_in(split_t *s);
void on_split_mouse_out();

void add_splits();
void update_split_note_text(split_t *s);

public:
explicit mb_gate_ui(const meta::plugin_t *meta);
virtual ~mb_gate_ui() override;

virtual status_t post_init() override;

virtual void notify(ui::IPort *port, size_t flags) override;
};
} // namespace plugui
} // namespace lsp

#endif /* PRIVATE_UI_MB_GATE_H_ */
4 changes: 2 additions & 2 deletions make/tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ else ifeq ($(PLATFORM),BSD)
endif

ifeq ($(DEBUG),1)
CFLAGS_EXT += -Og -g3 -DLSP_DEBUG
CXXFLAGS_EXT += -Og -g3 -DLSP_DEBUG
CFLAGS_EXT += -Og -g3 -DLSP_DEBUG -falign-functions=16
CXXFLAGS_EXT += -Og -g3 -DLSP_DEBUG -falign-functions=16
else
CFLAGS_EXT += -O2
CXXFLAGS_EXT += -O2
Expand Down
30 changes: 15 additions & 15 deletions modules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,93 +19,93 @@
#

# Variables that describe dependencies
LSP_3RD_PARTY_VERSION := 1.0.13
LSP_3RD_PARTY_VERSION := 1.0.14
LSP_3RD_PARTY_NAME := lsp-3rd-party
LSP_3RD_PARTY_TYPE := hdr
LSP_3RD_PARTY_INC_OPT := -idirafter
LSP_3RD_PARTY_URL_RO := https://github.com/lsp-plugins/$(LSP_3RD_PARTY_NAME).git
LSP_3RD_PARTY_URL_RW := [email protected]:lsp-plugins/$(LSP_3RD_PARTY_NAME).git

LSP_COMMON_LIB_VERSION := 1.0.32
LSP_COMMON_LIB_VERSION := 1.0.33
LSP_COMMON_LIB_NAME := lsp-common-lib
LSP_COMMON_LIB_TYPE := src
LSP_COMMON_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_COMMON_LIB_NAME).git
LSP_COMMON_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_COMMON_LIB_NAME).git

LSP_DSP_LIB_VERSION := 1.0.19
LSP_DSP_LIB_VERSION := 1.0.20
LSP_DSP_LIB_NAME := lsp-dsp-lib
LSP_DSP_LIB_TYPE := src
LSP_DSP_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_DSP_LIB_NAME).git
LSP_DSP_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_DSP_LIB_NAME).git

LSP_DSP_UNITS_VERSION := 1.0.18
LSP_DSP_UNITS_VERSION := 1.0.19
LSP_DSP_UNITS_NAME := lsp-dsp-units
LSP_DSP_UNITS_TYPE := src
LSP_DSP_UNITS_URL_RO := https://github.com/lsp-plugins/$(LSP_DSP_UNITS_NAME).git
LSP_DSP_UNITS_URL_RW := [email protected]:lsp-plugins/$(LSP_DSP_UNITS_NAME).git

LSP_LLTL_LIB_VERSION := 1.0.15
LSP_LLTL_LIB_VERSION := 1.0.16
LSP_LLTL_LIB_NAME := lsp-lltl-lib
LSP_LLTL_LIB_TYPE := src
LSP_LLTL_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_LLTL_LIB_NAME).git
LSP_LLTL_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_LLTL_LIB_NAME).git

LSP_R3D_BASE_LIB_VERSION := 1.0.15
LSP_R3D_BASE_LIB_VERSION := 1.0.16
LSP_R3D_BASE_LIB_NAME := lsp-r3d-base-lib
LSP_R3D_BASE_LIB_TYPE := src
LSP_R3D_BASE_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_BASE_LIB_NAME).git
LSP_R3D_BASE_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_BASE_LIB_NAME).git

LSP_R3D_IFACE_VERSION := 1.0.15
LSP_R3D_IFACE_VERSION := 1.0.16
LSP_R3D_IFACE_NAME := lsp-r3d-iface
LSP_R3D_IFACE_TYPE := src
LSP_R3D_IFACE_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_IFACE_NAME).git
LSP_R3D_IFACE_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_IFACE_NAME).git

LSP_R3D_GLX_LIB_VERSION := 1.0.15
LSP_R3D_GLX_LIB_VERSION := 1.0.16
LSP_R3D_GLX_LIB_NAME := lsp-r3d-glx-lib
LSP_R3D_GLX_LIB_TYPE := bin
LSP_R3D_GLX_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_GLX_LIB_NAME).git
LSP_R3D_GLX_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_GLX_LIB_NAME).git

LSP_R3D_WGL_LIB_VERSION := 1.0.10
LSP_R3D_WGL_LIB_VERSION := 1.0.11
LSP_R3D_WGL_LIB_NAME := lsp-r3d-wgl-lib
LSP_R3D_WGL_LIB_TYPE := bin
LSP_R3D_WGL_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_WGL_LIB_NAME).git
LSP_R3D_WGL_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_WGL_LIB_NAME).git

LSP_RUNTIME_LIB_VERSION := 1.0.18
LSP_RUNTIME_LIB_VERSION := 1.0.19
LSP_RUNTIME_LIB_NAME := lsp-runtime-lib
LSP_RUNTIME_LIB_TYPE := src
LSP_RUNTIME_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_RUNTIME_LIB_NAME).git
LSP_RUNTIME_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_RUNTIME_LIB_NAME).git

LSP_TEST_FW_VERSION := 1.0.22
LSP_TEST_FW_VERSION := 1.0.23
LSP_TEST_FW_NAME := lsp-test-fw
LSP_TEST_FW_TYPE := src
LSP_TEST_FW_URL_RO := https://github.com/lsp-plugins/$(LSP_TEST_FW_NAME).git
LSP_TEST_FW_URL_RW := [email protected]:lsp-plugins/$(LSP_TEST_FW_NAME).git

LSP_TK_LIB_VERSION := 1.0.18
LSP_TK_LIB_VERSION := 1.0.19
LSP_TK_LIB_NAME := lsp-tk-lib
LSP_TK_LIB_TYPE := src
LSP_TK_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_TK_LIB_NAME).git
LSP_TK_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_TK_LIB_NAME).git

LSP_WS_LIB_VERSION := 1.0.18
LSP_WS_LIB_VERSION := 1.0.19
LSP_WS_LIB_NAME := lsp-ws-lib
LSP_WS_LIB_TYPE := src
LSP_WS_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_WS_LIB_NAME).git
LSP_WS_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_WS_LIB_NAME).git

# Plugin-related module dependencies
LSP_PLUGIN_FW_VERSION := 1.0.20
LSP_PLUGIN_FW_VERSION := 1.0.21
LSP_PLUGIN_FW_NAME := lsp-plugin-fw
LSP_PLUGIN_FW_TYPE := src
LSP_PLUGIN_FW_URL_RO := https://github.com/lsp-plugins/$(LSP_PLUGIN_FW_NAME).git
LSP_PLUGIN_FW_URL_RW := [email protected]:lsp-plugins/$(LSP_PLUGIN_FW_NAME).git

LSP_PLUGINS_SHARED_VERSION := 1.0.19
LSP_PLUGINS_SHARED_VERSION := 1.0.20
LSP_PLUGINS_SHARED_NAME := lsp-plugins-shared
LSP_PLUGINS_SHARED_TYPE := src
LSP_PLUGINS_SHARED_URL_RO := https://github.com/lsp-plugins/$(LSP_PLUGINS_SHARED_NAME).git
Expand Down
2 changes: 1 addition & 1 deletion project.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ARTIFACT_TYPE = plug
ARTIFACT_DESC = LSP Multiband Gate Plugin Series
ARTIFACT_HEADERS = lsp-plug.in
ARTIFACT_EXPORT_HEADERS = 0
ARTIFACT_VERSION = 1.0.15
ARTIFACT_VERSION = 1.0.16



Binary file modified res/doc/screenshots/mb_gate_lr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/doc/screenshots/mb_gate_mono.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/doc/screenshots/mb_gate_ms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/doc/screenshots/mb_gate_stereo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/doc/screenshots/sc_mb_gate_lr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/doc/screenshots/sc_mb_gate_mono.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/doc/screenshots/sc_mb_gate_ms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified res/doc/screenshots/sc_mb_gate_stereo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions res/main/i18n/default/lists.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@
"band6": "Band 6",
"band7": "Band 7",
"split": "Split",
"splits": {
"index": {
"split_id": "Split #{@id}",
"left_id": "Left #{@id}",
"mid_id": "Mid #{@id}",
"right_id": "Right #{@id}",
"side_id": "Side #{@id}"
}
},
"notes": {
"full": "{@id}\n{@frequency} Hz\n{@note}{@octave}{@cents}",
"unknown": "{@id}\n{@frequency} Hz"
},
"split_left": "Split Left",
"split_middle": "Split Mid",
"split_right": "Split Right",
Expand Down
13 changes: 13 additions & 0 deletions res/main/i18n/ru/lists.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@
"band6": "Полоса 6",
"band7": "Полоса 7",
"split": "Разделение",
"splits": {
"index": {
"split_id": "Раздел №{@id}",
"left_id": "Левый №{@id}",
"mid_id": "Середина №{@id}",
"right_id": "Правый №{@id}",
"side_id": "Сторона №{@id}"
}
},
"notes": {
"full": "{@id}\n{@frequency} Гц\n{@note}{@octave}{@cents}",
"unknown": "{@id}\n{@frequency} Гц"
},
"split_left": "Разделение левого",
"split_middle": "Разделение центра",
"split_right": "Разделение правого",
Expand Down
13 changes: 13 additions & 0 deletions res/main/i18n/us/lists.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@
"band6": "Band 6",
"band7": "Band 7",
"split": "Split",
"splits": {
"index": {
"split_id": "Split #{@id}",
"left_id": "Left #{@id}",
"mid_id": "Mid #{@id}",
"right_id": "Right #{@id}",
"side_id": "Side #{@id}"
}
},
"notes": {
"full": "{@id}\n{@frequency} Hz\n{@note}{@octave}{@cents}",
"unknown": "{@id}\n{@frequency} Hz"
},
"split_left": "Split Left",
"split_middle": "Split Mid",
"split_right": "Split Right",
Expand Down
Loading

0 comments on commit b309b21

Please sign in to comment.