adjusted fx_chorus, added fx_vibrato and fx_flanger

This commit is contained in:
Stefano D'Angelo 2023-04-08 09:25:44 +02:00
parent 98db248b5b
commit 5f11868282
19 changed files with 700 additions and 1 deletions

View File

@ -21,7 +21,7 @@
#include "bw_example_fx_chorus.h"
void bw_example_fx_chorus_init(bw_example_fx_chorus *instance) {
bw_chorus_init(&instance->chorus_coeffs, 0.1f);
bw_chorus_init(&instance->chorus_coeffs, 0.01f);
bw_chorus_set_delay(&instance->chorus_coeffs, 0.005f);
bw_chorus_set_coeff_x(&instance->chorus_coeffs, 0.7071f);
bw_chorus_set_coeff_mod(&instance->chorus_coeffs, 1.f);

View File

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

View File

@ -0,0 +1,36 @@
/*
* 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 2
static struct config_pin config_pins[NUM_PINS] = {
{ 0, 15 },
{ 1, 16 }
};
#endif

View File

@ -0,0 +1,66 @@
/*
* 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_flanger.h"
void bw_example_fx_flanger_init(bw_example_fx_flanger *instance) {
bw_chorus_init(&instance->chorus_coeffs, 0.002f);
bw_chorus_set_delay(&instance->chorus_coeffs, 0.001f);
bw_chorus_set_coeff_x(&instance->chorus_coeffs, 0.7071f);
bw_chorus_set_coeff_mod(&instance->chorus_coeffs, 0.7071f);
bw_chorus_set_coeff_fb(&instance->chorus_coeffs, 0.7071f);
}
void bw_example_fx_flanger_set_sample_rate(bw_example_fx_flanger *instance, float sample_rate) {
bw_chorus_set_sample_rate(&instance->chorus_coeffs, sample_rate);
}
BW_SIZE_T bw_example_fx_flanger_mem_req(bw_example_fx_flanger *instance) {
return bw_chorus_mem_req(&instance->chorus_coeffs);
}
void bw_example_fx_flanger_mem_set(bw_example_fx_flanger *instance, void *mem) {
bw_chorus_mem_set(&instance->chorus_state, mem);
}
void bw_example_fx_flanger_reset(bw_example_fx_flanger *instance) {
bw_chorus_reset_coeffs(&instance->chorus_coeffs);
bw_chorus_reset_state(&instance->chorus_coeffs, &instance->chorus_state);
}
void bw_example_fx_flanger_process(bw_example_fx_flanger *instance, const float** x, float** y, int n_samples) {
bw_chorus_process(&instance->chorus_coeffs, &instance->chorus_state, x[0], y[0], n_samples);
}
void bw_example_fx_flanger_set_parameter(bw_example_fx_flanger *instance, int index, float value) {
instance->params[index] = value;
switch (index) {
case p_rate:
bw_chorus_set_rate(&instance->chorus_coeffs, 0.01f + 1.99f * value * value * value);
break;
case p_amount:
bw_chorus_set_amount(&instance->chorus_coeffs, 0.001f * value);
break;
}
}
float bw_example_fx_flanger_get_parameter(bw_example_fx_flanger *instance, int index) {
return instance->params[index];
}

View File

@ -0,0 +1,59 @@
/*
* 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_FLANGER_H
#define _BW_EXAMPLE_FX_FLANGER_H
#ifdef __cplusplus
extern "C" {
#endif
#include <bw_chorus.h>
enum {
p_rate,
p_amount,
p_n
};
struct _bw_example_fx_flanger {
// Sub-components
bw_chorus_coeffs chorus_coeffs;
bw_chorus_state chorus_state;
// Parameters
float params[p_n];
};
typedef struct _bw_example_fx_flanger bw_example_fx_flanger;
void bw_example_fx_flanger_init(bw_example_fx_flanger *instance);
void bw_example_fx_flanger_set_sample_rate(bw_example_fx_flanger *instance, float sample_rate);
BW_SIZE_T bw_example_fx_flanger_mem_req(bw_example_fx_flanger *instance);
void bw_example_fx_flanger_mem_set(bw_example_fx_flanger *instance, void *mem);
void bw_example_fx_flanger_reset(bw_example_fx_flanger *instance);
void bw_example_fx_flanger_process(bw_example_fx_flanger *instance, const float** x, float** y, int n_samples);
void bw_example_fx_flanger_set_parameter(bw_example_fx_flanger *instance, int index, float value);
float bw_example_fx_flanger_get_parameter(bw_example_fx_flanger *instance, int index);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,90 @@
/*
* 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_flanger"
#define PLUGIN_VERSION "0.4.0"
#define NUM_BUSES_IN 1
#define NUM_BUSES_OUT 1
#define NUM_CHANNELS_IN 1
#define NUM_CHANNELS_OUT 1
static struct config_io_bus config_buses_in[NUM_BUSES_IN] = {
{ "Audio in", 0, 0, 0, IO_MONO }
};
static struct config_io_bus config_buses_out[NUM_BUSES_OUT] = {
{ "Audio out", 1, 0, 0, IO_MONO }
};
#define NUM_PARAMETERS 2
static struct config_parameter config_parameters[NUM_PARAMETERS] = {
{ "Rate", "Rate", "", 0, 0, 0, 0.5f },
{ "Depth", "Depth", "", 0, 0, 0, 0.5f },
};
// Internal API
#include "bw_example_fx_flanger.h"
#define P_TYPE bw_example_fx_flanger
#define P_INIT bw_example_fx_flanger_init
#define P_SET_SAMPLE_RATE bw_example_fx_flanger_set_sample_rate
#define P_MEM_REQ bw_example_fx_flanger_mem_req
#define P_MEM_SET bw_example_fx_flanger_mem_set
#define P_RESET bw_example_fx_flanger_reset
#define P_PROCESS bw_example_fx_flanger_process
#define P_SET_PARAMETER bw_example_fx_flanger_set_parameter
#define P_GET_PARAMETER bw_example_fx_flanger_get_parameter
#endif

View File

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

View File

@ -0,0 +1,36 @@
/*
* 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|Modulation"
#define PLUGIN_GUID_1 0x08cae098
#define PLUGIN_GUID_2 0x86d04447
#define PLUGIN_GUID_3 0x9f4780ca
#define PLUGIN_GUID_4 0x661cc5ab
#define CTRL_GUID_1 0x256270ce
#define CTRL_GUID_2 0xb38b4f50
#define CTRL_GUID_3 0x930db1ce
#define CTRL_GUID_4 0xc2e079db
#endif

View File

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

View File

@ -0,0 +1,43 @@
/*
* 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: "Rate",
output: false,
defaultValue: 0.5
},
{
name: "Amount",
output: false,
defaultValue: 0.5
}
];

View File

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

View File

@ -0,0 +1,36 @@
/*
* 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 2
static struct config_pin config_pins[NUM_PINS] = {
{ 0, 15 },
{ 1, 16 }
};
#endif

View File

@ -0,0 +1,69 @@
/*
* 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_vibrato.h"
void bw_example_fx_vibrato_init(bw_example_fx_vibrato *instance) {
bw_chorus_init(&instance->chorus_coeffs, 0.005f);
bw_chorus_set_coeff_x(&instance->chorus_coeffs, 0.f);
bw_chorus_set_coeff_mod(&instance->chorus_coeffs, 1.f);
bw_chorus_set_coeff_fb(&instance->chorus_coeffs, 0.f);
}
void bw_example_fx_vibrato_set_sample_rate(bw_example_fx_vibrato *instance, float sample_rate) {
bw_chorus_set_sample_rate(&instance->chorus_coeffs, sample_rate);
}
BW_SIZE_T bw_example_fx_vibrato_mem_req(bw_example_fx_vibrato *instance) {
return bw_chorus_mem_req(&instance->chorus_coeffs);
}
void bw_example_fx_vibrato_mem_set(bw_example_fx_vibrato *instance, void *mem) {
bw_chorus_mem_set(&instance->chorus_state, mem);
}
void bw_example_fx_vibrato_reset(bw_example_fx_vibrato *instance) {
bw_chorus_reset_coeffs(&instance->chorus_coeffs);
bw_chorus_reset_state(&instance->chorus_coeffs, &instance->chorus_state);
}
void bw_example_fx_vibrato_process(bw_example_fx_vibrato *instance, const float** x, float** y, int n_samples) {
bw_chorus_process(&instance->chorus_coeffs, &instance->chorus_state, x[0], y[0], n_samples);
}
void bw_example_fx_vibrato_set_parameter(bw_example_fx_vibrato *instance, int index, float value) {
instance->params[index] = value;
switch (index) {
case p_rate:
bw_chorus_set_rate(&instance->chorus_coeffs, 2.f + 8.f * value * value * value);
break;
case p_amount:
{
float v = 0.0025f * value;
bw_chorus_set_delay(&instance->chorus_coeffs, v);
bw_chorus_set_amount(&instance->chorus_coeffs, v);
}
break;
}
}
float bw_example_fx_vibrato_get_parameter(bw_example_fx_vibrato *instance, int index) {
return instance->params[index];
}

View File

@ -0,0 +1,59 @@
/*
* 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_VIBRATO_H
#define _BW_EXAMPLE_FX_VIBRATO_H
#ifdef __cplusplus
extern "C" {
#endif
#include <bw_chorus.h>
enum {
p_rate,
p_amount,
p_n
};
struct _bw_example_fx_vibrato {
// Sub-components
bw_chorus_coeffs chorus_coeffs;
bw_chorus_state chorus_state;
// Parameters
float params[p_n];
};
typedef struct _bw_example_fx_vibrato bw_example_fx_vibrato;
void bw_example_fx_vibrato_init(bw_example_fx_vibrato *instance);
void bw_example_fx_vibrato_set_sample_rate(bw_example_fx_vibrato *instance, float sample_rate);
BW_SIZE_T bw_example_fx_vibrato_mem_req(bw_example_fx_vibrato *instance);
void bw_example_fx_vibrato_mem_set(bw_example_fx_vibrato *instance, void *mem);
void bw_example_fx_vibrato_reset(bw_example_fx_vibrato *instance);
void bw_example_fx_vibrato_process(bw_example_fx_vibrato *instance, const float** x, float** y, int n_samples);
void bw_example_fx_vibrato_set_parameter(bw_example_fx_vibrato *instance, int index, float value);
float bw_example_fx_vibrato_get_parameter(bw_example_fx_vibrato *instance, int index);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,90 @@
/*
* 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_vibrato"
#define PLUGIN_VERSION "0.4.0"
#define NUM_BUSES_IN 1
#define NUM_BUSES_OUT 1
#define NUM_CHANNELS_IN 1
#define NUM_CHANNELS_OUT 1
static struct config_io_bus config_buses_in[NUM_BUSES_IN] = {
{ "Audio in", 0, 0, 0, IO_MONO }
};
static struct config_io_bus config_buses_out[NUM_BUSES_OUT] = {
{ "Audio out", 1, 0, 0, IO_MONO }
};
#define NUM_PARAMETERS 2
static struct config_parameter config_parameters[NUM_PARAMETERS] = {
{ "Rate", "Rate", "", 0, 0, 0, 0.5f },
{ "Depth", "Depth", "", 0, 0, 0, 0.5f },
};
// Internal API
#include "bw_example_fx_vibrato.h"
#define P_TYPE bw_example_fx_vibrato
#define P_INIT bw_example_fx_vibrato_init
#define P_SET_SAMPLE_RATE bw_example_fx_vibrato_set_sample_rate
#define P_MEM_REQ bw_example_fx_vibrato_mem_req
#define P_MEM_SET bw_example_fx_vibrato_mem_set
#define P_RESET bw_example_fx_vibrato_reset
#define P_PROCESS bw_example_fx_vibrato_process
#define P_SET_PARAMETER bw_example_fx_vibrato_set_parameter
#define P_GET_PARAMETER bw_example_fx_vibrato_get_parameter
#endif

View File

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

View File

@ -0,0 +1,36 @@
/*
* 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|Modulation"
#define PLUGIN_GUID_1 0x3356ce15
#define PLUGIN_GUID_2 0x9a104154
#define PLUGIN_GUID_3 0x835fcf71
#define PLUGIN_GUID_4 0xbaca0d28
#define CTRL_GUID_1 0xfc98ee02
#define CTRL_GUID_2 0xf56b4e5a
#define CTRL_GUID_3 0xa448d84c
#define CTRL_GUID_4 0xab1f3c15
#endif

View File

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

View File

@ -0,0 +1,43 @@
/*
* 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: "Rate",
output: false,
defaultValue: 0.5
},
{
name: "Amount",
output: false,
defaultValue: 0.5
}
];