Source converter is a proxy data source that will allow easily to reshape the data from the analyzer.
IVisualizationSource
Constructor
This is a combination of flags that will configure the type of data that will be processed available in the output
source.AnalyzerType = AnalyzerType.RMS | AnalyzerType.Peak;
If set to false will recalculate output every time GetData is called. If true will only do recalculations if input data of configuration has changed.
Specifies the channel count of data in the output. If not set the count is unchanged.
Setting channel count will guarantee a set number of channels for output data irrespective of input channel count
If ChannelMapping is not set then channels are mapped as following
- if ChannelCount is 1 then all input channels are added up
- if ChannelCount is 2 then channels are mapped as following
ChannelCount | InputChannels | Output |
---|---|---|
2 | 1 | out0 = in0, out1 = in0 |
2 | 3 | out0 = in0, out1 = in1 |
2 | 4 | out0 = in0+in2, out1 = in1+in3 |
2 | 5 | out0 = in0+in3, out1 = in1+in4 |
2 | 6 | out0 = in0+in4, out1 = in1+in5 |
In other cases respective inputs copied to output, missing outputs are clipped and missing inputs are of value 0
Specifies how the input channel data is combined into the output data. To set this value you need to set the ChannelCount value first.
Specifies the frequency count of spectrum data in the output. If not set the count is unchanged
Specifies the frequency scale of output spectrum data.
Indicates the frame rate of analyzer, this is will be equal to the Fps property of the source. If source is not set exception will be raised
This property is passed on to the source. If source is not set exception will be raised
If set specifies what frequency the output spectrum data lower bounds.
If set specifies what frequency the output spectrum data upper bounds.
Only conversion from Linear to Logarithmic is supported
Returns the playbackstate of the source. If source is not set returns SourcePlaybackState.Stopped
Specifies the rise time of RMS data in the output
Specifies the rise time of RMS data in the output
Specifies the rise time of RMS data in the output
Specifies the rise time of RMS data in the output
Returns the PresentationTime of the Source
Specifies the rise time of RMS data in the output
Specifies the rise time of RMS data in the output