AudioDatabaseEditor ​
Inherits: VBoxContainer
The editor of the Audio tab (Audio > Sound Library): the sound effects, music and ambience of the audio library as a tree, with a search bar, an import button, a player to listen to a sound, and the checks of the library.
Variables ​
DialogManager | dialog_manager | null |
Dictionary | sfx_data | {} |
Dictionary | expanded_categories | {} |
String | selected_sfx_category | "" |
String | selected_sfx_type | "" |
String | selected_sfx_name | "" |
String | selected_sfx_path | "" |
AudioStreamPlayer | audio_player | |
AudioStream | current_audio_stream | |
bool | is_seeking | false |
Timer | update_timer | |
FileDialog | file_dialog | |
Dictionary | current_import_context | {} # Store import context to avoid lambda scope issues |
Methods ​
Array[String] | voice_line_warnings( character: String, line: String, code: String ) static |
void | set_subtitle( character: String, line: String, code: String, text: String ) static |
Error | import_language_recording( source_path: String, character: String, line: String, code: String ) static |
Variable descriptions ​
DialogManager dialog_manager = null ​
The dialogs of the editor (set by the main editor): the subtitle opens the text editor
Dictionary sfx_data = ​
No description yet.
Dictionary expanded_categories = ​
No description yet.
String selected_sfx_category = "" ​
No description yet.
String selected_sfx_type = "" ​
No description yet.
String selected_sfx_name = "" ​
No description yet.
String selected_sfx_path = "" ​
No description yet.
AudioStreamPlayer audio_player ​
No description yet.
AudioStream current_audio_stream ​
No description yet.
bool is_seeking = false ​
No description yet.
Timer update_timer ​
No description yet.
FileDialog file_dialog ​
No description yet.
Dictionary current_import_context = # Store import context to avoid lambda scope issues ​
No description yet.
Method descriptions ​
Array[String] voice_line_warnings( character: String, line: String, code: String ) ​
The warnings of a voice line in a language, as lines of text (empty when all is well): no recording, a recording much longer or shorter than the default, folders that are not languages of the game, files of a language that have no default
void set_subtitle( character: String, line: String, code: String, text: String ) ​
Sets the subtitle of a voice line: in the source language it is stored with the voice lines, in another language it is the translation in the tables.
Error import_language_recording( source_path: String, character: String, line: String, code: String ) ​
Copies a recording into the folder of a language of a voice line, under the name of the line ("voicelines/<character>/<language>/<line>.<extension>"). Returns OK or the error.