Skip to content

Commit 501af19

Browse files
committed
Release 0.1.2
* Updated peak elimination algorithm. * Updated dependencies to core libraries.
2 parents fb91927 + 03b959d commit 501af19

File tree

12 files changed

+320
-19
lines changed

12 files changed

+320
-19
lines changed

.cproject

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@
6363
</tool>
6464
</toolChain>
6565
</folderInfo>
66+
<fileInfo id="cdt.managedbuild.config.gnu.exe.debug.284177876.1049218507" name="avx512.cpp" rcbsApplicability="disable" resourcePath="modules/lsp-dsp-lib/src/main/x86/avx512.cpp" toolsToInvoke="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.153726150.1864607704">
67+
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.153726150.1864607704" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.debug.153726150">
68+
<option id="gnu.cpp.compiler.option.other.other.1582453861" superClass="gnu.cpp.compiler.option.other.other" useByScannerDiscovery="false" value="-c -fmessage-length=0 -mavx512f -mavx512vl" valueType="string"/>
69+
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1982496994" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
70+
</tool>
71+
</fileInfo>
6672
<sourceEntries>
6773
<entry excluding="modules/lsp-test-fw/src/test/main.cpp|modules/lsp-runtime-lib/src/test/main.cpp|modules/lsp-lltl-lib/src/test/main.cpp|modules/lsp-dsp-units/src/test/main.cpp|modules/lsp-dsp-lib/src/test/main.cpp|modules/lsp-common-lib/src/test/main.cpp" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
6874
</sourceEntries>
@@ -115,6 +121,12 @@
115121
</tool>
116122
</toolChain>
117123
</folderInfo>
124+
<fileInfo id="cdt.managedbuild.config.gnu.exe.release.173102520.305750653" name="avx512.cpp" rcbsApplicability="disable" resourcePath="modules/lsp-dsp-lib/src/main/x86/avx512.cpp" toolsToInvoke="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.112601161.1533014592">
125+
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.112601161.1533014592" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.exe.release.112601161">
126+
<option id="gnu.cpp.compiler.option.other.other.1377770291" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -mavx512f -mavx512vl" valueType="string"/>
127+
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1007683426" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
128+
</tool>
129+
</fileInfo>
118130
<sourceEntries>
119131
<entry excluding="modules/lsp-test-fw/src/test/main.cpp|modules/lsp-runtime-lib/src/test/main.cpp|modules/lsp-lltl-lib/src/test/main.cpp|modules/lsp-dsp-units/src/test/main.cpp|modules/lsp-dsp-lib/src/test/main.cpp|modules/lsp-common-lib/src/test/main.cpp" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
120132
</sourceEntries>

.settings/language.settings.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
66
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
77
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
8-
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-389841159001986787" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
8+
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-388114510999521787" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
99
<language-scope id="org.eclipse.cdt.core.gcc"/>
1010
<language-scope id="org.eclipse.cdt.core.g++"/>
1111
</provider>
@@ -16,7 +16,7 @@
1616
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
1717
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
1818
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
19-
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-389841159001986787" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
19+
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-388114510999521787" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
2020
<language-scope id="org.eclipse.cdt.core.gcc"/>
2121
<language-scope id="org.eclipse.cdt.core.g++"/>
2222
</provider>

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
* RECENT CHANGES
33
*******************************************************************************
44

5+
=== 0.1.2 ===
6+
* Updated peak elimination algorithm.
7+
* Updated dependencies to core libraries.
8+
59
=== 0.1.1 ===
610
* Added peak elimination algorithm.
711

include/private/audio.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ namespace spike_bender
5959
float gain; // The peak value
6060
} range_t;
6161

62+
typedef struct peak_t
63+
{
64+
size_t index; // The peak index
65+
float gain; // The peak value
66+
} peak_t;
67+
6268
/**
6369
* Load audio file and perform resampling
6470
*

include/private/config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ namespace spike_bender
4848
weighting_t enWeighting; // Weighting function
4949
normalize_t enNormalize; // Normalization method
5050
float fNormGain; // Normalization gain
51-
float fPeakThresh; // Amplitude smash threshold
51+
float fPeakThresh; // Amplitude smash threshold
52+
bool bEliminatePeaks;// Eliminate peaks
5253

5354
public:
5455
explicit config_t();

modules.mk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,31 @@
1919
#
2020

2121
# Variables that describe dependencies
22-
LSP_COMMON_LIB_VERSION := 1.0.30
22+
LSP_COMMON_LIB_VERSION := 1.0.32
2323
LSP_COMMON_LIB_NAME := lsp-common-lib
2424
LSP_COMMON_LIB_TYPE := src
2525
LSP_COMMON_LIB_URL_RO := https://github.com/sadko4u/$(LSP_COMMON_LIB_NAME).git
2626
LSP_COMMON_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_COMMON_LIB_NAME).git
2727

28-
LSP_DSP_LIB_VERSION := 1.0.14
28+
LSP_DSP_LIB_VERSION := 1.0.19
2929
LSP_DSP_LIB_NAME := lsp-dsp-lib
3030
LSP_DSP_LIB_TYPE := src
3131
LSP_DSP_LIB_URL_RO := https://github.com/sadko4u/$(LSP_DSP_LIB_NAME).git
3232
LSP_DSP_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_DSP_LIB_NAME).git
3333

34-
LSP_DSP_UNITS_VERSION := 1.0.13
34+
LSP_DSP_UNITS_VERSION := 1.0.18
3535
LSP_DSP_UNITS_NAME := lsp-dsp-units
3636
LSP_DSP_UNITS_TYPE := src
3737
LSP_DSP_UNITS_URL_RO := https://github.com/sadko4u/$(LSP_DSP_UNITS_NAME).git
3838
LSP_DSP_UNITS_URL_RW := git@github.com:lsp-plugins/$(LSP_DSP_UNITS_NAME).git
3939

40-
LSP_LLTL_LIB_VERSION := 1.0.13
40+
LSP_LLTL_LIB_VERSION := 1.0.15
4141
LSP_LLTL_LIB_NAME := lsp-lltl-lib
4242
LSP_LLTL_LIB_TYPE := src
4343
LSP_LLTL_LIB_URL_RO := https://github.com/sadko4u/$(LSP_LLTL_LIB_NAME).git
4444
LSP_LLTL_LIB_URL_RW := git@github.com:lsp-plugins/$(LSP_LLTL_LIB_NAME).git
4545

46-
LSP_RUNTIME_LIB_VERSION := 1.0.16
46+
LSP_RUNTIME_LIB_VERSION := 1.0.18
4747
LSP_RUNTIME_LIB_NAME := lsp-runtime-lib
4848
LSP_RUNTIME_LIB_TYPE := src
4949
LSP_RUNTIME_LIB_URL_RO := https://github.com/sadko4u/$(LSP_RUNTIME_LIB_NAME).git

project.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
ARTIFACT_ID = SPIKE_BENDER
2323
ARTIFACT_NAME = spike-bender
2424
ARTIFACT_DESC = Spike Bender - a tool for dynamics correction
25-
ARTIFACT_VERSION = 0.1.1
25+
ARTIFACT_VERSION = 0.1.2

0 commit comments

Comments
 (0)