Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ in and out, **projection mapping**, **RGB lighting**, a **timeline and clip deck
[![Downloads](https://img.shields.io/github/downloads/CaYatur/SoundVisualizer/total?label=downloads)](https://github.com/CaYatur/SoundVisualizer/releases)
[![License: MIT](https://img.shields.io/badge/License-MIT-e11d2a.svg)](LICENSE)
[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-111997.svg)](#download)
[![Tests](https://img.shields.io/badge/tests-4801%20passing-2ea043.svg)](#tests)
[![Tests](https://img.shields.io/badge/tests-4802%20passing-2ea043.svg)](#tests)
[![Electron](https://img.shields.io/badge/Electron-44-47848F.svg)](https://www.electronjs.org/)

<a href="https://github.com/CaYatur/SoundVisualizer/releases/latest"><img src="https://img.shields.io/badge/Download-Windows-0a84ff?style=for-the-badge" alt="Download for Windows" /></a>
Expand Down Expand Up @@ -2341,7 +2341,7 @@ npm test
npm start -- --smoke
```

**4801 unit tests, all passing.** They are written to check answers, not to exercise lines:
**4802 unit tests, all passing.** They are written to check answers, not to exercise lines:

_The count is the runner's total (`# tests`). A few tests depend on the environment (a git checkout, Node 22's built-in WebSocket, the electron-builder schema); where that is missing they are reported as skipped, not passed, so `pass + skipped` always equals this number and the skipped count may be 0 on one machine and 1–4 on another._

Expand Down
4 changes: 2 additions & 2 deletions README.tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ kontrolü**.
[![İndirme](https://img.shields.io/github/downloads/CaYatur/SoundVisualizer/total?label=indirme)](https://github.com/CaYatur/SoundVisualizer/releases)
[![Lisans: MIT](https://img.shields.io/badge/Lisans-MIT-e11d2a.svg)](LICENSE)
[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-111997.svg)](#hızlı-başlangıç)
[![Test](https://img.shields.io/badge/test-4801%20geçiyor-2ea043.svg)](#testler)
[![Test](https://img.shields.io/badge/test-4802%20geçiyor-2ea043.svg)](#testler)
[![Electron](https://img.shields.io/badge/Electron-44-47848F.svg)](https://www.electronjs.org/)

<a href="https://github.com/CaYatur/SoundVisualizer/releases/latest"><img src="https://img.shields.io/badge/%C4%B0ndir-Windows-0a84ff?style=for-the-badge" alt="Windows için indir" /></a>
Expand Down Expand Up @@ -2357,7 +2357,7 @@ npm test
npm start -- --smoke
```

**4801 birim testi, hepsi geçiyor.** Satır çalıştırmak için değil, cevap denetlemek için yazıldılar:
**4802 birim testi, hepsi geçiyor.** Satır çalıştırmak için değil, cevap denetlemek için yazıldılar:

_Sayı koşunun toplamıdır (`# tests`). Birkaç test ortama bağlı (git çalışma kopyası, Node 22'nin yerleşik WebSocket'i, electron-builder şeması); bunlar eksikse geçti değil atlandı sayılır. Yani `geçen + atlanan` hep bu sayıya eşittir; atlanan sayısı bir makinede 0, başka birinde 1–4 olabilir._

Expand Down
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ npm test
npm start -- --smoke
```

- **4801 unit tests, all passing** on `main`. 703 of those shipped in v3.1.0;
- **4802 unit tests, all passing** on `main`. 703 of those shipped in v3.1.0;
105 came with v3.1.1; 163 came with v3.1.2; 157 came with v3.1.3 — 1128 at
that tag — 469 more with v3.1.4, most of them from the MilkDrop work — 1597 at
that tag — 1402 more with v3.1.5 — 2999 at that tag — and 667
Expand Down
24 changes: 22 additions & 2 deletions src/admin/lighting-general.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,17 @@
const el = P().el;
const cfg = P().cfg();
const lighting = cfg.lighting || (cfg.lighting = window.SV.defaultConfig().lighting);
/* Kayıtlı 0.75 / 0.04, eğri yokken motorun kendi kısma varsayılanıydı.
Panelde de eski doğrusal yanıt görünsün. Elle seçilmiş eğriye dokunulmaz. */
if (lighting.responseCurve == null && lighting.normalize != null && lighting.squelch != null) {
const norm = Number(lighting.normalize);
const gate = Number(lighting.squelch);
if (Number.isFinite(norm) && Number.isFinite(gate)
&& Math.abs(norm - 0.75) < 0.001 && Math.abs(gate - 0.04) < 0.001) {
lighting.normalize = 0;
lighting.squelch = 0;
}
}
const apply = (rebuild) => {
P().push(!!rebuild);
if (rebuild) P().rerender();
Expand Down Expand Up @@ -193,8 +204,13 @@
{ value: 'per-device', label: 'Her Aygıtta Baştan Başla' },
{ value: 'uniform', label: 'Tüm LED\'lerde Aynı Ton' },
]), [WDL, ORGB]));
nodes.push(wrap(rangeRow('normalize', 'Seviye Dengeleme', 0, 1, 0.01, true, 0.75), [WDL, ORGB]));
nodes.push(wrap(rangeRow('squelch', 'Gürültü Kapısı', 0, 0.45, 0.01, true, 0.04), [WDL, ORGB]));
nodes.push(wrap(rangeRow('responseCurve', 'Işık Eğrisi', 1, 2.6, 0.05, false, 1), [WDL, ORGB]));
nodes.push(el('div', {
class: 'lighting-mode-help',
text: 'Işık eğrisi 1 iken parlaklık sesle doğru orantılıdır (eski yanıt). Yükseldikçe orta seviyeler kararır.',
}));
nodes.push(wrap(rangeRow('normalize', 'Seviye Dengeleme', 0, 1, 0.01, true, 0), [WDL, ORGB]));
nodes.push(wrap(rangeRow('squelch', 'Gürültü Kapısı', 0, 0.45, 0.01, true, 0), [WDL, ORGB]));
if (lighting.mode !== 'threshold-background-burst') {
nodes.push(wrap(rangeRow('intensity', 'Ses Tepkisi', 0, 1, 0.01, true), [WDL, ORGB]));
nodes.push(wrap(rangeRow('smoothing', 'Yumuşatma', 0, 0.95, 0.01, true), [WDL, ORGB]));
Expand Down Expand Up @@ -285,6 +301,10 @@
{ value: 'level', label: 'Genel Ses Seviyesi' },
{ value: 'auto', label: 'En Güçlü Frekansı Otomatik Seç' },
]), [WDL, ORGB]));
nodes.push(el('div', {
class: 'lighting-mode-help',
text: 'Seçilen bant ışığı o frekanstan sürer. Otomatik seçim bas, orta ve tizi eşit tartıp en güçlüsünü izler.',
}));
nodes.push(wrap(rangeRow('flashThreshold', 'Patlama Eşiği', 0.02, 0.98, 0.01, true), [WDL, ORGB]));
nodes.push(wrap(rangeRow('flashStrength', 'Patlama Gücü', 0, 1.5, 0.01), [WDL, ORGB]));
nodes.push(wrap(rangeRow('flashDecay', 'Patlama Sönümleme', 0.45, 0.995, 0.005), [WDL, ORGB]));
Expand Down
1 change: 1 addition & 0 deletions src/admin/modulation-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
'lighting.rainbowBaseBrightness': ['Rainbow Taban Parlaklığı', 0.02, 1],
'lighting.rainbowSpeed': ['Rainbow Akış Hızı', 0.05, 3],
'lighting.rainbowSpread': ['Rainbow Renk Yayılımı', 0.1, 4],
'lighting.responseCurve': ['Işık Eğrisi', 1, 2.6],
'lighting.rippleSpeed': ['Dalga Hızı', 0.05, 3],
'lighting.rippleWidth': ['Dalga Genişliği', 0.03, 0.6],
'lighting.saturation': ['Renk Doygunluğu', 0, 1.5],
Expand Down
5 changes: 5 additions & 0 deletions src/shared/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,11 @@
'Sessizlikte Işık': 'Idle Light Level',
'Seviye Dengeleme': 'Level Balance',
'Gürültü Kapısı': 'Noise Gate',
'Işık Eğrisi': 'Light Curve',
'Işık eğrisi 1 iken parlaklık sesle doğru orantılıdır (eski yanıt). Yükseldikçe orta seviyeler kararır.':
'At 1 the light curve is proportional to the sound (the previous response). Higher values darken the middle levels.',
'Seçilen bant ışığı o frekanstan sürer. Otomatik seçim bas, orta ve tizi eşit tartıp en güçlüsünü izler.':
'The selected band drives the light from that frequency. Auto weighs bass, mid and treble equally and follows the strongest.',
'Renk Doygunluğu': 'Color Saturation',
'Renk Yayılımı': 'Color Spread',
'Görselleştirici Bar Renkleri': 'Visualizer Bar Colors',
Expand Down
Loading
Loading