brickworks/examples/synth/web/config.js
Stefano D'Angelo 61d0c690e9 initial import
2022-11-16 00:49:51 +01:00

84 lines
1.4 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
*
* 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
}
];