WaveData.cs 481 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. namespace SongVocalIsolateAutomation.AudioProcessing
  3. {
  4. internal class WaveData
  5. {
  6. public IReadOnlyList<float> AllSamples { get; }
  7. public int Channels { get; }
  8. public int SampleRate { get; }
  9. public WaveData(IReadOnlyList<float> allSamples, int channels, int sampleRate)
  10. {
  11. AllSamples = allSamples;
  12. Channels = channels;
  13. SampleRate = sampleRate;
  14. }
  15. }
  16. }