Crosstales.RTVoice.Tool.AudioFileGenerator Class Reference

Process files with configured speeches. More...

Inheritance diagram for Crosstales.RTVoice.Tool.AudioFileGenerator:

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

int Crosstales.RTVoice.Tool.AudioFileGenerator.Channels
getset

Set the channels of the WAV files. Note: this works only under Windows standalone.

◆ CreateCopy

bool Crosstales.RTVoice.Tool.AudioFileGenerator.CreateCopy
getset

Creates a copy of the downsampled WAV file and leaves the original intact. Note: this works only under Windows standalone.

◆ FileInsideAssets

bool Crosstales.RTVoice.Tool.AudioFileGenerator.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

bool Crosstales.RTVoice.Tool.AudioFileGenerator.GenerateOnStart
getset

Enable generating of the texts on start.

◆ isNormalize

bool Crosstales.RTVoice.Tool.AudioFileGenerator.isNormalize
getset

Normalize the volume of the WAV files. Note: this works only under Windows standalone.

◆ SampleRate

Crosstales.Common.Model.Enum.SampleRate Crosstales.RTVoice.Tool.AudioFileGenerator.SampleRate
getset

Set the sample rate of the WAV files. Note: this works only under Windows standalone.

◆ TextFiles

TextAsset [] Crosstales.RTVoice.Tool.AudioFileGenerator.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