BASS.NET API for the Un4seen BASS Audio LibraryDSP_PeakLevelMeterUpdateTime Property BASS.NET API for the Un4seen BASS Audio Library
Gets or Sets the update time in seconds (default is 0.1 = 100ms, max. is 60 seconds) which is the timespan being used to measure RMS and PeakLevels and is also used for Notification trigges.

Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public float UpdateTime { get; set; }

Property Value

Type: Single
Remarks

This timespan controls the following:

1. How often the Notification event should be raised.

2. How many samples should be used to calculate the RMS and AVG values.

3. How many samples should be used to calculate the PeakHoldLevelL and PeakHoldLevelR values.

If you set the value to 0.0 (zero) immediate update is triggered, meaning with each DSP processing step the above is being triggered/calculated.

Depending on what you want to do, good values are between 0.02 (20ms, realtime), 0.08 (80ms, user-interface) and 0.5 (500ms, RMS).

See Also

Reference