Hezu06 commited on
Commit
96a341e
·
1 Parent(s): ed44796

refactor audio synthesis by adjusting volume levels for kick and snare instruments

Browse files
Files changed (1) hide show
  1. index.html +2 -0
index.html CHANGED
@@ -535,6 +535,7 @@
535
 
536
  // 🥁 KICK
537
  const kick = new Tone.MembraneSynth({
 
538
  pitchDecay: 0.05,
539
  octaves: 6,
540
  envelope: {
@@ -546,6 +547,7 @@
546
 
547
  // 🥁 SNARE
548
  const snare = new Tone.NoiseSynth({
 
549
  noise: { type: "white" },
550
  envelope: {
551
  attack: 0.001,
 
535
 
536
  // 🥁 KICK
537
  const kick = new Tone.MembraneSynth({
538
+ volume: -8,
539
  pitchDecay: 0.05,
540
  octaves: 6,
541
  envelope: {
 
547
 
548
  // 🥁 SNARE
549
  const snare = new Tone.NoiseSynth({
550
+ volume: -10,
551
  noise: { type: "white" },
552
  envelope: {
553
  attack: 0.001,