Skip to content

Commit eb12377

Browse files
authored
Merge pull request #23 from TETYYS/fixSpeedError
Fix speed error message and x255 note
2 parents f339cae + e44c076 commit eb12377

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SAPI4_web/source/app.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class SAMService
138138
}
139139

140140
if (speed > sam.maxSpeed || speed < sam.minSpeed) {
141-
res.writeBody("Available speed: [" ~ to!string(sam.minPitch) ~ "; " ~ to!string(sam.maxPitch) ~ "], got " ~ to!string(speed), 400);
141+
res.writeBody("Available speed: [" ~ to!string(sam.minSpeed) ~ "; " ~ to!string(sam.maxSpeed) ~ "], got " ~ to!string(speed), 400);
142142
return;
143143
}
144144

SAPI4_web/views/index.dt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ block description
9797

9898
li Select your pitch and speed. All voices have lower and upper pitch and speed limits.
9999

100-
li Enter your text and press "Say it". Wait for generated audio appear in audio player. It should be done nearly instantly, as the interface tries to generate audio at x255 real-time.
100+
li Enter your text and press "Say it". Wait for generated audio appear in audio player. It should be done nearly instantly, as the interface tries to generate audio at x16777215 real-time.
101101

102102
li To save generated audio, right click on audio player and press "Save audio as..."
103103
h3 Privacy Policy

0 commit comments

Comments
 (0)