fx(pp)_reverb

This commit is contained in:
Stefano D'Angelo 2024-02-15 16:36:49 +01:00
parent 5e5a2f0032
commit ef299091ff
29 changed files with 375 additions and 397 deletions

View File

@ -1,6 +0,0 @@
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
NAME := bw_example_fx_reverb
SOURCES = ${SOURCES_COMMON} ${ROOT_DIR}/../src/bw_example_fx_reverb.c
include ${ROOT_DIR}/../../common/android/android.mk

View File

@ -1,7 +0,0 @@
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
TARGET = bw_example_fx_reverb
C_SOURCES += ${ROOT_DIR}/../src/bw_example_fx_reverb.c
include ${ROOT_DIR}/../../common/daisy-seed/daisy-seed.mk

View File

@ -1,39 +0,0 @@
/*
* Brickworks
*
* Copyright (C) 2023 Orastron Srl unipersonale
*
* Brickworks is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* Brickworks 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Brickworks. If not, see <http://www.gnu.org/licenses/>.
*
* File authors: Stefano D'Angelo
*/
#ifndef _CONFIG_DAISY_SEED_H
#define _CONFIG_DAISY_SEED_H
struct config_pin {
int param_index;
int pin;
};
#define NUM_PINS 5
static struct config_pin config_pins[NUM_PINS] = {
{ 0, 15 },
{ 1, 16 },
{ 2, 17 },
{ 3, 18 },
{ 4, 19 }
};
#endif

View File

@ -1,6 +0,0 @@
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
NAME := bw_example_fx_reverb
SOURCE := ${NAME}.c
include ${ROOT_DIR}/../../common/ios/ios.mk

View File

@ -0,0 +1,5 @@
{
"android": {
"javaPackageName": "com.orastron.bw_example_fx_reverb"
}
}

View File

@ -1,72 +0,0 @@
/*
* Brickworks
*
* Copyright (C) 2023 Orastron Srl unipersonale
*
* Brickworks is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* Brickworks 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Brickworks. If not, see <http://www.gnu.org/licenses/>.
*
* File author: Stefano D'Angelo
*/
#include "bw_example_fx_reverb.h"
void bw_example_fx_reverb_init(bw_example_fx_reverb *instance) {
bw_reverb_init(&instance->reverb_coeffs);
}
void bw_example_fx_reverb_set_sample_rate(bw_example_fx_reverb *instance, float sample_rate) {
bw_reverb_set_sample_rate(&instance->reverb_coeffs, sample_rate);
}
size_t bw_example_fx_reverb_mem_req(bw_example_fx_reverb *instance) {
return bw_reverb_mem_req(&instance->reverb_coeffs);
}
void bw_example_fx_reverb_mem_set(bw_example_fx_reverb *instance, void *mem) {
bw_reverb_mem_set(&instance->reverb_coeffs, &instance->reverb_state, mem);
}
void bw_example_fx_reverb_reset(bw_example_fx_reverb *instance) {
bw_reverb_reset_coeffs(&instance->reverb_coeffs);
float yl, yr;
bw_reverb_reset_state(&instance->reverb_coeffs, &instance->reverb_state, 0.f, 0.f, &yl, &yr);
}
void bw_example_fx_reverb_process(bw_example_fx_reverb *instance, const float** x, float** y, int n_samples) {
bw_reverb_process(&instance->reverb_coeffs, &instance->reverb_state, x[0], x[1], y[0], y[1], n_samples);
}
void bw_example_fx_reverb_set_parameter(bw_example_fx_reverb *instance, int index, float value) {
instance->params[index] = value;
switch (index) {
case p_predelay:
bw_reverb_set_predelay(&instance->reverb_coeffs, 0.1f * value);
break;
case p_bandwidth:
bw_reverb_set_bandwidth(&instance->reverb_coeffs, 20.f + (20e3f - 20.f) * value * value * value);
break;
case p_damping:
bw_reverb_set_damping(&instance->reverb_coeffs, 20.f + (20e3f - 20.f) * value * value * value);
break;
case p_decay:
bw_reverb_set_decay(&instance->reverb_coeffs, bw_minf(value, 0.999f));
break;
case p_drywet:
bw_reverb_set_wet(&instance->reverb_coeffs, value);
break;
}
}
float bw_example_fx_reverb_get_parameter(bw_example_fx_reverb *instance, int index) {
return instance->params[index];
}

