Adds VU meter to the audio player bar

Adds a segmented spectrum VU meter to the condensed player bar, fed by an analyser tapped after ReplayGain and before the volume, so the meter does not depend on the output volume.

Adds per-user VU meter settings (orientation, segment count and gap, thresholds, peak marker, hold and falloff rates) across the domain, persistence, API contracts, validation and the settings page, with a migration and localized resources.

Sizes the meter cells in whole pixels and keeps the frame clock steady on browsers that round timers.

Updates the theming guide, API documentation, request samples and the user manual.
This commit is contained in:
BinaryAlley committed 2026-10-21 20:30:51 +03:00
1 parent 9889c86c76
commit 2e9f7d8496
66 files changed
+7844 -81

No files matched your search

@@ -84,4 +84,49 @@ public class UserSettingsDto
/// Gets or sets the quality cap applied to the audio the server normalizes for the user.
/// </summary>
public PlaybackStreamingQuality? StreamingQuality { get; set; }
/// <summary>
/// Gets or sets the direction in which each channel of the VU meter of the audio player grows.
/// </summary>
public VuMeterOrientation? VuMeterOrientation { get; set; } = Enums.AudioLibrary.VuMeterOrientation.Vertical;
/// <summary>
/// Gets or sets the number of segments each channel of the VU meter is divided into.
/// </summary>
public int? VuMeterSegmentCount { get; set; } = 12;
/// <summary>
/// Gets or sets the gap, in pixels, between the segments and the channels of the VU meter.
/// </summary>
public int? VuMeterSegmentGap { get; set; } = 1;
/// <summary>
/// Gets or sets the level, between 0 and 1, above which a segment of the VU meter is drawn with its medium state.
/// </summary>
public double? VuMeterMediumThreshold { get; set; } = 0.6;
/// <summary>
/// Gets or sets the level, between 0 and 1, above which a segment of the VU meter is drawn with its high state.
/// </summary>
public double? VuMeterHighThreshold { get; set; } = 0.8;
/// <summary>
/// Gets or sets whether the VU meter holds the peak level of each channel after it falls, or not.
/// </summary>
public bool? VuMeterShowPeak { get; set; } = true;
/// <summary>
/// Gets or sets the time, in milliseconds, a peak of the VU meter is held before it starts falling.
/// </summary>
public int? VuMeterPeakHoldDurationInMilliseconds { get; set; } = 650;
/// <summary>
/// Gets or sets the number of level units the display of the VU meter falls per second when the input level drops.
/// </summary>
public double? VuMeterReleasePerSecond { get; set; } = 3.0;
/// <summary>
/// Gets or sets the number of level units the peak of the VU meter falls per second after its hold time elapsed.
/// </summary>
public double? VuMeterPeakReleasePerSecond { get; set; } = 0.65;
}
@@ -0,0 +1,22 @@
#region ========================================================================= USING =====================================================================================
using System.Diagnostics;
#endregion
namespace Lumina.Presentation.Web.Common.Enums.AudioLibrary;
/// <summary>
/// Enumeration for the direction in which each channel of the VU meter of the audio player grows.
/// </summary>
[DebuggerDisplay("{ToString()}")]
public enum VuMeterOrientation
{
/// <summary>
/// The channels of the meter are columns and their levels grow from bottom to top.
/// </summary>
Vertical,
/// <summary>
/// The channels of the meter are rows and their levels grow from left to right.
/// </summary>
Horizontal,
}
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>يجب ألا يتجاوز عدد المقطوعات العشوائية 500!</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>لا يمكن أن يكون انخفاض مقياس VU فارغًا!</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>لا يمكن أن يكون عدد مقاطع مقياس VU فارغًا!</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>يجب أن يكون انخفاض مقياس VU بين 0 و100 في الثانية!</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>يجب أن تكون مدة تثبيت القمم لمقياس VU بين 0 و10000 مللي ثانية!</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>اتجاه مقياس VU غير صالح!</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>يجب أن يكون عدد مقاطع مقياس VU بين 1 و128!</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>لا يمكن أن يكون تفضيل عرض القمم لمقياس VU فارغًا!</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>يجب أن تكون العتبة المتوسطة لمقياس VU بين 0 و1!</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>يجب أن يكون انخفاض القمم لمقياس VU بين 0 و100 في الثانية!</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>لا يمكن أن تكون المسافة بين مقاطع مقياس VU فارغة!</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>يجب أن تكون المسافة بين مقاطع مقياس VU بين 0 و32!</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>لا يمكن أن تكون مدة تثبيت القمم لمقياس VU فارغة!</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>لا يمكن أن تكون اتجاهات مقياس VU فارغة!</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>لا يمكن أن تكون العتبة المتوسطة لمقياس VU فارغة!</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>يجب أن تكون العتبة العالية لمقياس VU بين 0 و1!</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>لا يمكن أن يكون انخفاض القمم لمقياس VU فارغًا!</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>يجب أن تكون العتبة العالية لمقياس VU أكبر من أو تساوي العتبة المتوسطة!</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>لا يمكن أن تكون العتبة العالية لمقياس VU فارغة!</value>
</data>
</root>
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>Die Anzahl der Shuffle-Titel darf höchstens 500 betragen!</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>Der Rückgang des VU-Meters darf nicht null sein!</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>Die Segmentanzahl des VU-Meters darf nicht null sein!</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>Der Rückgang des VU-Meters muss zwischen 0 und 100 pro Sekunde liegen!</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>Die Haltedauer der Spitzenwerte des VU-Meters muss zwischen 0 und 10000 Millisekunden liegen!</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>Ungültige Ausrichtung des VU-Meters!</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>Die Segmentanzahl des VU-Meters muss zwischen 1 und 128 liegen!</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>Die Einstellung zum Anzeigen der Spitzenwerte des VU-Meters darf nicht null sein!</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Der mittlere Schwellenwert des VU-Meters muss zwischen 0 und 1 liegen!</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>Der Rückgang der Spitzenwerte des VU-Meters muss zwischen 0 und 100 pro Sekunde liegen!</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>Der Segmentabstand des VU-Meters darf nicht null sein!</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>Der Segmentabstand des VU-Meters muss zwischen 0 und 32 liegen!</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>Die Haltedauer der Spitzenwerte des VU-Meters darf nicht null sein!</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>Die Ausrichtung des VU-Meters darf nicht null sein!</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>Der mittlere Schwellenwert des VU-Meters darf nicht null sein!</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Der hohe Schwellenwert des VU-Meters muss zwischen 0 und 1 liegen!</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>Der Rückgang der Spitzenwerte des VU-Meters darf nicht null sein!</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>Der hohe Schwellenwert des VU-Meters muss größer oder gleich dem mittleren Schwellenwert sein!</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>Der hohe Schwellenwert des VU-Meters darf nicht null sein!</value>
</data>
</root>
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>The shuffle track count must be at most 500!</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>The VU meter release cannot be null!</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>The VU meter segment count cannot be null!</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>The VU meter release must be between 0 and 100 per second!</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>The VU meter peak hold duration must be between 0 and 10000 milliseconds!</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>Invalid VU meter orientation!</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>The VU meter segment count must be between 1 and 128!</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>The VU meter show peak preference cannot be null!</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>The VU meter medium threshold must be between 0 and 1!</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>The VU meter peak release must be between 0 and 100 per second!</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>The VU meter segment gap cannot be null!</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>The VU meter segment gap must be between 0 and 32!</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>The VU meter peak hold duration cannot be null!</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>The VU meter orientation cannot be null!</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>The VU meter medium threshold cannot be null!</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>The VU meter high threshold must be between 0 and 1!</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>The VU meter peak release cannot be null!</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>The VU meter high threshold must be greater than or equal to the medium threshold!</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>The VU meter high threshold cannot be null!</value>
</data>
</root>
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>¡La cantidad de pistas de reproducción aleatoria no debe superar 500!</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>La caída del vúmetro no puede ser nula.</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>El número de segmentos del vúmetro no puede ser nulo.</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>La caída del vúmetro debe estar entre 0 y 100 por segundo.</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>La duración de retención de los picos del vúmetro debe estar entre 0 y 10000 milisegundos.</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>¡Orientación del vúmetro no válida!</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>El número de segmentos del vúmetro debe estar entre 1 y 128.</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>La preferencia de mostrar los picos del vúmetro no puede ser nula.</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>El umbral medio del vúmetro debe estar entre 0 y 1.</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>La caída de los picos del vúmetro debe estar entre 0 y 100 por segundo.</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>La separación de los segmentos del vúmetro no puede ser nula.</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>La separación de los segmentos del vúmetro debe estar entre 0 y 32.</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>La duración de retención de los picos del vúmetro no puede ser nula.</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>La orientación del vúmetro no puede ser nula.</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>El umbral medio del vúmetro no puede ser nulo.</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>El umbral alto del vúmetro debe estar entre 0 y 1.</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>La caída de los picos del vúmetro no puede ser nula.</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>El umbral alto del vúmetro debe ser mayor o igual que el umbral medio.</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>El umbral alto del vúmetro no puede ser nulo.</value>
</data>
</root>
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>Le nombre de pistes du shuffle ne doit pas dépasser 500 !</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>La décroissance du vumètre ne peut pas être nulle !</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>Le nombre de segments du vumètre ne peut pas être nul !</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>La décroissance du vumètre doit être comprise entre 0 et 100 par seconde !</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>La durée de maintien des crêtes du vumètre doit être comprise entre 0 et 10000 millisecondes !</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>Orientation du vumètre non valide !</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>Le nombre de segments du vumètre doit être compris entre 1 et 128 !</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>La préférence d'affichage des crêtes du vumètre ne peut pas être nulle !</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Le seuil moyen du vumètre doit être compris entre 0 et 1 !</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>La décroissance des crêtes du vumètre doit être comprise entre 0 et 100 par seconde !</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>L'espacement des segments du vumètre ne peut pas être nul !</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>L'espacement des segments du vumètre doit être compris entre 0 et 32 !</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>La durée de maintien des crêtes du vumètre ne peut pas être nulle !</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>L'orientation du vumètre ne peut pas être nulle !</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>Le seuil moyen du vumètre ne peut pas être nul !</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Le seuil élevé du vumètre doit être compris entre 0 et 1 !</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>La décroissance des crêtes du vumètre ne peut pas être nulle !</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>Le seuil élevé du vumètre doit être supérieur ou égal au seuil moyen !</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>Le seuil élevé du vumètre ne peut pas être nul !</value>
</data>
</root>
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>Il numero di brani dello shuffle non può superare 500!</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>La caduta del vumetro non può essere nulla.</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>Il numero di segmenti del vumetro non può essere nullo.</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>La caduta del vumetro deve essere compresa tra 0 e 100 al secondo.</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>La durata di mantenimento dei picchi del vumetro deve essere compresa tra 0 e 10000 millisecondi.</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>Orientamento del vumetro non valido!</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>Il numero di segmenti del vumetro deve essere compreso tra 1 e 128.</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>La preferenza di mostrare i picchi del vumetro non può essere nulla.</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>La soglia media del vumetro deve essere compresa tra 0 e 1.</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>La caduta dei picchi del vumetro deve essere compresa tra 0 e 100 al secondo.</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>La spaziatura dei segmenti del vumetro non può essere nulla.</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>La spaziatura dei segmenti del vumetro deve essere compresa tra 0 e 32.</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>La durata di mantenimento dei picchi del vumetro non può essere nulla.</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>L'orientamento del vumetro non può essere nullo.</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>La soglia media del vumetro non può essere nulla.</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>La soglia alta del vumetro deve essere compresa tra 0 e 1.</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>La caduta dei picchi del vumetro non può essere nulla.</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>La soglia alta del vumetro deve essere maggiore o uguale alla soglia media.</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>La soglia alta del vumetro non può essere nulla.</value>
</data>
</root>
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>シャッフルするトラック数は 500 以下である必要があります。</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>VUメーターの減衰はnullにできません。</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>VUメーターのセグメント数はnullにできません。</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>VUメーターの減衰は毎秒0から100の間である必要があります。</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>VUメーターのピーク保持時間は0から10000ミリ秒の間である必要があります。</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>VUメーターの向きが無効です。</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>VUメーターのセグメント数は1から128の間である必要があります。</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>VUメーターのピーク表示設定はnullにできません。</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>VUメーターの中間しきい値は0から1の間である必要があります。</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>VUメーターのピーク減衰は毎秒0から100の間である必要があります。</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>VUメーターのセグメント間隔はnullにできません。</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>VUメーターのセグメント間隔は0から32の間である必要があります。</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>VUメーターのピーク保持時間はnullにできません。</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>VUメーターの向きはnullにできません。</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>VUメーターの中間しきい値はnullにできません。</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>VUメーターの高いしきい値は0から1の間である必要があります。</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>VUメーターのピーク減衰はnullにできません。</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>VUメーターの高いしきい値は中間しきい値以上である必要があります。</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>VUメーターの高いしきい値はnullにできません。</value>
</data>
</root>
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>The shuffle track count must be at most 500!</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>The VU meter release cannot be null!</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>The VU meter segment count cannot be null!</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>The VU meter release must be between 0 and 100 per second!</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>The VU meter peak hold duration must be between 0 and 10000 milliseconds!</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>Invalid VU meter orientation!</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>The VU meter segment count must be between 1 and 128!</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>The VU meter show peak preference cannot be null!</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>The VU meter medium threshold must be between 0 and 1!</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>The VU meter peak release must be between 0 and 100 per second!</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>The VU meter segment gap cannot be null!</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>The VU meter segment gap must be between 0 and 32!</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>The VU meter peak hold duration cannot be null!</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>The VU meter orientation cannot be null!</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>The VU meter medium threshold cannot be null!</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>The VU meter high threshold must be between 0 and 1!</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>The VU meter peak release cannot be null!</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>The VU meter high threshold must be greater than or equal to the medium threshold!</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>The VU meter high threshold cannot be null!</value>
</data>
</root>
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>Numărul de piste pentru redare aleatorie nu poate depăși 500!</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>Scăderea vumetrului nu poate fi nulă!</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>Numărul de segmente al vumetrului nu poate fi nul!</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>Scăderea vumetrului trebuie să fie între 0 și 100 pe secundă!</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>Durata de menținere a vârfurilor vumetrului trebuie să fie între 0 și 10000 de milisecunde!</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>Orientare nevalidă a vumetrului!</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>Numărul de segmente al vumetrului trebuie să fie între 1 și 128!</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>Preferința de afișare a vârfurilor vumetrului nu poate fi nulă!</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Pragul mediu al vumetrului trebuie să fie între 0 și 1!</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>Scăderea vârfurilor vumetrului trebuie să fie între 0 și 100 pe secundă!</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>Spațiul dintre segmentele vumetrului nu poate fi nul!</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>Spațiul dintre segmentele vumetrului trebuie să fie între 0 și 32!</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>Durata de menținere a vârfurilor vumetrului nu poate fi nulă!</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>Orientarea vumetrului nu poate fi nulă!</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>Pragul mediu al vumetrului nu poate fi nul!</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Pragul ridicat al vumetrului trebuie să fie între 0 și 1!</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>Scăderea vârfurilor vumetrului nu poate fi nulă!</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>Pragul ridicat al vumetrului trebuie să fie mai mare sau egal cu pragul mediu!</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>Pragul ridicat al vumetrului nu poate fi nul!</value>
</data>
</root>
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>Кількість треків для перемішування не може перевищувати 500!</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>Спад VU-метра не може бути порожнім!</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>Кількість сегментів VU-метра не може бути порожньою!</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>Спад VU-метра має бути від 0 до 100 за секунду!</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>Тривалість утримання піків VU-метра має бути від 0 до 10000 мілісекунд!</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>Недійсна орієнтація VU-метра!</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>Кількість сегментів VU-метра має бути від 1 до 128!</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>Налаштування показу піків VU-метра не може бути порожнім!</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Середній поріг VU-метра має бути від 0 до 1!</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>Спад піків VU-метра має бути від 0 до 100 за секунду!</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>Проміжок між сегментами VU-метра не може бути порожнім!</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>Проміжок між сегментами VU-метра має бути від 0 до 32!</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>Тривалість утримання піків VU-метра не може бути порожньою!</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>Орієнтація VU-метра не може бути порожньою!</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>Середній поріг VU-метра не може бути порожнім!</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Високий поріг VU-метра має бути від 0 до 1!</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>Спад піків VU-метра не може бути порожнім!</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>Високий поріг VU-метра має бути більшим або дорівнювати середньому порогу!</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>Високий поріг VU-метра не може бути порожнім!</value>
</data>
</root>
@@ -849,4 +849,58 @@
<data name="ShuffleTrackCountMustBeAtMost500" xml:space="preserve">
<value>随机播放曲目数不能超过 500!</value>
</data>
<data name="VuMeterReleasePerSecondCannotBeNull" xml:space="preserve">
<value>VU 表的衰落速度不能为空!</value>
</data>
<data name="VuMeterSegmentCountCannotBeNull" xml:space="preserve">
<value>VU 表的段数不能为空!</value>
</data>
<data name="VuMeterReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>VU 表的衰落速度必须介于每秒 0 到 100 之间!</value>
</data>
<data name="VuMeterPeakHoldDurationMustBeBetweenZeroAndTenThousandMilliseconds" xml:space="preserve">
<value>VU 表的峰值保持时间必须在 0 到 10000 毫秒之间!</value>
</data>
<data name="InvalidVuMeterOrientation" xml:space="preserve">
<value>VU 表的方向无效!</value>
</data>
<data name="VuMeterSegmentCountMustBeBetweenOneAndOneHundredTwentyEight" xml:space="preserve">
<value>VU 表的段数必须在 1 到 128 之间!</value>
</data>
<data name="VuMeterShowPeakCannotBeNull" xml:space="preserve">
<value>VU 表的峰值显示首选项不能为空!</value>
</data>
<data name="VuMeterMediumThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>VU 表的中等阈值必须在 0 到 1 之间!</value>
</data>
<data name="VuMeterPeakReleasePerSecondMustBeBetweenZeroAndOneHundred" xml:space="preserve">
<value>VU 表的峰值衰落速度必须介于每秒 0 到 100 之间!</value>
</data>
<data name="VuMeterSegmentGapCannotBeNull" xml:space="preserve">
<value>VU 表的段间距不能为空!</value>
</data>
<data name="VuMeterSegmentGapMustBeBetweenZeroAndThirtyTwo" xml:space="preserve">
<value>VU 表的段间距必须在 0 到 32 之间!</value>
</data>
<data name="VuMeterPeakHoldDurationCannotBeNull" xml:space="preserve">
<value>VU 表的峰值保持时间不能为空!</value>
</data>
<data name="VuMeterOrientationCannotBeNull" xml:space="preserve">
<value>VU 表的方向不能为空!</value>
</data>
<data name="VuMeterMediumThresholdCannotBeNull" xml:space="preserve">
<value>VU 表的中等阈值不能为空!</value>
</data>
<data name="VuMeterHighThresholdMustBeBetweenZeroAndOne" xml:space="preserve">
<value>VU 表的高阈值必须在 0 到 1 之间!</value>
</data>
<data name="VuMeterPeakReleasePerSecondCannotBeNull" xml:space="preserve">
<value>VU 表的峰值衰落速度不能为空!</value>
</data>
<data name="VuMeterHighThresholdMustBeGreaterThanOrEqualToMediumThreshold" xml:space="preserve">
<value>VU 表的高阈值必须大于或等于中等阈值!</value>
</data>
<data name="VuMeterHighThresholdCannotBeNull" xml:space="preserve">
<value>VU 表的高阈值不能为空!</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>عالية (320 kbps)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>عدد المقاطع التي تنقسم إليها كل قناة من مقياس VU، بين 1 و128.</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>انخفاض القمم</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>المستوى بين 0 و1 الذي يُرسم فوقه المقطع بالحالة العالية. يجب أن يكون على الأقل مساويًا للعتبة المتوسطة.</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>ما إذا كانت قنوات مقياس VU تنمو من الأسفل إلى الأعلى أو من اليسار إلى اليمين.</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>المستوى بين 0 و1 الذي يُرسم فوقه المقطع بالحالة المتوسطة.</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>عمودي</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>انخفاض المستوى</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>أفقي</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>الاتجاه</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>العتبة العالية</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>المقاطع لكل قناة</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>العتبة المتوسطة</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>مقياس VU</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>تثبيت القمم (مللي ثانية)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>ما إذا كانت كل قناة تحتفظ بعلامة عند أعلى مستوى حديث لها.</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>عدد وحدات المستوى التي تنخفضها علامة القمة في الثانية بعد مدة تثبيتها، بين 0 و100. القيم الأعلى تنخفض أسرع.</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>مدة تثبيت علامة القمة بالمللي ثانية قبل أن تبدأ في الانخفاض، بين 0 و10000.</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>إظهار القمم</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>المسافة بالبكسل بين مقاطع مقياس VU وقنواته، بين 0 و32.</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>المسافة بين المقاطع</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>عدد وحدات المستوى التي تنخفضها القناة في الثانية بعد انخفاض الصوت، بين 0 و100. القيم الأعلى تنخفض أسرع.</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Hoch (320 kbit/s)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>In wie viele Segmente jeder Kanal des VU-Meters unterteilt wird, zwischen 1 und 128.</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Rückgang der Spitzenwerte</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>Der Pegel zwischen 0 und 1, ab dem ein Segment mit dem hohen Zustand gezeichnet wird. Er muss mindestens dem mittleren Schwellenwert entsprechen.</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>Ob die Kanäle des VU-Meters von unten nach oben oder von links nach rechts wachsen.</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>Der Pegel zwischen 0 und 1, ab dem ein Segment mit dem mittleren Zustand gezeichnet wird.</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>Vertikal</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>Pegelrückgang</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>Horizontal</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>Ausrichtung</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>Hoher Schwellenwert</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>Segmente pro Kanal</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>Mittlerer Schwellenwert</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>VU-Meter</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>Spitzenwert halten (ms)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>Ob jeder Kanal eine Markierung bei seinem lautesten letzten Pegel behält.</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Wie viele Pegel-Einheiten eine Spitzenmarkierung pro Sekunde nach ihrer Haltezeit fällt, zwischen 0 und 100. Höhere Werte fallen schneller.</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>Wie lange eine Spitzenmarkierung in Millisekunden gehalten wird, bevor sie zu fallen beginnt, zwischen 0 und 10000.</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>Spitzenwerte anzeigen</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>Der Abstand in Pixeln zwischen den Segmenten und den Kanälen des VU-Meters, zwischen 0 und 32.</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>Segmentabstand</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>Wie viele Pegel-Einheiten ein Kanal pro Sekunde nach dem Abklingen des Tons fällt, zwischen 0 und 100. Höhere Werte fallen schneller.</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>High (320 kbps)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>How many segments each channel of the VU meter is divided into, between 1 and 128.</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Peak falloff</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>The level, between 0 and 1, above which a segment is drawn with the high state. It must be at least the medium threshold.</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>Whether the channels of the VU meter grow upwards from the bottom, or rightwards from the left.</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>The level, between 0 and 1, above which a segment is drawn with the medium state.</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>Vertical</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>Level falloff</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>Horizontal</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>Orientation</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>High threshold</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>Segments per channel</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>Medium threshold</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>VU meter</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>Peak hold (ms)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>Whether each channel holds a mark at its loudest recent level.</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>How many level units a peak mark falls per second after its hold time, between 0 and 100. Higher values fall faster.</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>How long, in milliseconds, a peak mark is held before it starts falling, between 0 and 10000.</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>Show peak</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>The gap, in pixels, between the segments and the channels of the VU meter, between 0 and 32.</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>Segment gap</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>How many level units a channel falls per second after the sound drops, between 0 and 100. Higher values fall faster.</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Alta (320 kbps)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>En cuántos segmentos se divide cada canal del vúmetro, entre 1 y 128.</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Caída de los picos</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>El nivel, entre 0 y 1, por encima del cual un segmento se dibuja con el estado alto. Debe ser al menos el umbral medio.</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>Indica si los canales del vúmetro crecen de abajo hacia arriba o de izquierda a derecha.</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>El nivel, entre 0 y 1, por encima del cual un segmento se dibuja con el estado medio.</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>Vertical</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>Caída del nivel</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>Horizontal</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>Orientación</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>Umbral alto</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>Segmentos por canal</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>Umbral medio</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>Vúmetro</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>Retención de picos (ms)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>Indica si cada canal mantiene una marca en su nivel reciente más alto.</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Cuántas unidades de nivel cae una marca de pico por segundo después de su tiempo de retención, entre 0 y 100. Los valores más altos caen más rápido.</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>Cuánto tiempo, en milisegundos, se mantiene una marca de pico antes de empezar a caer, entre 0 y 10000.</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>Mostrar picos</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>La separación, en píxeles, entre los segmentos y los canales del vúmetro, entre 0 y 32.</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>Separación de segmentos</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>Cuántas unidades de nivel cae un canal por segundo después de que el sonido baje, entre 0 y 100. Los valores más altos caen más rápido.</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Élevée (320 kbit/s)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>Le nombre de segments dans lesquels chaque canal du vumètre est divisé, entre 1 et 128.</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Décroissance des crêtes</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>Le niveau, entre 0 et 1, au-dessus duquel un segment est dessiné avec l'état élevé. Il doit être au moins égal au seuil moyen.</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>Indique si les canaux du vumètre croissent du bas vers le haut ou de la gauche vers la droite.</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>Le niveau, entre 0 et 1, au-dessus duquel un segment est dessiné avec l'état moyen.</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>Verticale</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>Décroissance du niveau</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>Horizontale</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>Orientation</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>Seuil élevé</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>Segments par canal</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>Seuil moyen</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>Vumètre</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>Maintien des crêtes (ms)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>Indique si chaque canal conserve un repère à son niveau récent le plus fort.</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Le nombre d'unités de niveau dont un repère de crête descend par seconde après sa durée de maintien, entre 0 et 100. Des valeurs plus élevées descendent plus vite.</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>La durée, en millisecondes, pendant laquelle un repère de crête est maintenu avant de commencer à descendre, entre 0 et 10000.</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>Afficher les crêtes</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>L'espacement, en pixels, entre les segments et les canaux du vumètre, entre 0 et 32.</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>Espacement des segments</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>Le nombre d'unités de niveau dont un canal descend par seconde après la baisse du son, entre 0 et 100. Des valeurs plus élevées descendent plus vite.</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Alta (320 kbps)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>In quanti segmenti è diviso ogni canale del vumetro, tra 1 e 128.</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Caduta dei picchi</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>Il livello, tra 0 e 1, oltre il quale un segmento viene disegnato con lo stato alto. Deve essere almeno la soglia media.</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>Indica se i canali del vumetro crescono dal basso verso l'alto o da sinistra verso destra.</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>Il livello, tra 0 e 1, oltre il quale un segmento viene disegnato con lo stato medio.</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>Verticale</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>Caduta del livello</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>Orizzontale</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>Orientamento</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>Soglia alta</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>Segmenti per canale</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>Soglia media</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>Vumetro</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>Mantenimento dei picchi (ms)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>Indica se ogni canale mantiene un segno al suo livello recente più alto.</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Quante unità di livello scende un segno di picco al secondo dopo il suo tempo di mantenimento, tra 0 e 100. Valori più alti scendono più rapidamente.</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>Per quanto tempo, in millisecondi, un segno di picco viene mantenuto prima di iniziare a scendere, tra 0 e 10000.</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>Mostra picchi</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>La spaziatura, in pixel, tra i segmenti e i canali del vumetro, tra 0 e 32.</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>Spaziatura dei segmenti</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>Quante unità di livello scende un canale al secondo dopo che il suono cala, tra 0 e 100. Valori più alti scendono più rapidamente.</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>高 (320 kbps)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>VUメーターの各チャンネルを分割するセグメント数です。1から128の間で指定します。</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>ピークの減衰</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>セグメントを高い状態で描画するレベルです。0から1の間で指定し、中間しきい値以上である必要があります。</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>VUメーターの各チャンネルが下から上へ伸びるか、左から右へ伸びるかを指定します。</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>セグメントを中間状態で描画するレベルです。0から1の間で指定します。</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>垂直</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>レベルの減衰</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>水平</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>向き</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>高いしきい値</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>チャンネルあたりのセグメント数</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>中間しきい値</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>VUメーター</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>ピーク保持 (ms)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>各チャンネルに直近の最大レベルの印を残すかどうかを指定します。</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>保持時間の後、ピークの印が1秒あたりに下がるレベルの量です。0から100の間で指定します。値が大きいほど速く下がります。</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>ピークの印が下がり始めるまで保持される時間をミリ秒単位で指定します。0から10000の間です。</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>ピークを表示</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>VUメーターのセグメントとチャンネルの間隔をピクセル単位で指定します。0から32の間です。</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>セグメント間隔</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>音が下がった後にチャンネルが1秒あたりに下がるレベルの量です。0から100の間で指定します。値が大きいほど速く下がります。</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>High (320 kbps)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>How many segments each channel of the VU meter is divided into, between 1 and 128.</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Peak falloff</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>The level, between 0 and 1, above which a segment is drawn with the high state. It must be at least the medium threshold.</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>Whether the channels of the VU meter grow upwards from the bottom, or rightwards from the left.</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>The level, between 0 and 1, above which a segment is drawn with the medium state.</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>Vertical</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>Level falloff</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>Horizontal</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>Orientation</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>High threshold</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>Segments per channel</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>Medium threshold</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>VU meter</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>Peak hold (ms)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>Whether each channel holds a mark at its loudest recent level.</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>How many level units a peak mark falls per second after its hold time, between 0 and 100. Higher values fall faster.</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>How long, in milliseconds, a peak mark is held before it starts falling, between 0 and 10000.</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>Show peak</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>The gap, in pixels, between the segments and the channels of the VU meter, between 0 and 32.</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>Segment gap</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>How many level units a channel falls per second after the sound drops, between 0 and 100. Higher values fall faster.</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Ridicată (320 kbps)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>În câte segmente este împărțit fiecare canal al vumetrului, între 1 și 128.</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Scăderea vârfurilor</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>Nivelul, între 0 și 1, peste care un segment este desenat cu starea ridicată. Trebuie să fie cel puțin pragul mediu.</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>Dacă canalele vumetrului cresc de jos în sus sau de la stânga la dreapta.</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>Nivelul, între 0 și 1, peste care un segment este desenat cu starea medie.</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>Verticală</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>Scăderea nivelului</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>Orizontală</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>Orientare</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>Prag ridicat</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>Segmente pe canal</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>Prag mediu</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>Vumetru</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>Menținerea vârfurilor (ms)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>Dacă fiecare canal păstrează un marcaj la cel mai puternic nivel recent.</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Câte unități de nivel scade un marcaj de vârf pe secundă după durata de menținere, între 0 și 100. Valorile mai mari scad mai repede.</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>Cât timp, în milisecunde, este menținut un marcaj de vârf înainte de a începe să scadă, între 0 și 10000.</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>Afișează vârfurile</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>Spațiul, în pixeli, dintre segmente și canalele vumetrului, între 0 și 32.</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>Spațiu între segmente</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>Câte unități de nivel scade un canal pe secundă după ce sunetul scade, între 0 și 100. Valorile mai mari scad mai repede.</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Висока (320 kbps)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>На скільки сегментів поділено кожен канал VU-метра, від 1 до 128.</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Спад піків</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>Рівень від 0 до 1, вище якого сегмент малюється у високому стані. Він має бути не меншим за середній поріг.</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>Чи ростуть канали VU-метра знизу вгору або зліва направо.</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>Рівень від 0 до 1, вище якого сегмент малюється в середньому стані.</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>Вертикальна</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>Спад рівня</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>Горизонтальна</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>Орієнтація</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>Високий поріг</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>Сегментів на канал</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>Середній поріг</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>VU-метр</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>Утримання піків (мс)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>Чи залишає кожен канал позначку на своєму найгучнішому недавньому рівні.</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>Скільки одиниць рівня позначка піку спадає за секунду після часу утримання, від 0 до 100. Більші значення спадають швидше.</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>Скільки мілісекунд позначка піку утримується перед тим, як почати спадати, від 0 до 10000.</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>Показувати піки</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>Проміжок у пікселях між сегментами та каналами VU-метра, від 0 до 32.</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>Проміжок між сегментами</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>Скільки одиниць рівня канал спадає за секунду після зниження звуку, від 0 до 100. Більші значення спадають швидше.</value>
</data>
</root>
@@ -123,4 +123,67 @@
<data name="StreamingQualityHigh" xml:space="preserve">
<value>高 (320 kbps)</value>
</data>
<data name="DescriptionVuMeterSegmentCount" xml:space="preserve">
<value>VU 表的每个通道分为多少段,介于 1 到 128 之间。</value>
</data>
<data name="VuMeterPeakReleasePerSecond" xml:space="preserve">
<value>峰值衰落</value>
</data>
<data name="DescriptionVuMeterHighThreshold" xml:space="preserve">
<value>以高状态绘制段时所超过的电平,介于 0 到 1 之间。它必须大于或等于中等阈值。</value>
</data>
<data name="DescriptionVuMeterOrientation" xml:space="preserve">
<value>VU 表的通道是从下向上增长,还是从左向右增长。</value>
</data>
<data name="DescriptionVuMeterMediumThreshold" xml:space="preserve">
<value>以中等状态绘制段时所超过的电平,介于 0 到 1 之间。</value>
</data>
<data name="VuMeterOrientationVertical" xml:space="preserve">
<value>垂直</value>
</data>
<data name="VuMeterReleasePerSecond" xml:space="preserve">
<value>电平衰落</value>
</data>
<data name="VuMeterOrientationHorizontal" xml:space="preserve">
<value>水平</value>
</data>
<data name="VuMeterOrientation" xml:space="preserve">
<value>方向</value>
</data>
<data name="VuMeterHighThreshold" xml:space="preserve">
<value>高阈值</value>
</data>
<data name="VuMeterSegmentCount" xml:space="preserve">
<value>每通道段数</value>
</data>
<data name="VuMeterMediumThreshold" xml:space="preserve">
<value>中等阈值</value>
</data>
<data name="VuMeter" xml:space="preserve">
<value>VU 表</value>
</data>
<data name="VuMeterPeakHoldDuration" xml:space="preserve">
<value>峰值保持(毫秒)</value>
</data>
<data name="DescriptionVuMeterShowPeak" xml:space="preserve">
<value>每个通道是否在其最近的最大电平处保留标记。</value>
</data>
<data name="DescriptionVuMeterPeakReleasePerSecond" xml:space="preserve">
<value>峰值标记在保持时间过后每秒下降的电平单位数,介于 0 到 100 之间。数值越大下降越快。</value>
</data>
<data name="DescriptionVuMeterPeakHoldDuration" xml:space="preserve">
<value>峰值标记在开始下降之前保持的时间(以毫秒为单位),介于 0 到 10000 之间。</value>
</data>
<data name="VuMeterShowPeak" xml:space="preserve">
<value>显示峰值</value>
</data>
<data name="DescriptionVuMeterSegmentGap" xml:space="preserve">
<value>VU 表的段与通道之间的间距(以像素为单位),介于 0 到 32 之间。</value>
</data>
<data name="VuMeterSegmentGap" xml:space="preserve">
<value>段间距</value>
</data>
<data name="DescriptionVuMeterReleasePerSecond" xml:space="preserve">
<value>声音下降后通道每秒下降的电平单位数,介于 0 到 100 之间。数值越大下降越快。</value>
</data>
</root>
@@ -54,6 +54,14 @@
geometry, so a theme consumes the properties to style each state and to give either bar its own shape and
orientation. The player marks the bar with 'is-buffering' while it is loading, and carries the state in
'data-audio-player-progress-state' ('idle', 'ready' or 'buffering') together with the slider ARIA attributes.
- The VU meter root carries 'data-audio-player-vu-meter'. The player fills it with one 'audio-player-vu-channel'
element per band, one 'audio-player-vu-segment' per segment of the channel, and one 'audio-player-vu-peak' per
channel, and writes 'data-audio-player-vu-segment-state' ('active' or 'inactive'),
'data-audio-player-vu-segment-zone' ('normal', 'medium' or 'high') and 'data-audio-player-vu-peak-state'
('active' or 'inactive'). It publishes the segment gap and the peak position as the custom properties
'--audio-player-vu-segment-gap' and '--audio-player-vu-peak-position'. The root sits between the album art and
the current time label; a theme that does not render the hook gets the meter inserted there when the bar is bound.
The meter is entirely theme-owned: the stylesheet decides its shape, orientation, size and colors.
- Themed shells only: the plain text script elements that carry the raw source of the
'shared/audio-player/queue-item' and 'shared/audio-player/playlist-item' sub templates, with the ids
'audio-player-template-queue-item' and 'audio-player-template-playlist-item'. This application fallback partial
@@ -102,9 +110,11 @@
<ul class="audio-player-queue" data-audio-player-queue aria-label="@localizer["AudioPlayerQueue"]"></ul>
</div>
</div>
<!-- Condensed bar: transport controls, three state progress bar, volume, and track name. -->
<!-- Condensed bar: transport controls, three state progress bar, volume, VU meter and track name. -->
<div class="audio-player-bar">
<img class="audio-player-cover-thumbnail" data-audio-player-cover-thumbnail alt="" />
<!-- VU meter: one segmented channel per band. The script fills it, and a theme restyles every part. -->
<div class="audio-player-vu-meter" data-audio-player-vu-meter aria-hidden="true"></div>
<div class="audio-player-track-labels">
<span class="audio-player-track-name" data-audio-player-track-name></span>
<span class="audio-player-album-name" data-audio-player-album-name></span>
@@ -122,6 +122,7 @@
<script defer src="~/js/audio-player/audio-player-utils.js" asp-append-version="true"></script>
<script defer src="~/js/audio-player/audio-player-errors.js" asp-append-version="true"></script>
<script defer src="~/js/audio-player/audio-player-events.js" asp-append-version="true"></script>
<script defer src="~/js/audio-player/audio-player-vu-meter.js" asp-append-version="true"></script>
<script defer src="~/js/audio-player/audio-player-queue.js" asp-append-version="true"></script>
<script defer src="~/js/audio-player/audio-player-download.js" asp-append-version="true"></script>
<script defer src="~/js/audio-player/audio-player-render.js" asp-append-version="true"></script>
@@ -202,6 +202,106 @@
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionStreamingQuality"]</small>
</div>
<!-- VU meter. -->
<div class="form-row">
<h4 class="text-light-two w-100">@_localizer["VuMeter"]</h4>
</div>
<!-- Orientation. -->
<div class="form-row">
<div class="form-label">
<label for="VuMeterOrientation">@_localizer["VuMeterOrientation"]</label>:
</div>
<div class="form-field">
<select id="VuMeterOrientation" class="enlightenment-input">
<option value="Vertical">@_localizer["VuMeterOrientationVertical"]</option>
<option value="Horizontal">@_localizer["VuMeterOrientationHorizontal"]</option>
</select>
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionVuMeterOrientation"]</small>
</div>
<!-- Segment count. -->
<div class="form-row">
<div class="form-label">
<label for="VuMeterSegmentCount">@_localizer["VuMeterSegmentCount"]</label>:
</div>
<div class="form-field">
<input type="number" id="VuMeterSegmentCount" min="1" max="128" step="1" class="enlightenment-input" />
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionVuMeterSegmentCount"]</small>
</div>
<!-- Segment gap. -->
<div class="form-row">
<div class="form-label">
<label for="VuMeterSegmentGap">@_localizer["VuMeterSegmentGap"]</label>:
</div>
<div class="form-field">
<input type="number" id="VuMeterSegmentGap" min="0" max="32" step="1" class="enlightenment-input" />
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionVuMeterSegmentGap"]</small>
</div>
<!-- Medium threshold. -->
<div class="form-row">
<div class="form-label">
<label for="VuMeterMediumThreshold">@_localizer["VuMeterMediumThreshold"]</label>:
</div>
<div class="form-field">
<input type="number" id="VuMeterMediumThreshold" min="0" max="1" step="0.05" class="enlightenment-input" />
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionVuMeterMediumThreshold"]</small>
</div>
<!-- High threshold. -->
<div class="form-row">
<div class="form-label">
<label for="VuMeterHighThreshold">@_localizer["VuMeterHighThreshold"]</label>:
</div>
<div class="form-field">
<input type="number" id="VuMeterHighThreshold" min="0" max="1" step="0.05" class="enlightenment-input" />
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionVuMeterHighThreshold"]</small>
</div>
<!-- Show peak. -->
<div class="form-row">
<div class="form-label">
<label for="VuMeterShowPeak">@_localizer["VuMeterShowPeak"]</label>:
</div>
<div class="form-field">
<label class="enlightenment-checkbox-label">
<input type="checkbox" id="VuMeterShowPeak" class="enlightenment-checkbox-hidden" />
<span class="enlightenment-checkbox"></span>
</label>
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionVuMeterShowPeak"]</small>
</div>
<!-- Peak hold duration. -->
<div class="form-row">
<div class="form-label">
<label for="VuMeterPeakHoldDurationInMilliseconds">@_localizer["VuMeterPeakHoldDuration"]</label>:
</div>
<div class="form-field">
<input type="number" id="VuMeterPeakHoldDurationInMilliseconds" min="0" max="10000" step="50" class="enlightenment-input" />
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionVuMeterPeakHoldDuration"]</small>
</div>
<!-- Display release. -->
<div class="form-row">
<div class="form-label">
<label for="VuMeterReleasePerSecond">@_localizer["VuMeterReleasePerSecond"]</label>:
</div>
<div class="form-field">
<input type="number" id="VuMeterReleasePerSecond" min="0" max="100" step="0.05" class="enlightenment-input" />
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionVuMeterReleasePerSecond"]</small>
</div>
<!-- Peak release. -->
<div class="form-row">
<div class="form-label">
<label for="VuMeterPeakReleasePerSecond">@_localizer["VuMeterPeakReleasePerSecond"]</label>:
</div>
<div class="form-field">
<input type="number" id="VuMeterPeakReleasePerSecond" min="0" max="100" step="0.05" class="enlightenment-input" />
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionVuMeterPeakReleasePerSecond"]</small>
</div>
<div class="form-row" style="justify-content: center;">
<button type="submit" class="confirm-button h-22px">@_localizer["Save"]</button>
</div>
@@ -231,6 +331,15 @@
const checkboxIsGaplessPlaybackEnabled = document.getElementById('IsGaplessPlaybackEnabled');
const selectReplayGainMode = document.getElementById('ReplayGainMode');
const selectStreamingQuality = document.getElementById('StreamingQuality');
const selectVuMeterOrientation = document.getElementById('VuMeterOrientation');
const inputVuMeterSegmentCount = document.getElementById('VuMeterSegmentCount');
const inputVuMeterSegmentGap = document.getElementById('VuMeterSegmentGap');
const inputVuMeterMediumThreshold = document.getElementById('VuMeterMediumThreshold');
const inputVuMeterHighThreshold = document.getElementById('VuMeterHighThreshold');
const checkboxVuMeterShowPeak = document.getElementById('VuMeterShowPeak');
const inputVuMeterPeakHoldDurationInMilliseconds = document.getElementById('VuMeterPeakHoldDurationInMilliseconds');
const inputVuMeterReleasePerSecond = document.getElementById('VuMeterReleasePerSecond');
const inputVuMeterPeakReleasePerSecond = document.getElementById('VuMeterPeakReleasePerSecond');
// Toggle the enabled state of the items per page input based on the pagination checkbox.
function updateItemsPerPageEnabledState() {
@@ -254,11 +363,25 @@
checkboxIsGaplessPlaybackEnabled.checked = data.isGaplessPlaybackEnabled === true;
selectReplayGainMode.value = data.replayGainMode ?? 'Off';
selectStreamingQuality.value = data.streamingQuality ?? 'Auto';
selectVuMeterOrientation.value = data.vuMeterOrientation ?? 'Vertical';
inputVuMeterSegmentCount.value = data.vuMeterSegmentCount ?? 12;
inputVuMeterSegmentGap.value = data.vuMeterSegmentGap ?? 1;
inputVuMeterMediumThreshold.value = data.vuMeterMediumThreshold ?? 0.6;
inputVuMeterHighThreshold.value = data.vuMeterHighThreshold ?? 0.8;
checkboxVuMeterShowPeak.checked = data.vuMeterShowPeak !== false;
inputVuMeterPeakHoldDurationInMilliseconds.value = data.vuMeterPeakHoldDurationInMilliseconds ?? 650;
inputVuMeterReleasePerSecond.value = data.vuMeterReleasePerSecond ?? 3;
inputVuMeterPeakReleasePerSecond.value = data.vuMeterPeakReleasePerSecond ?? 0.65;
updateItemsPerPageEnabledState();
}
}
// Save the settings of the current user.
// An empty numeric field is sent as null, so the server reports it as missing instead of reading it as zero.
function readOptionalNumber(input) {
return input.value.trim() === '' ? null : Number(input.value);
}
async function handleSaveUserSettingsAsync() {
const formData = {
IsPaginationEnabled: checkboxIsPaginationEnabled.checked,
@@ -273,11 +396,25 @@
ShouldAutoplay: checkboxShouldAutoplay.checked,
IsGaplessPlaybackEnabled: checkboxIsGaplessPlaybackEnabled.checked,
ReplayGainMode: selectReplayGainMode.value,
StreamingQuality: selectStreamingQuality.value
StreamingQuality: selectStreamingQuality.value,
VuMeterOrientation: selectVuMeterOrientation.value,
VuMeterSegmentCount: readOptionalNumber(inputVuMeterSegmentCount),
VuMeterSegmentGap: readOptionalNumber(inputVuMeterSegmentGap),
VuMeterMediumThreshold: readOptionalNumber(inputVuMeterMediumThreshold),
VuMeterHighThreshold: readOptionalNumber(inputVuMeterHighThreshold),
VuMeterShowPeak: checkboxVuMeterShowPeak.checked,
VuMeterPeakHoldDurationInMilliseconds: readOptionalNumber(inputVuMeterPeakHoldDurationInMilliseconds),
VuMeterReleasePerSecond: readOptionalNumber(inputVuMeterReleasePerSecond),
VuMeterPeakReleasePerSecond: readOptionalNumber(inputVuMeterPeakReleasePerSecond)
};
const data = await callApiPostAsync('@_urlService.GetAbsoluteUrl(WebRoutes.Settings.UPDATE_USER_SETTINGS)', formData);
if (data && data.isUpdated === true)
if (data && data.isUpdated === true) {
notificationService.show('@_localizer["SettingsSaved"]', NotificationType.SUCCESS);
// The player lives in the layout and is not recreated by the navigation manager, so the saved playback and
// VU meter settings are handed to it directly instead of waiting for a full page reload.
if (window.LuminaAudioPlayer && window.LuminaAudioPlayer.instance && typeof window.LuminaAudioPlayer.instance.reloadPreferencesAsync === 'function')
await window.LuminaAudioPlayer.instance.reloadPreferencesAsync();
}
}
// On form submit event.
@@ -1,4 +1,4 @@
html,
html,
body {
margin: 0px;
padding: 0px;
@@ -1380,6 +1380,14 @@ body {
/* The expand and collapse duration is one value, so a theme can keep the height, fade and padding transitions in step by overriding this property on the container. */
--audio-player-expanded-duration: 0.4s;
transition: height var(--audio-player-expanded-duration) ease;
/* The VU meter palette is declared on the container so a theme overrides it on the
container or on the meter root, and every channel, segment and peak marker inherits the override. */
--audio-player-vu-normal-color: #0099FF;
--audio-player-vu-medium-color: #FFD166;
--audio-player-vu-high-color: #FF5D5D;
--audio-player-vu-inactive-color: transparent;
--audio-player-vu-peak-color: #F4F7FA;
--audio-player-vu-background-color: transparent;
}
.audio-player-container.not-shown {
@@ -1459,6 +1467,118 @@ html.audio-player-initializing .audio-player-container {
display: none;
}
/* VU meter. The player renders one channel per band and one segment per channel, and writes only the state and zone of
each segment and the position of each peak, so a theme restyles the whole meter from these rules or replaces them. The
colors are custom properties declared on the container, so overriding them on the container or on a theme selector is
enough to recolor every segment. The meter publishes the configured segment gap as '--audio-player-vu-segment-gap', the
segment count as '--audio-player-vu-segment-count', the channel count as '--audio-player-vu-band-count' and the peak position as '--audio-player-vu-peak-position'. */
.audio-player-vu-meter {
--audio-player-vu-cell: 3px;
--audio-player-vu-extent: 48px;
--audio-player-vu-max-cell: 4px;
--audio-player-vu-row: 1px;
--audio-player-vu-run: 8px;
flex: 0 0 auto;
display: flex;
gap: var(--audio-player-vu-segment-gap, 1px);
overflow: hidden;
background-color: var(--audio-player-vu-background-color, transparent);
}
@supports (width: round(down, 5px, 1px)) {
.audio-player-vu-meter {
--audio-player-vu-cell: max(1px, round(down, min(var(--audio-player-vu-max-cell), calc((var(--audio-player-vu-extent) - (var(--audio-player-vu-segment-count, 12) - 1) * var(--audio-player-vu-segment-gap, 1px)) / var(--audio-player-vu-segment-count, 12))), 1px));
--audio-player-vu-row: max(1px, round(down, calc((var(--audio-player-vu-extent) - (var(--audio-player-vu-band-count, 24) - 1) * var(--audio-player-vu-segment-gap, 1px)) / var(--audio-player-vu-band-count, 24)), 1px));
}
}
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="vertical"] {
flex-direction: row;
width: calc(var(--audio-player-vu-band-count, 24) * var(--audio-player-vu-cell) + (var(--audio-player-vu-band-count, 24) - 1) * var(--audio-player-vu-segment-gap, 1px));
height: calc(var(--audio-player-vu-segment-count, 12) * var(--audio-player-vu-cell) + (var(--audio-player-vu-segment-count, 12) - 1) * var(--audio-player-vu-segment-gap, 1px));
}
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="horizontal"] {
flex-direction: column;
width: calc(var(--audio-player-vu-segment-count, 12) * var(--audio-player-vu-run) + (var(--audio-player-vu-segment-count, 12) - 1) * var(--audio-player-vu-segment-gap, 1px));
height: calc(var(--audio-player-vu-band-count, 24) * var(--audio-player-vu-row) + (var(--audio-player-vu-band-count, 24) - 1) * var(--audio-player-vu-segment-gap, 1px));
}
.audio-player-vu-channel {
position: relative;
display: flex;
flex: 0 0 auto;
gap: var(--audio-player-vu-segment-gap, 1px);
}
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="vertical"] .audio-player-vu-channel {
flex-direction: column-reverse;
width: var(--audio-player-vu-cell);
}
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="horizontal"] .audio-player-vu-channel {
flex-direction: row;
height: var(--audio-player-vu-row);
}
/* A segment is inactive until the level reaches it, and it takes its zone color only while it is active. The zone is
part of the markup, so a theme can give each of the three independently. */
.audio-player-vu-segment {
flex: 0 0 auto;
background-color: var(--audio-player-vu-inactive-color, transparent);
}
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="vertical"] .audio-player-vu-segment {
width: var(--audio-player-vu-cell);
height: var(--audio-player-vu-cell);
}
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="horizontal"] .audio-player-vu-segment {
width: var(--audio-player-vu-run);
height: var(--audio-player-vu-row);
}
.audio-player-vu-segment[data-audio-player-vu-segment-state="active"][data-audio-player-vu-segment-zone="normal"] {
background-color: var(--audio-player-vu-normal-color, #0099FF);
}
.audio-player-vu-segment[data-audio-player-vu-segment-state="active"][data-audio-player-vu-segment-zone="medium"] {
background-color: var(--audio-player-vu-medium-color, #FFD166);
}
.audio-player-vu-segment[data-audio-player-vu-segment-state="active"][data-audio-player-vu-segment-zone="high"] {
background-color: var(--audio-player-vu-high-color, #FF5D5D);
}
/* The peak marker spans the short axis of its channel and is placed on the long axis from the custom property, so the
same markup serves both orientations: a theme only maps the property to whichever edge its own layout grows from. */
.audio-player-vu-peak {
position: absolute;
background-color: var(--audio-player-vu-peak-color, #F4F7FA);
opacity: 0;
pointer-events: none;
}
.audio-player-vu-peak[data-audio-player-vu-peak-state="active"] {
opacity: 1;
}
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="vertical"] .audio-player-vu-peak {
left: 0px;
right: 0px;
bottom: var(--audio-player-vu-peak-position, 0%);
height: 2px;
transform: translateY(50%);
}
.audio-player-vu-meter[data-audio-player-vu-meter-orientation="horizontal"] .audio-player-vu-peak {
top: 0px;
bottom: 0px;
left: var(--audio-player-vu-peak-position, 0%);
width: 2px;
transform: translateX(-50%);
}
.audio-player-time {
flex: 0 0 auto;
font-size: 12px;
@@ -21,6 +21,12 @@
* - getBufferedTimeRanges(): the time ranges, in seconds, the engine already downloaded, as a list of objects with
* a 'start' and an 'end'. It is optional: an engine that does not implement it makes the player unable to tell
* whether a seek target is buffered, in which case the player never shows a loading state for a seek.
* - getOutputAnalyser() (optional): the AnalyserNode that taps the sound the engine outputs, after its ReplayGain
* normalization but before its output volume and mute state, or null when the engine cannot expose one. The player
* hands it to the VU meter of the bar, which reads it on every animation frame; tapping before the volume is what
* keeps the meter height independent of the volume setting. The node must stay valid for as long as the engine lives:
* the player binds it once, when a track was loaded, and the renderer keeps the same node across the tracks it plays.
* An engine that does not implement this method, or that returns null, makes the bar render an empty meter.
* - discardCurrentAsync() (optional): releases the currently prepared track without destroying the engine, so a stop
* during an automatic continuation does not leave the track it started loaded behind an idle player.
* - cancelUpcomingAsync() (optional): drops a prefetched or appended handoff of the current track when the player queue is
@@ -653,6 +653,16 @@
}
}
/**
* Gets the analyzer that taps the track level of the engine, which the VU meter of the bar reads. The analyzer of
* the shared renderer sits before the output volume, so the meter does not change with the volume setting, and it
* stays valid across the tracks the engine plays, because the renderer and its audio context are reused.
* @returns {AnalyserNode|null} The output analyzer, or null while no audio context has been created yet.
*/
getOutputAnalyser() {
return this.renderer.getOutputAnalyser();
}
/**
* Checks whether the engine was destroyed.
* @returns {boolean} True when the engine was destroyed.
@@ -9,14 +9,16 @@
*
* Signal chain
* ------------
* Every scheduled source is connected to the per-track GainNode, which feeds the master GainNode, which feeds the
* destination, so:
* Every scheduled source is connected to the per-track GainNode, which feeds an AnalyserNode, which feeds the master GainNode, which feeds the destination, so:
* - the master gain is the output volume, and it is zero while the player is muted, which is how mute is honored;
* - the per-track gain is the ReplayGain linear gain of the current track, chosen by the user's ReplayGain mode among
* the values the playback manifest carries.
* - the per-track gain is the ReplayGain linear gain of the current track, chosen by the user's ReplayGain mode among the values the playback manifest carries;
* - the analyzer sits after the per-track gain and before the master gain, so it observes the level of the track itself,
* after its ReplayGain normalization but before the output volume. The VU meter of the bar reads it, which is why
* changing the volume, or muting the player, never changes the height of the meter for the same moment of audio.
* Keeping the master gain and the ReplayGain gain on two separate nodes lets either change without disturbing the other.
* The engine of the player folds the mute state into the volume it passes, so it delivers a mute as setVolumeAsync(0)
* and never calls setMutedAsync; that setter exists for a caller that owns both the volume and the mute state itself.
* The analyzer is created only when the audio context exposes createAnalyser, so a reduced context, or a test double, still builds the gain graph and simply exposes no analyzer.
*
* Scheduling model
* ----------------
@@ -255,6 +257,13 @@
*/
const REPORTER_FALLBACK_INTERVAL_MS = 16;
/**
* The transform size of the analyzer that taps the output for the VU meter. It is the smallest size that resolves the low bands the meter starts at.
* @readonly
* @type {number}
*/
const OUTPUT_ANALYSER_FFT_SIZE = 2048;
/**
* Coerces a value to a finite number, or null when it is absent or not finite.
* @param {*} value - The value to coerce.
@@ -268,8 +277,7 @@
}
/**
* Normalizes a ReplayGain mode into one of the {@link LuminaAudioPlayer.PlayerReplayGainMode} values, defaulting an
* absent or unrecognized value to no normalization.
* Normalizes a ReplayGain mode into one of the {@link LuminaAudioPlayer.PlayerReplayGainMode} values, defaulting an absent or unrecognized value to no normalization.
* @param {string} value - The mode to normalize, as the user settings or the manifest spell it.
* @returns {string} One of the {@link LuminaAudioPlayer.PlayerReplayGainMode} values.
*/
@@ -287,8 +295,7 @@
return LuminaAudioPlayer.PlayerReplayGainMode.ALBUM;
}
// A value the renderer does not know is very likely a mode the server added and this list does not carry yet, so it
// is reported, whatever its type, instead of being dropped silently; the sync of the two lists is documented on the
// enum.
// is reported, whatever its type, instead of being dropped silently; the sync of the two lists is documented on the enum.
console.warn(`Audio player: the ReplayGain mode '${String(value)}' is not known to the renderer, so no normalization is applied.`);
return LuminaAudioPlayer.PlayerReplayGainMode.OFF;
}
@@ -299,8 +306,7 @@
* ReplayGain carries a track, or album, gain to bring the loudness of the audio to the reference level, and a peak,
* the highest sample amplitude of the audio. A gain that would push the peak above the full scale would clip, so the
* gain is limited to the largest value that keeps the normalized peak at or below the full scale, exactly as the
* ReplayGain specification prescribes. A missing gain means no normalization, and a missing or non positive peak
* leaves the gain uncapped.
* ReplayGain specification prescribes. A missing gain means no normalization, and a missing or non positive peak leaves the gain uncapped.
* @param {number|null} gainDb - The ReplayGain value, in decibels.
* @param {number|null} peak - The peak amplitude the gain is applied to.
* @returns {number} The linear gain, one when there is nothing to apply.
@@ -326,8 +332,7 @@
* a unit. The track mode uses the track pair and falls back to the album pair, the album mode does the opposite, and
* the off mode selects nothing. The fallback matters because a track whose album was not analyzed can carry only one
* of the two pairs, and normalizing with the pair that exists is better than not normalizing at all. A peak is never
* taken from one pair while the gain comes from the other, because the anti-clip ceiling would then be computed from a
* peak the applied gain does not belong to.
* taken from one pair while the gain comes from the other, because the anti-clip ceiling would then be computed from a peak the applied gain does not belong to.
* @param {Object|null} manifest - The playback manifest of the track.
* @param {string} mode - One of the {@link LuminaAudioPlayer.PlayerReplayGainMode} values.
* @returns {{ gainDb: number|null, peak: number|null }} The selected pair, null when nothing is selected.
@@ -408,6 +413,10 @@
this.masterGain = null;
this.trackGain = null;
// The analyzer that taps the track level for the VU meter of the bar, after the ReplayGain gain and before the
// master gain that carries the volume and the mute state. It is null when the audio context of the environment
// cannot create one, in which case the meter renders empty instead of failing.
this.analyser = null;
this.manifest = null;
this.duration = 0;
// The media duration of the whole shared timeline. It equals the duration of the current track until a gapless
@@ -441,12 +450,10 @@
// detection, so a schedule that was just reset to a media position does not report the end of the track
// before a single buffer has been scheduled at that position.
this.hasScheduledSinceReset = false;
// True once the decode pipeline has fed the last decoded frame of the track, which is what tells a drained
// schedule apart from the end of the track.
// True once the decode pipeline has fed the last decoded frame of the track, which is what tells a drained schedule apart from the end of the track.
this.streamComplete = false;
// True once the current track has reached its end, that is once the schedule drained while the track was known
// to be complete. It drives whether a newly scheduled buffer resumes playback; a configure, a seek or a newly
// scheduled buffer clears it.
// to be complete. It drives whether a newly scheduled buffer resumes playback; a configure, a seek or a newly scheduled buffer clears it.
this.reachedEnd = false;
// True once the end of the current configured track has been reported through onEnded. It is a latch of its
// own, so the callback fires once per configured track even when audio is scheduled after the end; only a
@@ -566,8 +573,7 @@
}
/**
* Cancels a scheduled gapless ReplayGain change and restores the gain of the current manifest. It is used when the
* handoff is abandoned before the next track starts.
* Cancels a scheduled gapless ReplayGain change and restores the gain of the current manifest. It is used when the handoff is abandoned before the next track starts.
* @returns {LuminaAudioPlayer.TrackRenderer} This renderer, for chaining.
*/
cancelTrackGainChange() {
@@ -600,8 +606,7 @@
}
/**
* Releases every resource of the renderer: the schedule, the gain nodes, the event subscriptions and, when the
* renderer owns it, the audio context.
* Releases every resource of the renderer: the schedule, the gain nodes, the event subscriptions and, when the renderer owns it, the audio context.
* @returns {Promise<void>} A promise that completes when the context is closed.
*/
async destroyAsync() {
@@ -627,6 +632,14 @@
}
this.trackGain = null;
}
if (this.analyser) {
try {
this.analyser.disconnect();
} catch (error) {
console.debug('Audio player: the output analyzer could not be disconnected.', error);
}
this.analyser = null;
}
if (this.masterGain) {
try {
this.masterGain.disconnect();
@@ -648,8 +661,7 @@
} catch (error) {
// The context is still live. Its reference is kept rather than dropped, and the failure is recorded, so a
// caller can still reach the context through getContext() and close it itself; the renderer itself is
// destroyed and never uses it again. Dropping the only reference would lose a context that the browser
// counts until it is closed.
// destroyed and never uses it again. Dropping the only reference would lose a context that the browser counts until it is closed.
this.raise(error, LuminaAudioPlayer.PlayerErrorCode.ENGINE_ERROR);
console.error('Audio player: the audio context could not be closed.', error);
return;
@@ -1176,6 +1188,16 @@
return this.context;
}
/**
* Gets the analyzer that taps the output of the track gain, which is what the VU meter of the bar reads. The
* analyzer sits after the ReplayGain normalization of the track and before the master gain that carries the
* volume and the mute state, so it observes the level of the track itself and never the level of the speaker.
* @returns {AnalyserNode|null} The output analyzer, or null when the context has none, when it has not been created yet, or once the renderer was destroyed.
*/
getOutputAnalyser() {
return this.analyser;
}
//+======================================================================================+
//| Internal helpers |
//+======================================================================================+
@@ -1205,18 +1227,44 @@
}
/**
* Builds the two gain nodes of the output and connects them: the sources feed the per-track gain, which feeds the
* master gain, which feeds the destination.
* Builds the gain nodes of the output and connects them: the sources feed the per-track gain, which feeds the
* output analyzer, which feeds the master gain, which feeds the destination. The analyzer is optional and is
* skipped when the context cannot create one, in which case the per-track gain feeds the master gain directly.
* Putting the analyzer before the master gain keeps the meter independent of the output volume and of the mute
* state, so it measures the level of the track instead of the level of the speaker.
*/
buildGainGraph() {
this.masterGain = this.context.createGain();
this.trackGain = this.context.createGain();
this.trackGain.connect(this.masterGain);
this.analyser = this.createOutputAnalyser();
if (this.analyser) {
this.trackGain.connect(this.analyser);
this.analyser.connect(this.masterGain);
} else
this.trackGain.connect(this.masterGain);
this.masterGain.connect(this.context.destination);
this.applyMasterGain(0);
this.applyTrackGain(0);
}
/**
* Creates the analyzer that taps the output for the VU meter. Only its time domain buffer is used: the meter
* applies its own window and transform to those samples, so the analyzer is configured with the transform size that buffer must have and nothing else.
* @returns {AnalyserNode|null} The analyzer, or null when the context cannot create one.
*/
createOutputAnalyser() {
if (typeof this.context.createAnalyser !== 'function')
return null;
try {
const analyser = this.context.createAnalyser();
analyser.fftSize = OUTPUT_ANALYSER_FFT_SIZE;
return analyser;
} catch (error) {
console.debug('Audio player: the output analyzer of the VU meter could not be created.', error);
return null;
}
}
/**
* Applies the output gain, which is the volume, or zero while muted, to the master gain node.
* @param {number} rampSeconds - The duration of the ramp to the new value, in seconds. Zero applies it at once.
File diff suppressed because it is too large. Load diff
@@ -57,6 +57,8 @@
* - getState(), getDescriptor(), getQueue(), getCurrentTime(), getDuration(), getVolume(),
* isMuted(), isBuffering(), getBufferedTimeRanges(), getPreferences(), getCapabilities(), getLastError(),
* getSubTemplates().
* - reloadPreferencesAsync(): re-reads the stored settings and playback state of the user, so a change saved on the
* settings page applies to the running player, including the VU meter settings.
* - getNextDescriptor(): the identity and descriptor of the next queue entry, or null.
* - advanceQueueTo(entryId): moves the queue cursor to the entry with that identity without starting playback, so a
* linear advance, a wrap, a reordered queue and a gapless handoff share one commit. The advance
@@ -646,7 +648,16 @@
isGaplessPlaybackEnabled: false,
replayGainMode: 'Off',
streamingQuality: 'Auto',
shouldIgnoreThePrefixForAlphaPicker: false
shouldIgnoreThePrefixForAlphaPicker: false,
vuMeterOrientation: 'Vertical',
vuMeterSegmentCount: 12,
vuMeterSegmentGap: 1,
vuMeterMediumThreshold: 0.6,
vuMeterHighThreshold: 0.8,
vuMeterShowPeak: true,
vuMeterPeakHoldDurationInMilliseconds: 650,
vuMeterReleasePerSecond: 3,
vuMeterPeakReleasePerSecond: 0.65
};
this.capabilityReport = null;
this.capabilitiesReady = null;
@@ -704,6 +715,12 @@
this.container = null;
this.main = null;
this.dom = {};
// The VU meter of the bar, created with the bar elements, and the subscription that follows the stored settings.
// Both are null when the VU meter module was not loaded, so a bare player composition, or a test, still works.
this.vuMeter = null;
this.vuMeterUnsubscribe = null;
// The analyzer the meter was bound to, so a load replaces it only when the engine exposes a different one.
this.vuMeterAnalyser = null;
// The raw theme sub templates of the dynamic content, read once with the bar elements and null when the theme does not provide them.
this.subTemplates = { queueItem: null, playlistItem: null };
// The playlists of the user, used by the control that adds the current queue to a playlist, and the in flight load of
@@ -754,6 +771,7 @@
this.isAvailable = true;
this.collectDomReferences();
this.ensureVuMeter();
this.bindPlaybackControls();
this.bindKeyboardShortcuts();
this.bindUnloadFlush();
@@ -784,6 +802,7 @@
this.dom.albumName = query('[data-audio-player-album-name]');
this.dom.coverThumbnail = query('[data-audio-player-cover-thumbnail]');
this.dom.coverImage = query('[data-audio-player-cover-image]');
this.dom.vuMeter = query('[data-audio-player-vu-meter]');
this.dom.currentTime = query('[data-audio-player-current-time]');
this.dom.totalTime = query('[data-audio-player-total-time]');
this.dom.progress = query('[data-audio-player-progress]');
@@ -816,6 +835,92 @@
this.ensurePlaylistControls();
}
/**
* Creates the VU meter of the bar, building its root when the active theme does not render the hook.
*
* The meter is part of the bar rather than of the page, so it is created once with the bar elements and survives
* every in place navigation. A theme that renders the 'data-audio-player-vu-meter' hook decides where the meter
* sits; a theme that does not gets the built-in meter inserted directly before the current time label, which is the place the bar reserves for it.
* The module is optional: a composition that omits it keeps a playable bar with no meter.
*/
ensureVuMeter() {
if (typeof LuminaAudioPlayer.createVuMeter !== 'function')
return;
if (!this.dom.vuMeter) {
const bar = this.container.querySelector('.audio-player-bar');
if (!bar)
return;
const meterElement = document.createElement('div');
meterElement.className = 'audio-player-vu-meter';
meterElement.dataset.audioPlayerVuMeter = '';
meterElement.setAttribute('aria-hidden', 'true');
// The current time label is the anchor the bar reserves for the meter: the meter sits between the album art
// and the label that shows the current playback time. Only a label that is a direct child of the bar can be
// used as an insertion reference, so a theme with a nested label appends the meter to the bar instead.
const reference = this.dom.currentTime && this.dom.currentTime.parentNode === bar ? this.dom.currentTime : null;
bar.insertBefore(meterElement, reference);
this.dom.vuMeter = meterElement;
}
this.vuMeter = LuminaAudioPlayer.createVuMeter({
container: this.dom.vuMeter,
settings: this.preferences
});
if (this.events && typeof this.events.on === 'function')
this.vuMeterUnsubscribe = this.events.on(LuminaAudioPlayer.PlayerEvent.PREFERENCES_CHANGED, () => this.applyVuMeterSettings());
}
/**
* Applies the current preferences to the VU meter, so a settings change that arrives after the bar was built, or
* a change saved on the settings page, takes effect without recreating the player.
*/
applyVuMeterSettings() {
if (!this.vuMeter)
return;
this.vuMeter.configure(this.preferences);
}
/**
* Binds the meter to the output analyzer of the engine once a track was loaded. The renderer creates its audio
* context, and with it the analyzer, when it configures a track, so the analyzer only exists from that point on.
* An engine that exposes no analyzer, or a renderer whose context cannot create one, leaves the meter empty.
* @param {Object} engine - The engine the track was loaded into.
*/
attachVuMeter(engine) {
if (!this.vuMeter || !engine || typeof engine.getOutputAnalyser !== 'function')
return;
let analyser = null;
try {
analyser = engine.getOutputAnalyser();
} catch (error) {
console.debug('Audio player: the engine output analyzer could not be read.', error);
return;
}
if (!analyser || analyser === this.vuMeterAnalyser)
return;
this.vuMeterAnalyser = analyser;
this.vuMeter.setAnalyser(analyser);
// The state may already be PLAYING when a load replaced the engine under a running player, so a fresh analyzer
// starts reading immediately instead of waiting for the next state change.
if (this.state === LuminaAudioPlayer.PlayerState.PLAYING)
this.vuMeter.start();
}
/**
* Starts or stops the VU meter with the player state. A playing, visible player reads the analyzer, and every
* other case lets the meter fall to zero, so a pause, a stop, an end, a failure, or a hidden bar never leaves a
* frozen meter on screen and a hidden meter costs no animation frames.
* @param {string} state - One of the {@link LuminaAudioPlayer.PlayerState} values.
*/
updateVuMeterState(state) {
if (!this.vuMeter)
return;
const isVisible = !this.container || !this.container.classList.contains('not-shown');
if (state === LuminaAudioPlayer.PlayerState.PLAYING && isVisible)
this.vuMeter.start();
else
this.vuMeter.stop();
}
/**
* Binds the transport controls the player owns: the play and pause toggle, the scrub of the progress bar and
* of the volume control, and the mute toggle. The expand and close affordances are bound by the global site
@@ -1394,6 +1499,9 @@
await engine.loadAsync(descriptor, options);
if (!isRequestCurrent())
return false;
// The load configured the renderer of the engine, which creates its audio context and the output analyzer of
// the VU meter. Binding it here, once per load, also covers an engine swap under a running player.
this.attachVuMeter(engine);
if (this.state !== LuminaAudioPlayer.PlayerState.LOADING) {
// A stop during the load already paused the engine; a newer request owns the player state and must not be touched by this stale continuation.
if (this.state === LuminaAudioPlayer.PlayerState.IDLE)
@@ -1950,6 +2058,8 @@
this.main.classList.remove('audio-player-not-shown');
if (wasHidden)
this.events.emit(LuminaAudioPlayer.PlayerEvent.VISIBILITY_CHANGED, { isVisible: true });
// A bar that becomes visible while a track plays starts the VU meter, which was stopped while the bar was out of sight.
this.updateVuMeterState(this.state);
}
/**
@@ -1968,6 +2078,8 @@
if (this.main)
this.main.classList.add('audio-player-not-shown');
this.events.emit(LuminaAudioPlayer.PlayerEvent.VISIBILITY_CHANGED, { isVisible: false });
// A bar that is out of sight stops reading the analyzer, so a hidden meter costs no animation frames.
this.updateVuMeterState(this.state);
}
/**
@@ -2669,6 +2781,20 @@
return Object.freeze({ ...this.preferences });
}
/**
* Re-reads the stored settings and playback state of the user, without recreating the player.
*
* It is meant for a consumer that knows the stored settings changed while the player is running, such as the
* settings page after it saved them, so the change applies immediately instead of on the next full page load. The
* read is the same one the player performs at startup, so it never overwrites a volume or a mute state the user changed in the meantime.
* @returns {Promise<void>} A promise that completes when the preferences were read.
*/
async reloadPreferencesAsync() {
if (!this.isAvailable)
return;
await this.loadPreferencesAsync();
}
/**
* Gets the last capability report, or null when detection has not completed yet.
* @returns {Object|null} The capability report.
@@ -2751,6 +2877,15 @@
}
this.engine = null;
}
if (this.vuMeterUnsubscribe) {
this.vuMeterUnsubscribe();
this.vuMeterUnsubscribe = null;
}
if (this.vuMeter) {
this.vuMeter.destroy();
this.vuMeter = null;
}
this.vuMeterAnalyser = null;
this.events.clear();
this.setState(LuminaAudioPlayer.PlayerState.IDLE);
// The singleton is no longer usable, so it is cleared, and a later createDefaultPlayer builds a fresh one.
@@ -2775,6 +2910,7 @@
console.warn(`Audio player: the transition '${previousState}' -> '${nextState}' is not part of the state machine.`);
this.state = nextState;
this.events.emit(LuminaAudioPlayer.PlayerEvent.STATE_CHANGED, { previousState, state: nextState });
this.updateVuMeterState(nextState);
}
/**
@@ -3277,7 +3413,16 @@
isGaplessPlaybackEnabled: settings.isGaplessPlaybackEnabled === true,
replayGainMode: settings.replayGainMode || 'Off',
streamingQuality: settings.streamingQuality || 'Auto',
shouldIgnoreThePrefixForAlphaPicker: settings.shouldIgnoreThePrefixForAlphaPicker === true
shouldIgnoreThePrefixForAlphaPicker: settings.shouldIgnoreThePrefixForAlphaPicker === true,
vuMeterOrientation: settings.vuMeterOrientation || 'Vertical',
vuMeterSegmentCount: LuminaAudioPlayer.toFiniteNumber(settings.vuMeterSegmentCount) ?? 12,
vuMeterSegmentGap: LuminaAudioPlayer.toFiniteNumber(settings.vuMeterSegmentGap) ?? 1,
vuMeterMediumThreshold: LuminaAudioPlayer.toFiniteNumber(settings.vuMeterMediumThreshold) ?? 0.6,
vuMeterHighThreshold: LuminaAudioPlayer.toFiniteNumber(settings.vuMeterHighThreshold) ?? 0.8,
vuMeterShowPeak: settings.vuMeterShowPeak !== false,
vuMeterPeakHoldDurationInMilliseconds: LuminaAudioPlayer.toFiniteNumber(settings.vuMeterPeakHoldDurationInMilliseconds) ?? 650,
vuMeterReleasePerSecond: LuminaAudioPlayer.toFiniteNumber(settings.vuMeterReleasePerSecond) ?? 3,
vuMeterPeakReleasePerSecond: LuminaAudioPlayer.toFiniteNumber(settings.vuMeterPeakReleasePerSecond) ?? 0.65
};
// The payload is a frozen copy, so a subscriber that mutates it cannot change the preferences the player uses.
this.events.emit(LuminaAudioPlayer.PlayerEvent.PREFERENCES_CHANGED, Object.freeze({ ...this.preferences }));