Scalar data holds scalar visualization data like RMS or Peak. This class implements readonly collection and enumeration interfaces, thus data for different channels can be accessed and enumerated with traditional vector access methods.
var channelCount = data.Count();
var leftChannelData = data[0];
var rightChannelData = data[1];
for (var channelData in data)
{
// Do something useful
}
Creates empty scalar data with values set to 0
Creates scalar data with set values
static ScalarData ApplyRiseAndFallToEmpty(ScalarData previous, Windows.Foundation.TimeSpan riseTime, Windows.Foundation.TimeSpan fallTime, Windows.Foundation.TimeSpan timeFromPrevious)
ScalarData ApplyRiseAndFall(ScalarData previous, Windows.Foundation.TimeSpan riseTime, Windows.Foundation.TimeSpan fallTime, Windows.Foundation.TimeSpan timeFromPrevious);
Applies rise and fall times to the values. Please see SpectrumData for more detailed explanation.
Converts data to logarithmic scale and clamps it to preset minimum and maximum values
Remaps data between channels
Indicates if data is represented on linear or logarithmic scale