From ae49abd168f8eb794fa4c0f9c2f7c9e603c0287b Mon Sep 17 00:00:00 2001 From: Felix Brabetz Date: Sat, 16 May 2026 05:48:07 +0200 Subject: [PATCH] Synthesize real Lofi Hip Hop beat in Web Audio API along with rain --- src/components/SubpageRain.astro | 187 +++++++++++++------------------ 1 file changed, 78 insertions(+), 109 deletions(-) diff --git a/src/components/SubpageRain.astro b/src/components/SubpageRain.astro index 20fba41..0f80227 100644 --- a/src/components/SubpageRain.astro +++ b/src/components/SubpageRain.astro @@ -2,50 +2,18 @@ // src/components/SubpageRain.astro ---
+ x-init="generateDrops(rainIntensity); $watch('rainIntensity', value => { generateDrops(value); updateAudio() }); $watch('lofiFilter', value => updateAudio()); $watch('currentPage', val => { if(val === 'page-rain') { initAudio(); } })">
@@ -196,40 +189,16 @@ window.rainData = function() {
- +
Sound läuft automatisch - Realtime Web Audio Rain & Melody + Realtime Web Audio Rain & Lofi Beat
- -
-
-
- Zusatz-Musik - Lofi Hip Hop Groove (YouTube Stream) -
-
- - - -
- - -
-
-
- -
-
-