//clika-runtime/io.clika.modelverse/SpeakKnob
SpeakKnob
[common]
data class SpeakKnob(val name: String, val min: Float, val max: Float?, val keepsDefault: Float?)
One synthesis knob a text-to-speech model reads (Capabilities.speakKnobs), named as the constants here spell it, with the range the binding accepts.
Constructors
| SpeakKnob | [common] constructor(name: String, min: Float, max: Float?, keepsDefault: Float?) |
Types
| Name | Summary |
|---|---|
| Companion | [common] object Companion |
Properties
| Name | Summary |
|---|---|
| keepsDefault | [common] val keepsDefault: Float? The value that keeps the family's own default for this knob; null when a null SpeakOptions field does it instead. |
| max | [common] val max: Float? The largest value accepted; null when the range is open above. |
| min | [common] val min: Float The smallest value accepted; a request under it is refused. |
| name | [common] val name: String The knob: one of the constants below, each the name of a SpeakOptions field. |