コード例 #1
0
ファイル: VoiceSourceTests.cs プロジェクト: kamushekp/Vox2Vec
 public void SetUp()
 {
     this.voiceSource = new VoicePathSource();
     this.homeDir     = Path.Combine(Directory.GetCurrentDirectory(), "Resources");
 }
コード例 #2
0
 public VoicePipeline(IEmbeddingExtractor embeddingExtractor, IVoicePreprocessor voicePreprocessor, IVoicePathSource voicePathSource)
 {
     this.embeddingExtractor = embeddingExtractor;
     this.voicePreprocessor  = voicePreprocessor;
     this.voicePathSource    = voicePathSource;
 }