Support scaling the duration of a pause in TTS. (#1820)

This commit is contained in:
Fangjun Kuang
2025-02-08 12:47:26 +08:00
committed by GitHub
parent d38cb81014
commit 69f489f0cd
24 changed files with 171 additions and 19 deletions

View File

@@ -13,6 +13,7 @@ namespace SherpaOnnx
RuleFsts = "";
MaxNumSentences = 1;
RuleFars = "";
SilenceScale = 0.2F;
}
public OfflineTtsModelConfig Model;
@@ -23,6 +24,7 @@ namespace SherpaOnnx
[MarshalAs(UnmanagedType.LPStr)]
public string RuleFars;
}
}
public float SilenceScale;
}
}