feat(audio): aset suara final Kenney CC0 menggantikan placeholder (T-0.6)
This commit is contained in:
1 parent
e5d5dba023
commit
890c3ea46e
12 files changed
+44
-3
No files matched your search
+1
-2
@@ -7,8 +7,7 @@ tersedia atribusinya dari menu **Tentang** di aplikasi.
|
||||
| Aset | Sumber | Lisensi | Tanggal | Status | File target |
|
||||
|---|---|---|---|---|---|
|
||||
| Palet Catppuccin (Mocha/Latte) | https://github.com/catppuccin/catppuccin | MIT | — | planned (Phase 1) | `internal/ui/theme/catppuccin.go` |
|
||||
| Efek suara UI — placeholder (8 WAV, generated) | buatan sendiri (script sinus, no external) | ikut lisensi tia | 2026-10-15 | dipakai sementara (T-0.3) | `internal/audio/assets/*.wav` |
|
||||
| Efek suara UI final (click, modal, notif, error) | Kenney Interface Sounds — https://kenney.nl/assets/interface-sounds | CC0 1.0 | — | pending (T-0.6) | `internal/audio/assets/*.wav` |
|
||||
| Efek suara UI — **final** (click, navigate, modal open/close, notif success/warning/error, exec) | Kenney Interface Sounds 1.0 — https://kenney.nl/assets/interface-sounds | CC0 1.0 (file: `internal/audio/assets/kenney-license.txt`) | 2026-10-15 | **dipakai** (T-0.6) | `internal/audio/assets/*.wav` (8 file, total 176 KB) |
|
||||
| Logo ASCII `tia` | buatan sendiri | ikut lisensi tia | 2026-10 | planned (Phase 1) | `internal/ui/animation/logo.go` |
|
||||
| Ikon/glyph | Unicode standar (●, ○, ▶, ⟳, ✔, ⚠, ✕) | bebas | 2026-10 | dipakai | di kode UI |
|
||||
|
||||
|
||||
@@ -54,6 +54,6 @@ TIA_AUDIO_SPIKE=1 PULSE_SERVER=unix:/nonexistent ALSA_CONFIG_PATH=/nonexistent/a
|
||||
|
||||
## Status follow-up
|
||||
|
||||
- [ ] Ganti aset placeholder dengan Kenney CC0 (T-0.6)
|
||||
- [x] Ganti aset placeholder dengan Kenney CC0 (T-0.6) — 8 file, `kenney-license.txt` ikut di assets
|
||||
- [ ] Toggle suara/volume langsung dari layar Pengaturan tanpa restart (Phase 1, F-024)
|
||||
- [ ] `tia-love doctor` menampilkan status audio (Phase 1)
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
Interface Sounds (1.0)
|
||||
|
||||
Created/distributed by Kenney (www.kenney.nl)
|
||||
Creation date: 11-02-2020
|
||||
|
||||
------------------------------
|
||||
|
||||
License: (Creative Commons Zero, CC0)
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
|
||||
This content is free to use in personal, educational and commercial projects.␍
|
||||
Support us by crediting Kenney or www.kenney.nl (this is not mandatory)
|
||||
|
||||
------------------------------
|
||||
|
||||
Donate: http://support.kenney.nl
|
||||
Patreon: http://patreon.com/kenney/
|
||||
|
||||
Follow on Twitter for updates:
|
||||
http://twitter.com/KenneyNL
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,20 @@
|
||||
package audio
|
||||
|
||||
import "testing"
|
||||
|
||||
// TestLoadSounds memastikan seluruh aset embedded valid: WAV mono/16-bit/44100
|
||||
// dan PCM tidak kosong. Gagal di sini = aset ketimpa atau berubah format.
|
||||
func TestLoadSounds(t *testing.T) {
|
||||
sounds, err := loadSounds()
|
||||
if err != nil {
|
||||
t.Fatalf("loadSounds: %v", err)
|
||||
}
|
||||
if len(sounds) != len(allEvents) {
|
||||
t.Fatalf("jumlah suara termuat: %d, harusnya %d", len(sounds), len(allEvents))
|
||||
}
|
||||
for _, ev := range allEvents {
|
||||
if len(sounds[ev]) == 0 {
|
||||
t.Errorf("%s: PCM kosong", ev)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user