Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make noise synth more percussive with faster attack/decay

+4 -3
+4 -3
system/public/aesthetic.computer/disks/notepat.mjs
··· 2848 2848 } else { 2849 2849 // Map 'noise' shorthand to 'noise-white' for the synth 2850 2850 const synthType = wave === "noise" ? "noise-white" : wave; 2851 + const isNoise = synthType === "noise-white"; 2851 2852 return synth({ 2852 2853 type: synthType, 2853 - attack: quickFade ? 0.0015 : attack, 2854 - // decay, 2854 + attack: isNoise ? 0.001 : (quickFade ? 0.0015 : attack), 2855 + decay: isNoise ? 0.92 : undefined, // Fast decay for percussive noise 2855 2856 tone, 2856 2857 duration: "🔁", 2857 2858 volume: toneVolume * volumeScale, ··· 4495 4496 } 4496 4497 4497 4498 export { boot, sim, paint, act, leave }; 4498 - 4499 +