FrontendConfEntity.cs 1.1 KB

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace AliFsmnVadSharp.Model
  7. {
  8. public class FrontendConfEntity
  9. {
  10. private int _fs = 16000;
  11. private string _window = "hamming";
  12. private int _n_mels = 80;
  13. private int _frame_length = 25;
  14. private int _frame_shift = 10;
  15. private float _dither = 0.0F;
  16. private int _lfr_m = 5;
  17. private int _lfr_n = 1;
  18. public int fs { get => _fs; set => _fs = value; }
  19. public string window { get => _window; set => _window = value; }
  20. public int n_mels { get => _n_mels; set => _n_mels = value; }
  21. public int frame_length { get => _frame_length; set => _frame_length = value; }
  22. public int frame_shift { get => _frame_shift; set => _frame_shift = value; }
  23. public float dither { get => _dither; set => _dither = value; }
  24. public int lfr_m { get => _lfr_m; set => _lfr_m = value; }
  25. public int lfr_n { get => _lfr_n; set => _lfr_n = value; }
  26. }
  27. }