Class VoiceSample
Inherited Members
Namespace: Glitch9.AIDevKit.ElevenLabs
Assembly: Glitch9.AIDevKit.Provider.ElevenLabs.dll
Syntax
public class VoiceSample
Properties
| Edit this page View SourceDurationSecs
Required. The duration of the sample in seconds.
Declaration
[JsonProperty("duration_secs")]
public double DurationSecs { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
FileName
Required. The name of the sample file.
Declaration
[JsonProperty("file_name")]
public string FileName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasIsolatedAudio
Optional. Whether the sample has isolated audio.
Declaration
[JsonProperty("has_isolated_audio")]
public bool? HasIsolatedAudio { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Remarks
Default: false
HasIsolatedAudioPreview
Optional. Whether the sample has isolated audio preview.
Declaration
[JsonProperty("has_isolated_audio_preview")]
public bool? HasIsolatedAudioPreview { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Remarks
Default: false
Hash
Required. The hash of the sample file.
Declaration
[JsonProperty("hash")]
public string Hash { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MimeType
Required. The MIME type of the sample file.
Declaration
[JsonProperty("mime_type")]
public string MimeType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RemoveBackgroundNoise
Optional. Whether to remove background noise.
Declaration
[JsonProperty("remove_background_noise")]
public bool? RemoveBackgroundNoise { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Remarks
Default: false
SampleId
Required. The ID of the sample.
Declaration
[JsonProperty("sample_id")]
public string SampleId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SizeBytes
Required. The size of the sample file in bytes.
Declaration
[JsonProperty("size_bytes")]
public long SizeBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
SpeakerSeparation
Optional. The speaker separation information.
Declaration
[JsonProperty("speaker_separation")]
public SpeakerSeparation SpeakerSeparation { get; set; }
Property Value
| Type | Description |
|---|---|
| SpeakerSeparation |