brickworks/examples/synth_simple/src/config.js

85 lines
1.5 KiB
JavaScript

/*
* Brickworks
*
* Copyright (C) 2022 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: true
}
];
var parameters = [
{
name: "Volume",
output: false,
defaultValue: 0.5
},
{
name: "Master tune",
output: false,
defaultValue: 0.5
},
{
name: "Portamento",
output: false,
defaultValue: 0.0
},
{
name: "Pulse width",
output: false,
defaultValue: 0.5
},
{
name: "Cutoff",
output: false,
defaultValue: 1.0
},
{
name: "Q",
output: false,
defaultValue: 0.0
},
{
name: "Attack",
output: false,
defaultValue: 0.0
},
{
name: "Decay",
output: false,
defaultValue: 0.0
},
{
name: "Sustain",
output: false,
defaultValue: 1.0
},
{
name: "Release",
output: false,
defaultValue: 0.0
},
{
name: "Level",
output: true,
defaultValue: 0.0
}
];