added generative audio, tailwind, improvements, adjustments

This commit is contained in:
2025-12-29 03:35:33 +02:00
parent 5259a1d1e4
commit 6a7101672c
19 changed files with 1597 additions and 250 deletions

View File

@@ -0,0 +1,16 @@
import * as Tone from 'tone';
export function createPadSynth(isDay: boolean): Tone.PolySynth {
return new Tone.PolySynth(Tone.Synth, {
oscillator: {
type: isDay ? 'triangle' : 'sine'
},
envelope: {
attack: 1.5,
decay: 1,
sustain: 0.7,
release: 1.0
},
volume: -20
});
}