Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
VoiceCode -> VoiceId
Browse files Browse the repository at this point in the history
  • Loading branch information
weespin committed Nov 8, 2020
1 parent c141639 commit 1220976
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions AcapellaDownloader/CLI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static void PassCLI(string[] commandLineArgs)
}
if (text.Length == 0)
{
Console.WriteLine("No text specified. Args -t (text) -o (output file) -v (voice code) --voice-list (get all voice codes)");
Console.WriteLine("No text specified. Args -t (text) -o (output file) -v (voice code) --voice-list (get all voice id's)");
return;
}

Expand All @@ -114,7 +114,7 @@ public static void PassCLI(string[] commandLineArgs)
{
if (Voices.VoiceList.FirstOrDefault(n => n.VoiceId == voice) == null)
{
Console.WriteLine("Voice code is not valid. Try to launch with --voice-list to get all voices");
Console.WriteLine("Voice id is not valid. Try to launch with --voice-list to get all voices");
}
}
string dlLink = Utils.GetSoundLink(text, voice);
Expand Down
4 changes: 2 additions & 2 deletions AcapellaDownloader/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ private void tbPitch_Scroll(object sender, EventArgs e)
{
if (tbPitch.Value > 11)
{
Pitch =((tbPitch.Value - 1) / 10f);
Pitch =( (tbPitch.Value - 1) / 10f);
}
else if (tbPitch.Value < 11)
{
Pitch = (((tbPitch.Value - 1) / 10f * 0.5f) + 0.5f);
Pitch = ( ((tbPitch.Value - 1) / 10f * 0.5f) + 0.5f);
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ GUI App for downloading TTS from Acapella Group
![Screenshot](https://yiff.nullcoreproject.net/i/45006d99.png)
## How to use CLI version
Launch WillFromAfarDownloader.exe use -t (text) -v (voice code) -o (output file) arguments
Use --voice-list argument to get all voice codes
Use --voice-list argument to get all voice id's
#### Example:
AcapellaDownloader.exe -t Test string 1 2 3 -v enu_willhappy_22k_ns.bvcu -o test.mp3

0 comments on commit 1220976

Please sign in to comment.