-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to modify the interval time between two sentence? #352
Comments
To modify the interval time between two sentences in the OpenVoice project, you can adjust the @staticmethod
def audio_numpy_concat(segment_data_list, sr, speed=1.):
audio_segments = []
for segment_data in segment_data_list:
audio_segments += segment_data.reshape(-1).tolist()
audio_segments += [0] * int((sr * 0.05)/speed)
audio_segments = np.array(audio_segments).astype(np.float32)
return audio_segments By adjusting the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
when I modify the speed parameter ,from “audio_numpy_concat(segment_data_list, sr, speed=1.)” to “audio_numpy_concat(segment_data_list, sr, speed=0.5)” ,but the interval do not become longer.how can I do ? |
When you modify the
By addressing these points, you should be able to identify why the interval is not changing as expected. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
how to modify the interval time between two sentence?
The text was updated successfully, but these errors were encountered: