valde/static/js/modules/instruments/membranesynth.js
2024-01-26 00:08:03 +01:00

16 lines
276 B
JavaScript

export const membranesynth = new Tone.MembraneSynth({
volume : -9,
pitchDecay : 0.05,
octaves : 10,
oscillator : {
type : "sine"
},
envelope : {
attack : 0.001,
decay : 0.4,
sustain : 0.01,
release : 1.4,
attackCurve : "exponential"
}
})