tiny-essentials 1.28.17 → 1.28.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog/1/28/18.md +14 -0
- package/dist/v1/TinyEssentials.min.js +1 -1
- package/dist/v1/TinyRadioFm.min.js +1 -1
- package/dist/v1/libs/media/TinyRadioFm.cjs +83 -40
- package/dist/v1/libs/media/TinyRadioFm.d.mts +7 -2
- package/dist/v1/libs/media/TinyRadioFm.d.mts.map +1 -1
- package/dist/v1/libs/media/TinyRadioFm.mjs +77 -38
- package/docs/v1/libs/media/TinyRadioFm.md +40 -11
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
## 🚀 Release: Enhanced Randomization & Advanced Weighting
|
|
2
|
+
|
|
3
|
+
We are excited to announce the latest update to `TinyRadioFm`!
|
|
4
|
+
|
|
5
|
+
### 🎲 Improved Randomization Engine
|
|
6
|
+
The core randomization logic has been overhauled! We have integrated **`TinyAdvancedRaffle`** to handle our weighted selection process.
|
|
7
|
+
|
|
8
|
+
**Why this change?** 🛠️
|
|
9
|
+
Instead of maintaining a separate, custom implementation, we decided to leverage this existing and thoroughly tested structure.
|
|
10
|
+
|
|
11
|
+
### 🎙️ New `voiceWeight` Configuration
|
|
12
|
+
To give you much finer control over the balance between music and voice, we have introduced the `voiceWeight` property in the `RadioConfig`. ⚖️
|
|
13
|
+
|
|
14
|
+
With this new parameter, you can now mathematically tune the probability of voice blocks appearing after music tracks. This makes it easy to create everything from a music-heavy station to one with frequent, strategically placed voice interruptions.
|