Process files with configured speeches. More...
Public Member Functions | |
void | Generate () |
Generate the audio files from the text files. More... | |
Public Attributes | |
AudioFileGeneratorStartEvent | OnStarted |
AudioFileGeneratorCompleteEvent | OnCompleted |
Properties | |
TextAsset[] | TextFiles [get, set] |
Text files to generate. More... | |
bool | FileInsideAssets [get, set] |
Are the specified file paths inside the Assets-folder (current project)? If this option is enabled, it prefixes the path with 'Application.dataPath'. More... | |
Crosstales.Common.Model.Enum.SampleRate | SampleRate [get, set] |
Set the sample rate of the WAV files. Note: this works only under Windows standalone. More... | |
int | Channels [get, set] |
Set the channels of the WAV files. Note: this works only under Windows standalone. More... | |
bool | CreateCopy [get, set] |
Creates a copy of the downsampled WAV file and leaves the original intact. Note: this works only under Windows standalone. More... | |
bool | isNormalize [get, set] |
Normalize the volume of the WAV files. Note: this works only under Windows standalone. More... | |
bool | GenerateOnStart [get, set] |
Enable generating of the texts on start. More... | |
Events | |
AudioFileGeneratorStart | OnAudioFileGeneratorStart |
An event triggered whenever a AudioFileGenerator 'Generate' is started. More... | |
AudioFileGeneratorComplete | OnAudioFileGeneratorComplete |
An event triggered whenever a AudioFileGenerator 'Generate' is completed. More... | |
Detailed Description
Process files with configured speeches.
Member Function Documentation
◆ Generate()
void Crosstales.RTVoice.Tool.AudioFileGenerator.Generate | ( | ) |
Generate the audio files from the text files.
Property Documentation
◆ Channels
|
getset |
Set the channels of the WAV files. Note: this works only under Windows standalone.
◆ CreateCopy
|
getset |
Creates a copy of the downsampled WAV file and leaves the original intact. Note: this works only under Windows standalone.
◆ FileInsideAssets
|
getset |
Are the specified file paths inside the Assets-folder (current project)? If this option is enabled, it prefixes the path with 'Application.dataPath'.
◆ GenerateOnStart
|
getset |
Enable generating of the texts on start.
◆ isNormalize
|
getset |
Normalize the volume of the WAV files. Note: this works only under Windows standalone.
◆ SampleRate
|
getset |
Set the sample rate of the WAV files. Note: this works only under Windows standalone.
◆ TextFiles
|
getset |
Text files to generate.
Event Documentation
◆ OnAudioFileGeneratorComplete
AudioFileGeneratorComplete Crosstales.RTVoice.Tool.AudioFileGenerator.OnAudioFileGeneratorComplete |
An event triggered whenever a AudioFileGenerator 'Generate' is completed.
◆ OnAudioFileGeneratorStart
AudioFileGeneratorStart Crosstales.RTVoice.Tool.AudioFileGenerator.OnAudioFileGeneratorStart |
An event triggered whenever a AudioFileGenerator 'Generate' is started.
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/RTVoice/RTVoicePro/Assets/Plugins/crosstales/RTVoice/Extras/AudioFileGenerator/Scripts/AudioFileGenerator.cs