AudioProfileBox ​
Inherits: VBoxContainer
Everything an audio profile holds, for the Unique Object panel: a menu of presets (Cave, Indoors, Underwater... and yours), the fade time and room size, and for each of the five channels (music, effects, voices, ambience, interface) how muffled it is, how loud, and how much reverb. A change is made to every selected volume's profile.
Variables ​
String | folder | DEFAULT_FOLDER |
Methods ​
void | setup( profiles: Array[AudioProfile] ) |
Array[AudioProfile] | presets() static |
String | file_name_of( preset_name: String ) static |
Signals ​
profile_chosen( profile: AudioProfile ) ​
A preset was chosen: the panel gives a copy of this profile to every selected volume
edited() ​
A number of the profile changed
presets_changed() ​
A preset was saved or deleted: the panel shows itself again
Constants ​
StringDEFAULT_FOLDER ="res://src/data/audio_profiles/"- Where the presets of the project are keptArrayCHANNELS =[["music", "Music"], ["sfx", "Sound effects"], ["voice", "Voices"], ["ambienc...
Variable descriptions ​
String folder = DEFAULT_FOLDER ​
The folder the presets are read from and saved to (a test uses another one)
Method descriptions ​
void setup( profiles: Array[AudioProfile] ) ​
profiles are the profiles of the selected volumes (empty when they have none: the menu then makes one).
Array[AudioProfile] presets() ​
The built-in presets, then the ones of the project by name.
String file_name_of( preset_name: String ) ​
No description yet.