121 lines
1.9 KiB
JavaScript
121 lines
1.9 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: "Keyboard control",
|
||
|
output: false,
|
||
|
defaultValue: 0.0,
|
||
|
step: 3
|
||
|
},
|
||
|
{
|
||
|
name: "Cutoff",
|
||
|
output: false,
|
||
|
defaultValue: 1.0
|
||
|
},
|
||
|
{
|
||
|
name: "Q",
|
||
|
output: false,
|
||
|
defaultValue: 0.0
|
||
|
},
|
||
|
{
|
||
|
name: "Contour",
|
||
|
output: false,
|
||
|
defaultValue: 0.0
|
||
|
},
|
||
|
{
|
||
|
name: "VCF attack",
|
||
|
output: false,
|
||
|
defaultValue: 0.0
|
||
|
},
|
||
|
{
|
||
|
name: "VCF decay",
|
||
|
output: false,
|
||
|
defaultValue: 0.0
|
||
|
},
|
||
|
{
|
||
|
name: "VCF sustain",
|
||
|
output: false,
|
||
|
defaultValue: 1.0
|
||
|
},
|
||
|
{
|
||
|
name: "VCF release",
|
||
|
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: "A440",
|
||
|
output: false,
|
||
|
defaultValue: 0.0,
|
||
|
step: 1
|
||
|
},
|
||
|
{
|
||
|
name: "Level",
|
||
|
output: true,
|
||
|
defaultValue: 0.0
|
||
|
}
|
||
|
];
|