SongDataChunk.cs 625 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Diagnostics;
  3. namespace SongVocalSectionAnalyser.AudioAnalysis
  4. {
  5. [DebuggerDisplay("{OverThreshold}, {Value}")]
  6. public class SongDataChunk
  7. {
  8. public float Value { get; }
  9. public bool OverThreshold { get; set; }
  10. public TimeSpan Begin { get; }
  11. public TimeSpan End { get; }
  12. public bool Debounced { get; set; }
  13. public SongDataChunk(float value, bool overThreshold, TimeSpan begin,TimeSpan end)
  14. {
  15. Value = value;
  16. OverThreshold = overThreshold;
  17. Begin = begin;
  18. End = end;
  19. }
  20. }
  21. }