View File

@ -1,64 +0,0 @@
/*
* Brickworks
*
* Copyright (C) 2023 Orastron Srl unipersonale
*
* Brickworks is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* Brickworks 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Brickworks. If not, see <http://www.gnu.org/licenses/>.
*
* File author: Stefano D'Angelo
*/
#ifndef _BW_EXAMPLE_FX_REVERB_H
#define _BW_EXAMPLE_FX_REVERB_H
#include "platform.h"
#include <bw_reverb.h>
#ifdef __cplusplus
extern "C" {
#endif
enum {
p_predelay,
p_bandwidth,
p_damping,
p_decay,
p_drywet,
p_n
};
struct _bw_example_fx_reverb {
// Sub-components
bw_reverb_coeffs reverb_coeffs;
bw_reverb_state reverb_state;
// Parameters
float params[p_n];
};
typedef struct _bw_example_fx_reverb bw_example_fx_reverb;
void bw_example_fx_reverb_init(bw_example_fx_reverb *instance);
void bw_example_fx_reverb_set_sample_rate(bw_example_fx_reverb *instance, float sample_rate);
size_t bw_example_fx_reverb_mem_req(bw_example_fx_reverb *instance);
void bw_example_fx_reverb_mem_set(bw_example_fx_reverb *instance, void *mem);
void bw_example_fx_reverb_reset(bw_example_fx_reverb *instance);
void bw_example_fx_reverb_process(bw_example_fx_reverb *instance, const float** x, float** y, int n_samples);
void bw_example_fx_reverb_set_parameter(bw_example_fx_reverb *instance, int index, float value);
float bw_example_fx_reverb_get_parameter(bw_example_fx_reverb *instance, int index);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,6 @@
{
"cmd": {
"busIds": [ "input", "output" ],
"parameterIds": [ "predelay", "bandwidth", "damping", "decay", "wet" ]
}
}

View File

@ -1,93 +0,0 @@
/*
* Brickworks
*
* Copyright (C) 2023 Orastron Srl unipersonale
*
* Brickworks is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* Brickworks 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Brickworks. If not, see <http://www.gnu.org/licenses/>.
*
* File authors: Stefano D'Angelo
*/
#ifndef _CONFIG_H
#define _CONFIG_H
// Definitions
#define IO_MONO 1
#define IO_STEREO (1<<1)
struct config_io_bus {
const char *name;
char out;
char aux;
char cv;
char configs;
};
struct config_parameter {
const char *name;
const char *shortName;
const char *units;
char out;
char bypass;
int steps;
float defaultValueUnmapped;
};
// Data
#define COMPANY_NAME "Orastron"
#define COMPANY_WEBSITE "https://www.orastron.com/"
#define COMPANY_MAILTO "mailto:info@orastron.com"
#define PLUGIN_NAME "bw_example_fx_reverb"
#define PLUGIN_VERSION "1.0.0"
#define NUM_BUSES_IN 1
#define NUM_BUSES_OUT 1
#define NUM_CHANNELS_IN 2
#define NUM_CHANNELS_OUT 2
static struct config_io_bus config_buses_in[NUM_BUSES_IN] = {
{ "Audio in", 0, 0, 0, IO_STEREO }
};
static struct config_io_bus config_buses_out[NUM_BUSES_OUT] = {
{ "Audio out", 1, 0, 0, IO_STEREO }
};
#define NUM_PARAMETERS 5
static struct config_parameter config_parameters[NUM_PARAMETERS] = {
{ "Predelay", "Predelay", "", 0, 0, 0, 0.f },
{ "Bandwidth", "Bandwidth", "", 0, 0, 0, 1.f },
{ "Damping", "Damping", "", 0, 0, 0, 1.f },
{ "Decay rate", "Decay", "", 0, 0, 0, 0.5f },
{ "Dry/wet", "Dry/wet", "", 0, 0, 0, 0.5f }
};
// Internal API
#include "bw_example_fx_reverb.h"
#define P_TYPE bw_example_fx_reverb
#define P_INIT bw_example_fx_reverb_init
#define P_SET_SAMPLE_RATE bw_example_fx_reverb_set_sample_rate
#define P_MEM_REQ bw_example_fx_reverb_mem_req
#define P_MEM_SET bw_example_fx_reverb_mem_set
#define P_RESET bw_example_fx_reverb_reset
#define P_PROCESS bw_example_fx_reverb_process
#define P_SET_PARAMETER bw_example_fx_reverb_set_parameter
#define P_GET_PARAMETER bw_example_fx_reverb_get_parameter
#endif

View File

@ -1,58 +0,0 @@
/*
* Brickworks
*
* Copyright (C) 2023 Orastron Srl unipersonale
*
* Brickworks is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* Brickworks 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Brickworks. If not, see <http://www.gnu.org/licenses/>.
*
* File author: Stefano D'Angelo
*/
var buses = [
{
stereo: false,
output: false
},
{
stereo: false,
output: true
}
];
var parameters = [
{
name: "Predelay",
output: false,
defaultValue: 0.0
},
{
name: "Bandwidth",
output: false,
defaultValue: 1.0
},
{
name: "Damping",
output: false,
defaultValue: 1.0
},
{
name: "Decay rate",
output: false,
defaultValue: 0.5
},
{
name: "Dry/wet",
output: false,
defaultValue: 0.5
}
];

View File

@ -0,0 +1,5 @@
{
"daisy_seed": {
"parameterPins": [ 15, 16, 17, 18, 19 ]
}
}

View File

@ -0,0 +1,5 @@
{
"ios": {
"productBundleIdentifier": "com.orastron.bw_example_fx_reverb"
}
}

View File

@ -0,0 +1,12 @@
{
"lv2": {
"prefixes": {
"bw_examples": "https://www.orastron.com/brickworks/examples/"
},
"uri": "@bw_examples:fx_reverb",
"types": [ "@lv2:ReverbPlugin" ],
"version": "1.0",
"busSymbols": [ "input", "output" ],
"parameterSymbols": [ "predelay", "bandwidth", "damping", "decay", "wet" ]
}
}

View File

@ -0,0 +1,63 @@
#include "common.h"
#include <bw_reverb.h>
typedef struct plugin {
bw_reverb_coeffs reverb_coeffs;
bw_reverb_state reverb_state;
} plugin;
static void plugin_init(plugin *instance) {
bw_reverb_init(&instance->reverb_coeffs);
}
static void plugin_fini(plugin *instance) {
(void)instance;
}
static void plugin_set_sample_rate(plugin *instance, float sample_rate) {
bw_reverb_set_sample_rate(&instance->reverb_coeffs, sample_rate);
}
static size_t plugin_mem_req(plugin *instance) {
return bw_reverb_mem_req(&instance->reverb_coeffs);
}
static void plugin_mem_set(plugin *instance, void *mem) {
bw_reverb_mem_set(&instance->reverb_coeffs, &instance->reverb_state, mem);
}
static void plugin_reset(plugin *instance) {
bw_reverb_reset_coeffs(&instance->reverb_coeffs);
float yl, yr;
bw_reverb_reset_state(&instance->reverb_coeffs, &instance->reverb_state, 0.f, 0.f, &yl, &yr);
}
static void plugin_set_parameter(plugin *instance, size_t index, float value) {
switch (index) {
case 0:
bw_reverb_set_predelay(&instance->reverb_coeffs, 0.001f * value);
break;
case 1:
bw_reverb_set_bandwidth(&instance->reverb_coeffs, value);
break;
case 2:
bw_reverb_set_damping(&instance->reverb_coeffs, value);
break;
case 3:
bw_reverb_set_decay(&instance->reverb_coeffs, 0.01f * bw_minf(value, 99.9f));
break;
case 4:
bw_reverb_set_wet(&instance->reverb_coeffs, 0.01f * value);
break;
}
}
static float plugin_get_parameter(plugin *instance, size_t index) {
(void)instance;
(void)index;
return 0.f;
}
static void plugin_process(plugin *instance, const float **inputs, float **outputs, size_t n_samples) {
bw_reverb_process(&instance->reverb_coeffs, &instance->reverb_state, inputs[0], inputs[1], outputs[0], outputs[1], n_samples);
}

View File

@ -0,0 +1,76 @@
{
"product": {
"name": "Brickworks stereo reverb example",
"version": "1.1.0",
"buildVersion": "1",
"bundleName": "bw_example_fx_reverb",
"buses": [
{
"type": "audio",
"direction": "input",
"channels": "stereo",
"name": "Input",
"shortName": "Input"
},
{
"type": "audio",
"direction": "output",
"channels": "stereo",
"name": "Output",
"shortName": "Output"
}
],
"parameters": [
{
"name": "Predelay",
"shortName": "Predelay",
"direction": "input",
"defaultValue": 0.0,
"minimum": 0.0,
"maximum": 100.0,
"unit": "ms",
"map": "linear"
},
{
"name": "Bandwidth",
"shortName": "Bandwidth",
"direction": "input",
"defaultValue": 20000.0,
"minimum": 20.0,
"maximum": 20000.0,
"unit": "hz",
"map": "logarithmic"
},
{
"name": "Damping cutoff",
"shortName": "Damping cutoff",
"direction": "input",
"defaultValue": 20000.0,
"minimum": 20.0,
"maximum": 20000.0,
"unit": "hz",
"map": "logarithmic"
},
{
"name": "Decay rate",
"shortName": "Decay rate",
"direction": "input",
"defaultValue": 50.0,
"minimum": 0.0,
"maximum": 100.0,
"unit": "pc",
"map": "linear"
},
{
"name": "Wet",
"shortName": "Wet",
"direction": "input",
"defaultValue": 50.0,
"minimum": 0.0,
"maximum": 100.0,
"unit": "pc",
"map": "linear"
}
]
}
}

View File

@ -0,0 +1,11 @@
{
"vst3": {
"plugin": {
"cid": "24c2034dc34a4553a556f26b07853b68"
},
"controller": {
"cid": "1c2c55133b1f40bb8c5e4588ea7166cd"
},
"subCategory": "Fx|Reverb"
}
}

View File

@ -1,9 +0,0 @@
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
NAME := bw_example_fx_reverb
SOURCE := bw_example_fx_reverb.c
include ${ROOT_DIR}/../../common/vst3/vst3.mk
CXXFLAGS += -DRELEASE=1 -DNDEBUG -DBW_NO_DEBUG
#CXXFLAGS += -DDEVELOPMENT=1 -DBW_DEBUG_DEEP

View File

@ -1,36 +0,0 @@
/*
* Brickworks
*
* Copyright (C) 2023 Orastron Srl unipersonale
*
* Brickworks is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* Brickworks 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Brickworks. If not, see <http://www.gnu.org/licenses/>.
*
* File authors: Stefano D'Angelo, Paolo Marrone
*/
#ifndef _VST3_CONFIG_H
#define _VST3_CONFIG_H
#define PLUGIN_SUBCATEGORY "Fx|Reverb"
#define PLUGIN_GUID_1 0x24c2034d
#define PLUGIN_GUID_2 0xc34a4553
#define PLUGIN_GUID_3 0xa556f26b
#define PLUGIN_GUID_4 0x07853b68
#define CTRL_GUID_1 0x1c2c5513
#define CTRL_GUID_2 0x3b1f40bb
#define CTRL_GUID_3 0x8c5e4588
#define CTRL_GUID_4 0xea7166cd
#endif

View File

@ -1,5 +0,0 @@
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
SOURCES = ${SOURCES_COMMON} ${ROOT_DIR}/../src/bw_example_fx_reverb.c
NEEDS_MEMSET := yes
include ${ROOT_DIR}/../../common/web/web.mk

View File

@ -0,0 +1,5 @@
{
"android": {
"javaPackageName": "com.orastron.bw_example_fxpp_reverb"
}
}

View File

@ -0,0 +1,6 @@
{
"cmd": {
"busIds": [ "input", "output" ],
"parameterIds": [ "predelay", "bandwidth", "damping", "decay", "wet" ]
}
}

View File

@ -0,0 +1,5 @@
{
"daisy_seed": {
"parameterPins": [ 15, 16, 17, 18, 19 ]
}
}

View File

@ -0,0 +1,70 @@
#include "impl.h"
#include "common.h"
#include <bw_reverb.h>
using namespace Brickworks;
extern "C" {
impl impl_new(void) {
Reverb<1> *instance = new Reverb<1>();
return reinterpret_cast<impl>(instance);
}
void impl_free(impl handle) {
Reverb<1> *instance = reinterpret_cast<Reverb<1> *>(handle);
delete instance;
}
void impl_set_sample_rate(impl handle, float sample_rate) {
Reverb<1> *instance = reinterpret_cast<Reverb<1> *>(handle);
instance->setSampleRate(sample_rate);
}
void impl_reset(impl handle) {
Reverb<1> *instance = reinterpret_cast<Reverb<1> *>(handle);
instance->reset();
}
void impl_set_parameter(impl handle, size_t index, float value) {
Reverb<1> *instance = reinterpret_cast<Reverb<1> *>(handle);
switch (index) {
case 0:
instance->setPredelay(0.001f * value);
break;
case 1:
instance->setBandwidth(value);
break;
case 2:
instance->setDamping(value);
break;
case 3:
instance->setDecay(0.01f * bw_minf(value, 99.9f));
break;
case 4:
instance->setWet(0.01f * value);
break;
}
}
float impl_get_parameter(impl handle, size_t index) {
(void)handle;
(void)index;
return 0.f;
}
void impl_process(impl handle, const float **inputs, float **outputs, size_t n_samples) {
Reverb<1> *instance = reinterpret_cast<Reverb<1> *>(handle);
#ifdef WASM
const float *xL[1] = {inputs[0]};
const float *xR[1] = {inputs[1]};
float *yL[1] = {outputs[0]};
float *yR[1] = {outputs[1]};
instance->process(xL, xR, yL, yR, n_samples);
#else
instance->process({inputs[0]}, {inputs[1]}, {outputs[0]}, {outputs[1]}, n_samples);
#endif
}
}

View File

@ -0,0 +1,5 @@
{
"ios": {
"productBundleIdentifier": "com.orastron.bw_example_fx_reverb"
}
}

View File

@ -0,0 +1,12 @@
{
"lv2": {
"prefixes": {
"bw_examples": "https://www.orastron.com/brickworks/examples/"
},
"uri": "@bw_examples:fxpp_reverb",
"types": [ "@lv2:ReverbPlugin" ],
"version": "1.0",
"busSymbols": [ "input", "output" ],
"parameterSymbols": [ "predelay", "bandwidth", "damping", "decay", "wet" ]
}
}

View File

@ -0,0 +1,76 @@
{
"product": {
"name": "Brickworks stereo reverb example (C++)",
"version": "1.1.0",
"buildVersion": "1",
"bundleName": "bw_example_fxpp_reverb",
"buses": [
{
"type": "audio",
"direction": "input",
"channels": "stereo",
"name": "Input",
"shortName": "Input"
},
{
"type": "audio",
"direction": "output",
"channels": "stereo",
"name": "Output",
"shortName": "Output"
}
],
"parameters": [
{
"name": "Predelay",
"shortName": "Predelay",
"direction": "input",
"defaultValue": 0.0,
"minimum": 0.0,
"maximum": 100.0,
"unit": "ms",
"map": "linear"
},
{
"name": "Bandwidth",
"shortName": "Bandwidth",
"direction": "input",
"defaultValue": 20000.0,
"minimum": 20.0,
"maximum": 20000.0,
"unit": "hz",
"map": "logarithmic"
},
{
"name": "Damping cutoff",
"shortName": "Damping cutoff",
"direction": "input",
"defaultValue": 20000.0,
"minimum": 20.0,
"maximum": 20000.0,
"unit": "hz",
"map": "logarithmic"
},
{
"name": "Decay rate",
"shortName": "Decay rate",
"direction": "input",
"defaultValue": 50.0,
"minimum": 0.0,
"maximum": 100.0,
"unit": "pc",
"map": "linear"
},
{
"name": "Wet",
"shortName": "Wet",
"direction": "input",
"defaultValue": 50.0,
"minimum": 0.0,
"maximum": 100.0,
"unit": "pc",
"map": "linear"
}
]
}
}

View File

@ -0,0 +1,11 @@
{
"vst3": {
"plugin": {
"cid": "b95738c136434bd29c3789b53897dc56"
},
"controller": {
"cid": "a073352923d54387b3d62f749bc872c2"
},
"subCategory": "Fx|Reverb"
}
}

View File

@ -4,7 +4,7 @@ echo Removing common files
rm -fr common/cmd common/web common/daisy-seed common/lv2 common/vst3 common/android common/ios
dirs="fx_ap1 fx_ap2 fx_balance fx_bitcrush fx_cab fx_chorus fx_clip fx_comb fx_comp fx_delay fx_dist fx_drive fx_eq_3band fx_flanger fx_fuzz fx_hp1 fx_hs1 fx_lp1 fx_ls1 fx_mm1 fx_mm2 fx_noise_gate fx_notch fx_one_pole fx_pan fx_phaser synth_simple fxpp_ap1 fxpp_ap2 fxpp_balance fxpp_bitcrush fxpp_cab fxpp_chorus fxpp_clip fxpp_comb fxpp_comp fxpp_delay fxpp_dist fxpp_drive fxpp_eq_3band fxpp_flanger fxpp_fuzz fxpp_hp1 fxpp_hs1 fxpp_lp1 fxpp_ls1 fxpp_mm1 fxpp_mm2 fxpp_noise_gate fxpp_notch fxpp_one_pole fxpp_pan fxpp_phaser synthpp_simple"
dirs="fx_ap1 fx_ap2 fx_balance fx_bitcrush fx_cab fx_chorus fx_clip fx_comb fx_comp fx_delay fx_dist fx_drive fx_eq_3band fx_flanger fx_fuzz fx_hp1 fx_hs1 fx_lp1 fx_ls1 fx_mm1 fx_mm2 fx_noise_gate fx_notch fx_one_pole fx_pan fx_phaser fx_reverb synth_simple fxpp_ap1 fxpp_ap2 fxpp_balance fxpp_bitcrush fxpp_cab fxpp_chorus fxpp_clip fxpp_comb fxpp_comp fxpp_delay fxpp_dist fxpp_drive fxpp_eq_3band fxpp_flanger fxpp_fuzz fxpp_hp1 fxpp_hs1 fxpp_lp1 fxpp_ls1 fxpp_mm1 fxpp_mm2 fxpp_noise_gate fxpp_notch fxpp_one_pole fxpp_pan fxpp_phaser fxpp_reverb synthpp_simple"
for d in $dirs; do
echo Removing data files for $d

View File

@ -33,7 +33,7 @@ if [ "$1" = "common" ]; then
fi
if [ -z "$1" ]; then
dirs="fx_ap1 fx_ap2 fx_balance fx_bitcrush fx_cab fx_chorus fx_clip fx_comb fx_comp fx_delay fx_dist fx_drive fx_eq_3band fx_flanger fx_fuzz fx_hp1 fx_hs1 fx_lp1 fx_ls1 fx_mm1 fx_mm2 fx_noise_gate fx_notch fx_one_pole fx_pan fx_phaser synth_simple fxpp_ap1 fxpp_ap2 fxpp_balance fxpp_bitcrush fxpp_cab fxpp_chorus fxpp_clip fxpp_comb fxpp_comp fxpp_delay fxpp_dist fxpp_drive fxpp_eq_3band fxpp_flanger fxpp_fuzz fxpp_hp1 fxpp_hs1 fxpp_lp1 fxpp_ls1 fxpp_mm1 fxpp_mm2 fxpp_noise_gate fxpp_notch fxpp_one_pole fxpp_pan fxpp_phaser synthpp_simple"
dirs="fx_ap1 fx_ap2 fx_balance fx_bitcrush fx_cab fx_chorus fx_clip fx_comb fx_comp fx_delay fx_dist fx_drive fx_eq_3band fx_flanger fx_fuzz fx_hp1 fx_hs1 fx_lp1 fx_ls1 fx_mm1 fx_mm2 fx_noise_gate fx_notch fx_one_pole fx_pan fx_phaser fx_reverb synth_simple fxpp_ap1 fxpp_ap2 fxpp_balance fxpp_bitcrush fxpp_cab fxpp_chorus fxpp_clip fxpp_comb fxpp_comp fxpp_delay fxpp_dist fxpp_drive fxpp_eq_3band fxpp_flanger fxpp_fuzz fxpp_hp1 fxpp_hs1 fxpp_lp1 fxpp_ls1 fxpp_mm1 fxpp_mm2 fxpp_noise_gate fxpp_notch fxpp_one_pole fxpp_pan fxpp_phaser fxpp_reverb synthpp_simple"
else
dirs="$1"
fi