Album: Neon Edition (EN-Electro) — 3. Sprache »neo« im Toggle + Profil-Download (v1307)

7 Electro-Reinterpretationen der EN-Songs (Daft-Punk-/Mando-Diao-Stil, pro Song
der passendere Pol). Album-Modal-Toggle jetzt DE/EN/neo, Profil-Download um
»neo · 33 MB« erweitert (ban-yaro-album-neo.zip, Genre Electronic). build.sh baut
die neo-Edition mit; MP3s MD5-geprüft (≠ DE und ≠ faithful-EN).
This commit is contained in:
rene 2026-06-19 12:52:13 +02:00
parent 6ea3f50b05
commit cf88df7056
17 changed files with 100 additions and 34 deletions

View file

@ -1963,10 +1963,21 @@ window.Worlds = (() => {
{ title: 'Splash!', sub: 'Into the cool water', file: '/sounds/splash-en.mp3' },
{ title: 'Best Friend', sub: 'You and me', file: '/sounds/best-friend-en.mp3' },
];
// „neo" = Neon Edition: dieselben EN-Texte, anderer Musikstil (Electro + Garage-Rock).
const SONGS_EN_ELECTRO = [
{ title: 'Ban Yaro Blues', sub: 'Garage-rock anthem', file: '/sounds/ban-yaro-blues-en-electro.mp3' },
{ title: 'Ban Yaro Mobile', sub: 'Motorik road groove', file: '/sounds/ban-yaro-mobil-en-electro.mp3' },
{ title: 'Amy', sub: 'Vocoder love duet', file: '/sounds/amy-en-electro.mp3' },
{ title: "At the Groomer's", sub: 'Disco-funk salon', file: '/sounds/at-the-groomers-en-electro.mp3' },
{ title: 'Treat Paradise', sub: 'Euphoric filter-house', file: '/sounds/treat-paradise-en-electro.mp3' },
{ title: 'Splash!', sub: 'Funk-house groove', file: '/sounds/splash-en-electro.mp3' },
{ title: 'Best Friend', sub: 'Acoustic-soul to synth', file: '/sounds/best-friend-en-electro.mp3' },
];
const ALBUMS = { de: SONGS_DE, en: SONGS_EN, neo: SONGS_EN_ELECTRO };
let _lang = (() => {
try { return (EN_READY && localStorage.getItem(LANG_KEY) === 'en') ? 'en' : 'de'; } catch (_) { return 'de'; }
try { const v = EN_READY ? localStorage.getItem(LANG_KEY) : null; return ALBUMS[v] ? v : 'de'; } catch (_) { return 'de'; }
})();
const _songs = () => (_lang === 'en' && EN_READY) ? SONGS_EN : SONGS_DE;
const _songs = () => (EN_READY && ALBUMS[_lang]) ? ALBUMS[_lang] : SONGS_DE;
let _bound = false, _curIdx = -1;
const _audio = () => document.getElementById('anthem-audio');
// Entdeckt? Server-Flag (geräteübergreifend, deploy-fest) ODER lokal (sofort/offline).
@ -2040,20 +2051,24 @@ window.Worlds = (() => {
const sheet = document.querySelector('#album-modal .album-sheet');
if (!sheet) return;
const songs = _songs();
const en = _lang === 'en';
const de = _lang === 'de';
const subtitle = de ? 'Songs · selbst gemacht 🎸'
: _lang === 'neo' ? 'songs · neon edition 🎛️'
: 'songs · homemade 🎸';
sheet.innerHTML = `
<div class="album-head">
<div>
<div class="album-title">${en ? 'Ban Yaro — The Album' : 'Ban Yaro — das Album'}</div>
<div class="album-subtitle">${songs.length} ${en ? 'songs · homemade' : 'Songs · selbst gemacht'} 🎸</div>
<div class="album-title">${de ? 'Ban Yaro — das Album' : 'Ban Yaro — The Album'}</div>
<div class="album-subtitle">${songs.length} ${subtitle}</div>
</div>
<div class="album-head-actions">
${EN_READY ? `
<div class="album-lang" role="group" aria-label="Sprache / Language">
<button class="album-lang-btn ${en ? '' : 'is-active'}" data-lang="de" type="button">DE</button>
<button class="album-lang-btn ${en ? 'is-active' : ''}" data-lang="en" type="button">EN</button>
<button class="album-lang-btn ${_lang === 'de' ? 'is-active' : ''}" data-lang="de" type="button">DE</button>
<button class="album-lang-btn ${_lang === 'en' ? 'is-active' : ''}" data-lang="en" type="button">EN</button>
<button class="album-lang-btn ${_lang === 'neo' ? 'is-active' : ''}" data-lang="neo" type="button">neo</button>
</div>` : ''}
<button class="album-close" aria-label="${en ? 'Close' : 'Schließen'}">×</button>
<button class="album-close" aria-label="${de ? 'Schließen' : 'Close'}">×</button>
</div>
</div>
<div class="album-list">