public string ToString(SoundDataExtended.Mask <bool>?printMask = null)
            {
                var fg = new FileGeneration();

                ToString(fg, printMask);
                return(fg.ToString());
            }
            public new Mask <R> Translate <R>(Func <TItem, R> eval)
            {
                var ret = new SoundDataExtended.Mask <R>();

                this.Translate_InternalFill(ret, eval);
                return(ret);
            }
 public void ToString(FileGeneration fg, SoundDataExtended.Mask <bool>?printMask = null)
 {
     fg.AppendLine($"{nameof(SoundDataExtended.Mask<TItem>)} =>");
     fg.AppendLine("[");
     using (new DepthWrapper(fg))
     {
         if (printMask?.StaticAttenuation ?? true)
         {
             fg.AppendItem(StaticAttenuation, "StaticAttenuation");
         }
         if (printMask?.StopTime ?? true)
         {
             fg.AppendItem(StopTime, "StopTime");
         }
         if (printMask?.StartTime ?? true)
         {
             fg.AppendItem(StartTime, "StartTime");
         }
     }
     fg.AppendLine("]");
 }