From 23f9b0c949e38776e98c6c0b4acc558df7e1dd40 Mon Sep 17 00:00:00 2001 From: Efenstor Date: Sun, 17 Sep 2023 22:14:58 +0700 Subject: [PATCH 1/9] Fixed state saving for the stereo mode --- plugins/nrepellent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nrepellent.c b/plugins/nrepellent.c index b13aca3..39d042c 100644 --- a/plugins/nrepellent.c +++ b/plugins/nrepellent.c @@ -62,7 +62,7 @@ static void map_uris(LV2_URID_Map *map, URIs *uris, const char *uri) { } static void map_state(LV2_URID_Map *map, State *state, const char *uri) { - if (!strcmp(uri, NOISEREPELLENT_URI)) { + if (strcmp(uri, NOISEREPELLENT_URI)) { state->property_noise_profile_1 = map->map(map->handle, NOISEREPELLENT_STEREO_URI "#noiseprofile"); state->property_noise_profile_2 = From 842f99ac5bd9bb89692cfc32a276096d6c72760e Mon Sep 17 00:00:00 2001 From: Efenstor Date: Mon, 18 Sep 2023 02:08:49 +0700 Subject: [PATCH 2/9] A scruffy fix for non-functional Enable button in the stereo mode. Cosmetic optimizations and fixes. --- lv2ttl/nrepellent#stereo.ttl.in | 28 +++++++++--------- lv2ttl/nrepellent.ttl.in | 25 +++++++++------- plugins/nrepellent-adaptive.c | 24 ++++++++------- plugins/nrepellent.c | 52 +++++++++++---------------------- src/signal_crossfade.c | 4 +-- src/signal_crossfade.h | 2 +- 6 files changed, 61 insertions(+), 74 deletions(-) diff --git a/lv2ttl/nrepellent#stereo.ttl.in b/lv2ttl/nrepellent#stereo.ttl.in index 6bf31f0..489e408 100755 --- a/lv2ttl/nrepellent#stereo.ttl.in +++ b/lv2ttl/nrepellent#stereo.ttl.in @@ -40,10 +40,10 @@ lv2:index 0 ; lv2:symbol "noise_learn" ; lv2:name "Aprender perfil de ruido"@es , - "Apprendre le profil du bruit"@fr , + "Apprendre le profil du bruit"@fr , "Learn noise profile" ; lv2:scalePoint [ - rdfs:label "Apagado"@es, + rdfs:label "Apagado"@es, "Off"@fr, "Off" ; rdf:value 0 @@ -59,18 +59,18 @@ "Median of Noise"@fr, "Median of Noise" ; rdf:value 2 - ] ; + ] ; lv2:scalePoint [ - rdfs:label "Maximo del Ruido"@es, + rdfs:label "Maximo del Ruido"@es, "Maximum of Noise"@fr, "Maximum of Noise" ; rdf:value 3 - ] ; + ] ; lv2:minimum 0 ; lv2:maximum 3 ; lv2:default 0 ; lv2:portProperty lv2:integer ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 1 ; @@ -84,15 +84,15 @@ lv2:designation lv2:threshold ; units:unit units:db ; units:conversion [ - units:to units:coef; - ]; + units:to units:coef; + ]; ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 2 ; lv2:symbol "noise_scaling_type" ; lv2:name "Tipo de Reduccion"@es , - "Type of reduction"@fr , + "Type of reduction"@fr , "Type of reduction" ; lv2:scalePoint [ rdfs:label "S/R A-Posteriori"@es, @@ -111,7 +111,7 @@ "Masking Thresholds"@fr, "Masking Thresholds" ; rdf:value 2 - ] ; + ] ; lv2:minimum 0 ; lv2:maximum 2 ; lv2:default 2 ; @@ -141,7 +141,7 @@ lv2:maximum 10.0 ; lv2:default -10.0 ; units:unit units:db ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 5 ; @@ -165,7 +165,7 @@ lv2:maximum 100.0 ; lv2:default 0.0 ; units:unit units:pc ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 7 ; @@ -177,7 +177,7 @@ lv2:maximum 1 ; lv2:default 0 ; lv2:portProperty lv2:toggled, lv2:integer ; - ], [ + ], [ a lv2:InputPort, lv2:ControlPort ; lv2:index 8 ; @@ -212,7 +212,7 @@ lv2:maximum 1 ; lv2:default 1 ; lv2:designation lv2:enabled ; - lv2:portProperty lv2:toggled, lv2:integer ; + lv2:portProperty lv2:toggled, lv2:integer ; ], [ a lv2:OutputPort, lv2:ControlPort ; diff --git a/lv2ttl/nrepellent.ttl.in b/lv2ttl/nrepellent.ttl.in index b91543a..a8c87e4 100755 --- a/lv2ttl/nrepellent.ttl.in +++ b/lv2ttl/nrepellent.ttl.in @@ -40,10 +40,10 @@ lv2:index 0 ; lv2:symbol "noise_learn" ; lv2:name "Aprender perfil de ruido"@es , - "Apprendre le profil du bruit"@fr , + "Apprendre le profil du bruit"@fr , "Learn noise profile" ; lv2:scalePoint [ - rdfs:label "Apagado"@es, + rdfs:label "Apagado"@es, "Off"@fr, "Off" ; rdf:value 0 @@ -59,9 +59,9 @@ "Median of Noise"@fr, "Median of Noise" ; rdf:value 2 - ] ; + ] ; lv2:scalePoint [ - rdfs:label "Maximo del Ruido"@es, + rdfs:label "Maximo del Ruido"@es, "Maximum of Noise"@fr, "Maximum of Noise" ; rdf:value 3 @@ -70,7 +70,7 @@ lv2:maximum 3 ; lv2:default 0 ; lv2:portProperty lv2:integer ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 1 ; @@ -83,13 +83,16 @@ lv2:default 10.0 ; lv2:designation lv2:threshold ; units:unit units:db ; + units:conversion [ + units:to units:coef; + ]; ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 2 ; lv2:symbol "noise_scaling_type" ; lv2:name "Tipo de Reduccion"@es, - "Type of reduction"@fr, + "Type of reduction"@fr, "Type of reduction" ; lv2:scalePoint [ rdfs:label "S/R A-Posteriori"@es, @@ -108,7 +111,7 @@ "Masking Thresholds"@fr, "Masking Thresholds" ; rdf:value 2 - ] ; + ] ; lv2:minimum 0 ; lv2:maximum 2 ; lv2:default 2 ; @@ -138,7 +141,7 @@ lv2:maximum 10.0 ; lv2:default -10.0 ; units:unit units:db ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 5 ; @@ -162,7 +165,7 @@ lv2:maximum 100.0 ; lv2:default 0.0 ; units:unit units:pc ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 7 ; @@ -174,7 +177,7 @@ lv2:maximum 1 ; lv2:default 0 ; lv2:portProperty lv2:toggled, lv2:integer ; - ], [ + ], [ a lv2:InputPort, lv2:ControlPort ; lv2:index 8 ; @@ -209,7 +212,7 @@ lv2:maximum 1 ; lv2:default 1 ; lv2:designation lv2:enabled ; - lv2:portProperty lv2:toggled, lv2:integer ; + lv2:portProperty lv2:toggled, lv2:integer ; ], [ a lv2:OutputPort, lv2:ControlPort ; diff --git a/plugins/nrepellent-adaptive.c b/plugins/nrepellent-adaptive.c index 0929840..b1e15d6 100644 --- a/plugins/nrepellent-adaptive.c +++ b/plugins/nrepellent-adaptive.c @@ -51,7 +51,7 @@ typedef enum PortIndex { NOISEREPELLENT_POSTFILTER = 3, NOISEREPELLENT_NOISE_SMOOTHING = 4, NOISEREPELLENT_WHITENING = 5, - NOISEREPELLENT_RESIDUAL_LISTEN = 6, + NOISEREPELLENT_RESIDUAL_LISTEN = 6, NOISEREPELLENT_ENABLE = 7, NOISEREPELLENT_LATENCY = 8, NOISEREPELLENT_INPUT_1 = 9, @@ -133,7 +133,7 @@ static LV2_Handle instantiate(const LV2_Descriptor *descriptor, return NULL; } - if (strstr(descriptor->URI, NOISEREPELLENT_ADAPTIVE_URI)) { + if (!strcmp(descriptor->URI, NOISEREPELLENT_ADAPTIVE_STEREO_URI)) { self->plugin_uri = (char *)calloc( strlen(NOISEREPELLENT_ADAPTIVE_STEREO_URI) + 1, sizeof(char)); strcpy(self->plugin_uri, descriptor->URI); @@ -161,7 +161,7 @@ static LV2_Handle instantiate(const LV2_Descriptor *descriptor, return NULL; } - if (strstr(self->plugin_uri, NOISEREPELLENT_ADAPTIVE_STEREO_URI)) { + if (!strcmp(self->plugin_uri, NOISEREPELLENT_ADAPTIVE_STEREO_URI)) { self->lib_instance_2 = specbleach_adaptive_initialize((uint32_t)self->sample_rate, FRAME_SIZE); @@ -259,11 +259,12 @@ static void run(LV2_Handle instance, uint32_t number_of_samples) { specbleach_adaptive_load_parameters(self->lib_instance_1, self->parameters); - specbleach_adaptive_process(self->lib_instance_1, number_of_samples, - self->input_1, self->output_1); + if(*self->enable) + specbleach_adaptive_process(self->lib_instance_1, number_of_samples, + self->input_1, self->output_1); - signal_crossfade_run(self->soft_bypass, number_of_samples, self->input_1, - self->output_1, (bool)*self->enable); + /*signal_crossfade_run(self->soft_bypass, number_of_samples, self->input_1, + self->output_1, (bool)*self->enable);*/ } static void run_stereo(LV2_Handle instance, uint32_t number_of_samples) { @@ -273,11 +274,12 @@ static void run_stereo(LV2_Handle instance, uint32_t number_of_samples) { specbleach_adaptive_load_parameters(self->lib_instance_2, self->parameters); - specbleach_adaptive_process(self->lib_instance_2, number_of_samples, - self->input_2, self->output_2); + if(*self->enable) + specbleach_adaptive_process(self->lib_instance_2, number_of_samples, + self->input_2, self->output_2); - signal_crossfade_run(self->soft_bypass, number_of_samples, self->input_2, - self->output_2, (bool)*self->enable); + /*signal_crossfade_run(self->soft_bypass, number_of_samples, self->input_2, + self->output_2, (bool)*self->enable);*/ } // clang-format off diff --git a/plugins/nrepellent.c b/plugins/nrepellent.c index 39d042c..887d330 100644 --- a/plugins/nrepellent.c +++ b/plugins/nrepellent.c @@ -62,7 +62,7 @@ static void map_uris(LV2_URID_Map *map, URIs *uris, const char *uri) { } static void map_state(LV2_URID_Map *map, State *state, const char *uri) { - if (strcmp(uri, NOISEREPELLENT_URI)) { + if (!strcmp(uri, NOISEREPELLENT_STEREO_URI)) { state->property_noise_profile_1 = map->map(map->handle, NOISEREPELLENT_STEREO_URI "#noiseprofile"); state->property_noise_profile_2 = @@ -71,7 +71,6 @@ static void map_state(LV2_URID_Map *map, State *state, const char *uri) { map->map(map->handle, NOISEREPELLENT_STEREO_URI "#noiseprofilesize"); state->property_averaged_blocks = map->map( map->handle, NOISEREPELLENT_STEREO_URI "#noiseprofileaveragedblocks"); - } else { state->property_noise_profile_1 = map->map(map->handle, NOISEREPELLENT_URI "#noiseprofile"); @@ -193,15 +192,8 @@ static LV2_Handle instantiate(const LV2_Descriptor *descriptor, return NULL; } - if (strstr(descriptor->URI, NOISEREPELLENT_STEREO_URI)) { - self->plugin_uri = - (char *)calloc(strlen(NOISEREPELLENT_STEREO_URI) + 1U, sizeof(char)); - strcpy(self->plugin_uri, descriptor->URI); - } else { - self->plugin_uri = - (char *)calloc(strlen(NOISEREPELLENT_URI) + 1U, sizeof(char)); - strcpy(self->plugin_uri, descriptor->URI); - } + self->plugin_uri = (char *)calloc(strlen(descriptor->URI) + 1U, sizeof(char)); + strcpy(self->plugin_uri, descriptor->URI); map_uris(self->map, &self->uris, self->plugin_uri); map_state(self->map, &self->state, self->plugin_uri); @@ -231,7 +223,7 @@ static LV2_Handle instantiate(const LV2_Descriptor *descriptor, self->noise_profile_1 = (float *)calloc(self->profile_size, sizeof(float)); - if (strstr(self->plugin_uri, NOISEREPELLENT_STEREO_URI)) { + if (!strcmp(self->plugin_uri, NOISEREPELLENT_STEREO_URI)) { self->lib_instance_2 = specbleach_initialize((uint32_t)self->sample_rate, FRAME_SIZE); @@ -296,18 +288,6 @@ static void connect_port(LV2_Handle instance, uint32_t port, void *data) { case NOISEREPELLENT_OUTPUT_1: self->output_1 = (float *)data; break; - default: - break; - } -} - -static void connect_port_stereo(LV2_Handle instance, uint32_t port, - void *data) { - NoiseRepellentPlugin *self = (NoiseRepellentPlugin *)instance; - - connect_port(instance, port, data); - - switch ((PortIndex)port) { case NOISEREPELLENT_INPUT_2: self->input_2 = (const float *)data; break; @@ -348,11 +328,12 @@ static void run(LV2_Handle instance, uint32_t number_of_samples) { specbleach_reset_noise_profile(self->lib_instance_1); } - specbleach_process(self->lib_instance_1, number_of_samples, self->input_1, - self->output_1); + if(*self->enable) + specbleach_process(self->lib_instance_1, number_of_samples, self->input_1, + self->output_1); - signal_crossfade_run(self->soft_bypass, number_of_samples, self->input_1, - self->output_1, (bool)*self->enable); + /*signal_crossfade_run(self->soft_bypass, number_of_samples, self->input_1, + self->output_1, (bool)*self->enable);*/ } static void run_stereo(LV2_Handle instance, uint32_t number_of_samples) { @@ -366,11 +347,12 @@ static void run_stereo(LV2_Handle instance, uint32_t number_of_samples) { specbleach_reset_noise_profile(self->lib_instance_2); } - specbleach_process(self->lib_instance_2, number_of_samples, self->input_2, - self->output_2); + if(*self->enable) + specbleach_process(self->lib_instance_2, number_of_samples, self->input_2, + self->output_2); - signal_crossfade_run(self->soft_bypass, number_of_samples, self->input_2, - self->output_2, (bool)*self->enable); + /*signal_crossfade_run(self->soft_bypass, number_of_samples, self->input_2, + self->output_2, (bool)*self->enable);*/ } static LV2_State_Status save(LV2_Handle instance, @@ -401,7 +383,7 @@ static LV2_State_Status save(LV2_Handle instance, (void *)self->noise_profile_state_1, noise_profile_get_size(), self->uris.atom_Vector, LV2_STATE_IS_POD | LV2_STATE_IS_PORTABLE); - if (strstr(self->plugin_uri, NOISEREPELLENT_STEREO_URI)) { + if (!strcmp(self->plugin_uri, NOISEREPELLENT_STEREO_URI)) { memcpy(noise_profile_get_elements(self->noise_profile_state_2), specbleach_get_noise_profile(self->lib_instance_2), sizeof(float) * self->profile_size); @@ -449,7 +431,7 @@ static LV2_State_Status restore(LV2_Handle instance, specbleach_load_noise_profile(self->lib_instance_1, self->noise_profile_1, *fftsize, *averagedblocks); - if (strstr(self->plugin_uri, NOISEREPELLENT_STEREO_URI)) { + if (!strcmp(self->plugin_uri, NOISEREPELLENT_STEREO_URI)) { const void *saved_noise_profile_2 = retrieve( handle, self->state.property_noise_profile_2, &size, &type, &valflags); if (!saved_noise_profile_2 || size != noise_profile_get_size() || @@ -490,7 +472,7 @@ static const LV2_Descriptor descriptor = { static const LV2_Descriptor descriptor_stereo = { NOISEREPELLENT_STEREO_URI, instantiate, - connect_port_stereo, + connect_port, activate, run_stereo, NULL, diff --git a/src/signal_crossfade.c b/src/signal_crossfade.c index 7800dab..5731db6 100644 --- a/src/signal_crossfade.c +++ b/src/signal_crossfade.c @@ -71,8 +71,8 @@ bool signal_crossfade_run(SignalCrossfade *self, signal_crossfade_update_wetdry_target(self, enable); for (uint32_t k = 0U; k < number_of_samples; k++) { - output[k] = (1.F - self->wet_dry) * input[k] + output[k] * self->wet_dry; + output[k] = input[k]; } return true; -} \ No newline at end of file +} diff --git a/src/signal_crossfade.h b/src/signal_crossfade.h index aac9ad1..e3773f2 100644 --- a/src/signal_crossfade.h +++ b/src/signal_crossfade.h @@ -30,4 +30,4 @@ SignalCrossfade *signal_crossfade_initialize(uint32_t sample_rate); void signal_crossfade_free(SignalCrossfade *self); bool signal_crossfade_run(SignalCrossfade *self, uint32_t number_of_samples, const float *input, float *output, bool enable); -#endif \ No newline at end of file +#endif From 1069a0980c360e0291a5d5788dcdb3923d7560cd Mon Sep 17 00:00:00 2001 From: Efenstor Date: Mon, 18 Sep 2023 02:12:43 +0700 Subject: [PATCH 3/9] Debug junk in signal_crossfade_run removed. It is still not functional though. --- src/signal_crossfade.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/signal_crossfade.c b/src/signal_crossfade.c index 5731db6..951d368 100644 --- a/src/signal_crossfade.c +++ b/src/signal_crossfade.c @@ -71,7 +71,7 @@ bool signal_crossfade_run(SignalCrossfade *self, signal_crossfade_update_wetdry_target(self, enable); for (uint32_t k = 0U; k < number_of_samples; k++) { - output[k] = input[k]; + output[k] = (1.F - self->wet_dry) * input[k] + output[k] * self->wet_dry; } return true; From 1c31129e11a481533745bd72e3c1c81f7ac7c361 Mon Sep 17 00:00:00 2001 From: Efenstor Date: Mon, 18 Sep 2023 02:26:34 +0700 Subject: [PATCH 4/9] Undo most of the unneeded formattings changes in the .ttl files --- lv2ttl/nrepellent#stereo.ttl.in | 28 ++++++++++++++-------------- lv2ttl/nrepellent.ttl.in | 22 +++++++++++----------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/lv2ttl/nrepellent#stereo.ttl.in b/lv2ttl/nrepellent#stereo.ttl.in index 489e408..6bf31f0 100755 --- a/lv2ttl/nrepellent#stereo.ttl.in +++ b/lv2ttl/nrepellent#stereo.ttl.in @@ -40,10 +40,10 @@ lv2:index 0 ; lv2:symbol "noise_learn" ; lv2:name "Aprender perfil de ruido"@es , - "Apprendre le profil du bruit"@fr , + "Apprendre le profil du bruit"@fr , "Learn noise profile" ; lv2:scalePoint [ - rdfs:label "Apagado"@es, + rdfs:label "Apagado"@es, "Off"@fr, "Off" ; rdf:value 0 @@ -59,18 +59,18 @@ "Median of Noise"@fr, "Median of Noise" ; rdf:value 2 - ] ; + ] ; lv2:scalePoint [ - rdfs:label "Maximo del Ruido"@es, + rdfs:label "Maximo del Ruido"@es, "Maximum of Noise"@fr, "Maximum of Noise" ; rdf:value 3 - ] ; + ] ; lv2:minimum 0 ; lv2:maximum 3 ; lv2:default 0 ; lv2:portProperty lv2:integer ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 1 ; @@ -84,15 +84,15 @@ lv2:designation lv2:threshold ; units:unit units:db ; units:conversion [ - units:to units:coef; - ]; + units:to units:coef; + ]; ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 2 ; lv2:symbol "noise_scaling_type" ; lv2:name "Tipo de Reduccion"@es , - "Type of reduction"@fr , + "Type of reduction"@fr , "Type of reduction" ; lv2:scalePoint [ rdfs:label "S/R A-Posteriori"@es, @@ -111,7 +111,7 @@ "Masking Thresholds"@fr, "Masking Thresholds" ; rdf:value 2 - ] ; + ] ; lv2:minimum 0 ; lv2:maximum 2 ; lv2:default 2 ; @@ -141,7 +141,7 @@ lv2:maximum 10.0 ; lv2:default -10.0 ; units:unit units:db ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 5 ; @@ -165,7 +165,7 @@ lv2:maximum 100.0 ; lv2:default 0.0 ; units:unit units:pc ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 7 ; @@ -177,7 +177,7 @@ lv2:maximum 1 ; lv2:default 0 ; lv2:portProperty lv2:toggled, lv2:integer ; - ], [ + ], [ a lv2:InputPort, lv2:ControlPort ; lv2:index 8 ; @@ -212,7 +212,7 @@ lv2:maximum 1 ; lv2:default 1 ; lv2:designation lv2:enabled ; - lv2:portProperty lv2:toggled, lv2:integer ; + lv2:portProperty lv2:toggled, lv2:integer ; ], [ a lv2:OutputPort, lv2:ControlPort ; diff --git a/lv2ttl/nrepellent.ttl.in b/lv2ttl/nrepellent.ttl.in index a8c87e4..a67c832 100755 --- a/lv2ttl/nrepellent.ttl.in +++ b/lv2ttl/nrepellent.ttl.in @@ -40,10 +40,10 @@ lv2:index 0 ; lv2:symbol "noise_learn" ; lv2:name "Aprender perfil de ruido"@es , - "Apprendre le profil du bruit"@fr , + "Apprendre le profil du bruit"@fr , "Learn noise profile" ; lv2:scalePoint [ - rdfs:label "Apagado"@es, + rdfs:label "Apagado"@es, "Off"@fr, "Off" ; rdf:value 0 @@ -59,9 +59,9 @@ "Median of Noise"@fr, "Median of Noise" ; rdf:value 2 - ] ; + ] ; lv2:scalePoint [ - rdfs:label "Maximo del Ruido"@es, + rdfs:label "Maximo del Ruido"@es, "Maximum of Noise"@fr, "Maximum of Noise" ; rdf:value 3 @@ -70,7 +70,7 @@ lv2:maximum 3 ; lv2:default 0 ; lv2:portProperty lv2:integer ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 1 ; @@ -92,7 +92,7 @@ lv2:index 2 ; lv2:symbol "noise_scaling_type" ; lv2:name "Tipo de Reduccion"@es, - "Type of reduction"@fr, + "Type of reduction"@fr, "Type of reduction" ; lv2:scalePoint [ rdfs:label "S/R A-Posteriori"@es, @@ -111,7 +111,7 @@ "Masking Thresholds"@fr, "Masking Thresholds" ; rdf:value 2 - ] ; + ] ; lv2:minimum 0 ; lv2:maximum 2 ; lv2:default 2 ; @@ -141,7 +141,7 @@ lv2:maximum 10.0 ; lv2:default -10.0 ; units:unit units:db ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 5 ; @@ -165,7 +165,7 @@ lv2:maximum 100.0 ; lv2:default 0.0 ; units:unit units:pc ; - ], [ + ], [ a lv2:ControlPort, lv2:InputPort ; lv2:index 7 ; @@ -177,7 +177,7 @@ lv2:maximum 1 ; lv2:default 0 ; lv2:portProperty lv2:toggled, lv2:integer ; - ], [ + ], [ a lv2:InputPort, lv2:ControlPort ; lv2:index 8 ; @@ -212,7 +212,7 @@ lv2:maximum 1 ; lv2:default 1 ; lv2:designation lv2:enabled ; - lv2:portProperty lv2:toggled, lv2:integer ; + lv2:portProperty lv2:toggled, lv2:integer ; ], [ a lv2:OutputPort, lv2:ControlPort ; From 3d2681d2ec6520570fbc3046da1e28b7d98a9860 Mon Sep 17 00:00:00 2001 From: efenstor Date: Sat, 28 Sep 2024 15:53:44 +0700 Subject: [PATCH 5/9] Updated README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ba46b84..39d3384 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# noise-repellent +# noise-repellent-DEV-Efenstor-fork + +###This is the fixed development branch of the original noise-repellent, probably not quite stable but tested and useable. A suite of lv2 plugins for noise reduction that uses [libspecbleach](https://github.com/lucianodato/libspecbleach) C library. From dcf7b684d5cd437fe48da117d78a8d42e040f45f Mon Sep 17 00:00:00 2001 From: Efenstor Date: Sat, 28 Sep 2024 15:54:50 +0700 Subject: [PATCH 6/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 39d3384..f05d639 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # noise-repellent-DEV-Efenstor-fork -###This is the fixed development branch of the original noise-repellent, probably not quite stable but tested and useable. +### This is the fixed development branch of the original noise-repellent, probably not quite stable but tested and useable. A suite of lv2 plugins for noise reduction that uses [libspecbleach](https://github.com/lucianodato/libspecbleach) C library. From 5f84aa156b4c5f8ef09d2c7cc5f09e66d9b9f878 Mon Sep 17 00:00:00 2001 From: Efenstor Date: Sat, 28 Sep 2024 16:02:46 +0700 Subject: [PATCH 7/9] Update README.md --- README.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index f05d639..27dbab1 100755 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ A suite of lv2 plugins for noise reduction that uses [libspecbleach](https://github.com/lucianodato/libspecbleach) C library. -[![build](https://github.com/lucianodato/noise-repellent/actions/workflows/build.yml/badge.svg)](https://github.com/lucianodato/noise-repellent/actions/workflows/build.yml) - ## Features * Adaptive noise reduction plugin for low latency voice denoise @@ -17,24 +15,18 @@ A suite of lv2 plugins for noise reduction that uses [libspecbleach](https://git ## Install -Binaries for most platforms are built using [PawPaw](https://github.com/DISTRHO/PawPaw) and provided with each Github release. Just extract the adequate zip file for your platform to your [lv2 plugins folder](https://lv2plug.in/pages/filesystem-hierarchy-standard.html) - -If you wish to compile yourself and install this plug-in you will need the a C compiling toolchain, LV2 SDK, Meson build system, ninja compiler, git and libspecbleach library (if it doesn't find it it will download and compile it. In this case make sure to have libspecbleach dependencies installed). +To compile yourself and install this plug-in you will need the a C compiling toolchain, LV2 SDK, Meson build system, ninja compiler, git and libspecbleach library (if it doesn't find it it will download and compile it. In this case make sure to have libspecbleach dependencies installed). Installation: ```bash - git clone https://github.com/lucianodato/noise-repellent.git + git clone https://github.com/Efenstor/noise-repellent-DEV-Efenstor-fork.git --branch=DEVELOPMENT cd noise-repellent - meson build --buildtype=release --prefix=/usr --libdir=lib (your-os-appropriate-location-fullpath) + meson build --buildtype=release --prefix=/usr/local --libdir=lib (your-os-appropriate-location-fullpath) meson compile -C build -v sudo meson install -C build ``` -Noise-repellent is on Arch community at . - -Noise-repellent is also available in KXStudios repositories - ## Use Instuctions Please refer to project's wiki From c3df71a93077f624a30f1fca125bf5fb79332065 Mon Sep 17 00:00:00 2001 From: Efenstor Date: Sat, 28 Sep 2024 16:06:10 +0700 Subject: [PATCH 8/9] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 27dbab1..6948543 100755 --- a/README.md +++ b/README.md @@ -21,8 +21,10 @@ Installation: ```bash git clone https://github.com/Efenstor/noise-repellent-DEV-Efenstor-fork.git --branch=DEVELOPMENT - cd noise-repellent - meson build --buildtype=release --prefix=/usr/local --libdir=lib (your-os-appropriate-location-fullpath) + cd noise-repellent-DEV-Efenstor-fork + mkdir build + cd build + meson build .. --buildtype=release meson compile -C build -v sudo meson install -C build ``` From 5bbd876413a64451c6e155ad9c1c3daa18944bb1 Mon Sep 17 00:00:00 2001 From: Efenstor Date: Sat, 28 Sep 2024 16:07:53 +0700 Subject: [PATCH 9/9] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6948543..9ea7f5e 100755 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ Installation: cd noise-repellent-DEV-Efenstor-fork mkdir build cd build - meson build .. --buildtype=release - meson compile -C build -v - sudo meson install -C build + meson .. --buildtype=release + meson compile -v + sudo meson install ``` ## Use Instuctions