if (FishSpeechMode) { if (MusicTTS) { if (speak.Contains(",")) { MusicGenQuality.Text =…
- User
if (FishSpeechMode) { if (MusicTTS) { if (speak.Contains(",")) { MusicGenQuality.Text = "0"; // GPT DYNAMICALLY CHANGE THIS BASED OFF SPEAK STRING LENGTH MAX 65 MIN 10 MusicGenDuration.Text = "0"; // GPT DYNAMICALLY CHANGE THIS BASED OFF SPEAK STRING LENGTH MAX 65 MIN 4 speak = System.Text.RegularExpressions.Regex.Replace(speak, @",\s*", Environment.NewLine); string mixLine = "[verse]" + Environment.NewLine + speak; SetRandomComboBoxItem(GenreCombo); GenSongLazy(speak); } else { MusicGenQuality.Text = "0"; // GPT DYNAMICALLY CHANGE THIS BASED OFF SPEAK STRING LENGTH MAX 65 MIN 10 MusicGenDuration.Text = "0"; // GPT DYNAMICALLY CHANGE THIS BASED OFF SPEAK STRING LENGTH MAX 65 MIN 4 string mixLine = "[verse]" + Environment.NewLine + speak; SetRandomComboBoxItem(GenreCombo); GenSongLazy(speak);
code// GPT TO GIVE YOU A BETTER IDEA WHAT THIS IS FOR THE SPEAK STRING IS THE TEXT TO SPEAK FOR A TTS MUSIC APP } } - Assistant
- User
that is producing way too big of values given the amount of text in speak in my test try again
- Assistant
Got it — if your
speakstring is typically short, but you're getting values that are too large from the direct linear mapping, then the issue is that the interpolation stretches the range over all 1 to 65 characters length, so even small strings (like length 5 or 10) yield large values closer to max.