protected override void CreateViewBox()
 {
     this.RendererData = Create(
         this,
         this.Bitmap.PixelWidth,
         this.Bitmap.PixelHeight,
         SpectrumBehaviourConfiguration.GetBands(this.Bands.Value),
         VisualizationBehaviourConfiguration.GetFFTSize(this.FFTSize.Value),
         this.ShowPeaks.Value,
         this.ShowRms.Value,
         this.ShowCrestFactor.Value
         );
     this.Viewbox = new Rect(0, 0, this.GetPixelWidth(), this.Bitmap.PixelHeight);
 }
 protected virtual Task RefreshBitmap()
 {
     return(Windows.Invoke(() =>
     {
         this.RendererData = Create(
             this,
             this.Bitmap.PixelWidth,
             this.Bitmap.PixelHeight,
             SpectrumBehaviourConfiguration.GetBands(this.Bands.Value),
             VisualizationBehaviourConfiguration.GetFFTSize(this.FFTSize.Value),
             this.ShowPeaks.Value,
             this.ShowRms.Value,
             this.ShowCrestFactor.Value
             );
     }));
 }