ajout de panneaux de contrôles, de paramètres et refactorisation de la gestion de l'audio
This commit is contained in:
BIN
common/audio_manager/assets/ambiance/ambiance_phase_1.ogg
Normal file
BIN
common/audio_manager/assets/ambiance/ambiance_phase_1.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://dipnmlprwfo12"
|
||||
path="res://.godot/imported/ambiance_phase_1.ogg-80102699fb5fda17ef13fc3225d6785d.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/ambiance/ambiance_phase_1.ogg"
|
||||
dest_files=["res://.godot/imported/ambiance_phase_1.ogg-80102699fb5fda17ef13fc3225d6785d.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0.0
|
||||
bpm=0.0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
common/audio_manager/assets/ambiance/ambiance_phase_2.ogg
Normal file
BIN
common/audio_manager/assets/ambiance/ambiance_phase_2.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://bm0tdi6bd2e65"
|
||||
path="res://.godot/imported/ambiance_phase_2.ogg-59b04d5087c9de539ab7f0964b9e662a.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/ambiance/ambiance_phase_2.ogg"
|
||||
dest_files=["res://.godot/imported/ambiance_phase_2.ogg-59b04d5087c9de539ab7f0964b9e662a.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0.0
|
||||
bpm=0.0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
common/audio_manager/assets/ambiance/ambiance_phase_3.ogg
Normal file
BIN
common/audio_manager/assets/ambiance/ambiance_phase_3.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://dftxjfdqgsbd3"
|
||||
path="res://.godot/imported/ambiance_phase_3.ogg-7cca7d2cd58a19969d37794840555fab.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/ambiance/ambiance_phase_3.ogg"
|
||||
dest_files=["res://.godot/imported/ambiance_phase_3.ogg-7cca7d2cd58a19969d37794840555fab.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
common/audio_manager/assets/ambiance/truck_ambience_phase_1.ogg
Normal file
BIN
common/audio_manager/assets/ambiance/truck_ambience_phase_1.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://gjr7ruv7wfci"
|
||||
path="res://.godot/imported/truck_ambience_phase_1.ogg-094cf9887cf7f7875874ead68efedb97.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/ambiance/truck_ambience_phase_1.ogg"
|
||||
dest_files=["res://.godot/imported/truck_ambience_phase_1.ogg-094cf9887cf7f7875874ead68efedb97.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
common/audio_manager/assets/ambiance/truck_ambience_phase_2.ogg
Normal file
BIN
common/audio_manager/assets/ambiance/truck_ambience_phase_2.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://car7b6j0ihi30"
|
||||
path="res://.godot/imported/truck_ambience_phase_2.ogg-f03a735b74bcf82da73e6d546922db59.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/ambiance/truck_ambience_phase_2.ogg"
|
||||
dest_files=["res://.godot/imported/truck_ambience_phase_2.ogg-f03a735b74bcf82da73e6d546922db59.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
common/audio_manager/assets/ambiance/truck_ambience_phase_3.ogg
Normal file
BIN
common/audio_manager/assets/ambiance/truck_ambience_phase_3.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://dtcv4p3a03giu"
|
||||
path="res://.godot/imported/truck_ambience_phase_3.ogg-33ff93403564ea6641c807a62807dc29.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/ambiance/truck_ambience_phase_3.ogg"
|
||||
dest_files=["res://.godot/imported/truck_ambience_phase_3.ogg-33ff93403564ea6641c807a62807dc29.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=false
|
||||
loop_offset=0
|
||||
bpm=0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
common/audio_manager/assets/arpeges/bass_champ_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/bass_champ_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://clmnyg60wkdtq"
|
||||
path="res://.godot/imported/bass_champ_arpeggio.wav-051a26f5da0677c700b9716c9e3361b9.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/bass_champ_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/bass_champ_arpeggio.wav-051a26f5da0677c700b9716c9e3361b9.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/bass_chardi_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/bass_chardi_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://ceua3yhrecmwm"
|
||||
path="res://.godot/imported/bass_chardi_arpeggio.wav-2248e758c5df92a0305aa135d6a35e60.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/bass_chardi_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/bass_chardi_arpeggio.wav-2248e758c5df92a0305aa135d6a35e60.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/bass_maia_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/bass_maia_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://cjj28vtc1qskx"
|
||||
path="res://.godot/imported/bass_maia_arpeggio.wav-094e5cd450ea7e8106f9fb1954e10348.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/bass_maia_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/bass_maia_arpeggio.wav-094e5cd450ea7e8106f9fb1954e10348.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/bass_pili_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/bass_pili_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://cc6sax3jlhyas"
|
||||
path="res://.godot/imported/bass_pili_arpeggio.wav-1a7b9d0b3b1919948526ca26ecee7674.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/bass_pili_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/bass_pili_arpeggio.wav-1a7b9d0b3b1919948526ca26ecee7674.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/melodic_champ_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/melodic_champ_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dh7peiybu2d1i"
|
||||
path="res://.godot/imported/melodic_champ_arpeggio.wav-80c73d143a1bdc0304d0959a9797fffc.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/melodic_champ_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/melodic_champ_arpeggio.wav-80c73d143a1bdc0304d0959a9797fffc.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/melodic_chardi_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/melodic_chardi_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dwsrruj5pqadi"
|
||||
path="res://.godot/imported/melodic_chardi_arpeggio.wav-7af9c3cc7f6608708657e1501576c2db.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/melodic_chardi_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/melodic_chardi_arpeggio.wav-7af9c3cc7f6608708657e1501576c2db.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/melodic_maia_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/melodic_maia_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://c4lmd1t2kn7lu"
|
||||
path="res://.godot/imported/melodic_maia_arpeggio.wav-aa778afd5be5086954dee724e7b13e86.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/melodic_maia_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/melodic_maia_arpeggio.wav-aa778afd5be5086954dee724e7b13e86.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/melodic_pili_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/melodic_pili_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://18ov4d3r2wru"
|
||||
path="res://.godot/imported/melodic_pili_arpeggio.wav-8dac6d8077bc09c075dfbe4eeda585cb.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/melodic_pili_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/melodic_pili_arpeggio.wav-8dac6d8077bc09c075dfbe4eeda585cb.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/rythmic_champ_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/rythmic_champ_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dmdr13bdsk6up"
|
||||
path="res://.godot/imported/rythmic_champ_arpeggio.wav-2102ffcaf598aa38bb555c50f7d77875.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/rythmic_champ_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/rythmic_champ_arpeggio.wav-2102ffcaf598aa38bb555c50f7d77875.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/rythmic_chardi_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/rythmic_chardi_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dwpspwd6bnxm6"
|
||||
path="res://.godot/imported/rythmic_chardi_arpeggio.wav-d09f413a52b82844e047db8cd9ee52b9.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/rythmic_chardi_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/rythmic_chardi_arpeggio.wav-d09f413a52b82844e047db8cd9ee52b9.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/rythmic_maia_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/rythmic_maia_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://ilinwxk13d30"
|
||||
path="res://.godot/imported/rythmic_maia_arpeggio.wav-2a4ed0d48afe47fbdb3a649cacbb0aac.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/rythmic_maia_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/rythmic_maia_arpeggio.wav-2a4ed0d48afe47fbdb3a649cacbb0aac.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/arpeges/rythmic_pili_arpeggio.wav
Normal file
BIN
common/audio_manager/assets/arpeges/rythmic_pili_arpeggio.wav
Normal file
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dbv61dwqx82qk"
|
||||
path="res://.godot/imported/rythmic_pili_arpeggio.wav-a38fa83c277a9cf77e5e823a99a37b7e.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/arpeges/rythmic_pili_arpeggio.wav"
|
||||
dest_files=["res://.godot/imported/rythmic_pili_arpeggio.wav-a38fa83c277a9cf77e5e823a99a37b7e.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/morceaux/forest_phase_1.ogg
Normal file
BIN
common/audio_manager/assets/morceaux/forest_phase_1.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://diyefcv8tqa3r"
|
||||
path="res://.godot/imported/forest_phase_1.ogg-9e0156f369d7f2e26d8a51530d89e0e2.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/morceaux/forest_phase_1.ogg"
|
||||
dest_files=["res://.godot/imported/forest_phase_1.ogg-9e0156f369d7f2e26d8a51530d89e0e2.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0.0
|
||||
bpm=0.0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
common/audio_manager/assets/morceaux/forest_phase_2.ogg
Normal file
BIN
common/audio_manager/assets/morceaux/forest_phase_2.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://bqwiaek5b5q00"
|
||||
path="res://.godot/imported/forest_phase_2.ogg-0df27a4ec8c7f368449cc577282b8f9b.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/morceaux/forest_phase_2.ogg"
|
||||
dest_files=["res://.godot/imported/forest_phase_2.ogg-0df27a4ec8c7f368449cc577282b8f9b.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0.0
|
||||
bpm=0.0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
common/audio_manager/assets/morceaux/forest_phase_3.ogg
Normal file
BIN
common/audio_manager/assets/morceaux/forest_phase_3.ogg
Normal file
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://d4lqhgf0lhgge"
|
||||
path="res://.godot/imported/forest_phase_3.ogg-b61e015a880b169413fca642425f6641.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/morceaux/forest_phase_3.ogg"
|
||||
dest_files=["res://.godot/imported/forest_phase_3.ogg-b61e015a880b169413fca642425f6641.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0.0
|
||||
bpm=0.0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
common/audio_manager/assets/morceaux/truck_music.ogg
Normal file
BIN
common/audio_manager/assets/morceaux/truck_music.ogg
Normal file
Binary file not shown.
19
common/audio_manager/assets/morceaux/truck_music.ogg.import
Normal file
19
common/audio_manager/assets/morceaux/truck_music.ogg.import
Normal file
@@ -0,0 +1,19 @@
|
||||
[remap]
|
||||
|
||||
importer="oggvorbisstr"
|
||||
type="AudioStreamOggVorbis"
|
||||
uid="uid://brtjlgjqnrvcb"
|
||||
path="res://.godot/imported/truck_music.ogg-43ecad6656a75bc81ebbd628c7272387.oggvorbisstr"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/morceaux/truck_music.ogg"
|
||||
dest_files=["res://.godot/imported/truck_music.ogg-43ecad6656a75bc81ebbd628c7272387.oggvorbisstr"]
|
||||
|
||||
[params]
|
||||
|
||||
loop=true
|
||||
loop_offset=0.0
|
||||
bpm=0.0
|
||||
beat_count=0
|
||||
bar_beats=4
|
||||
BIN
common/audio_manager/assets/sfx/alarm.wav
Normal file
BIN
common/audio_manager/assets/sfx/alarm.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/alarm.wav.import
Normal file
24
common/audio_manager/assets/sfx/alarm.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://ccq04ahrwr3bv"
|
||||
path="res://.godot/imported/alarm.wav-12279c8a7d20f36fa61e27d627107779.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/alarm.wav"
|
||||
dest_files=["res://.godot/imported/alarm.wav-12279c8a7d20f36fa61e27d627107779.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/annnounce.wav
Normal file
BIN
common/audio_manager/assets/sfx/annnounce.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/annnounce.wav.import
Normal file
24
common/audio_manager/assets/sfx/annnounce.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://d1cpi438ep0ys"
|
||||
path="res://.godot/imported/annnounce.wav-f2963921f9e5f727b32f1bcbd3f89b73.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/annnounce.wav"
|
||||
dest_files=["res://.godot/imported/annnounce.wav-f2963921f9e5f727b32f1bcbd3f89b73.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/dig/dig_1.wav
Normal file
BIN
common/audio_manager/assets/sfx/dig/dig_1.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/dig/dig_1.wav.import
Normal file
24
common/audio_manager/assets/sfx/dig/dig_1.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dfrp66a4isnt6"
|
||||
path="res://.godot/imported/dig_1.wav-660d2e56c92fdb4238d2f9b201a7d014.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/dig/dig_1.wav"
|
||||
dest_files=["res://.godot/imported/dig_1.wav-660d2e56c92fdb4238d2f9b201a7d014.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/dig/dig_2.wav
Normal file
BIN
common/audio_manager/assets/sfx/dig/dig_2.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/dig/dig_2.wav.import
Normal file
24
common/audio_manager/assets/sfx/dig/dig_2.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bdxkvaciw4mb3"
|
||||
path="res://.godot/imported/dig_2.wav-85c94aa28e292a128633193eb44b448b.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/dig/dig_2.wav"
|
||||
dest_files=["res://.godot/imported/dig_2.wav-85c94aa28e292a128633193eb44b448b.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/dig/dig_3.wav
Normal file
BIN
common/audio_manager/assets/sfx/dig/dig_3.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/dig/dig_3.wav.import
Normal file
24
common/audio_manager/assets/sfx/dig/dig_3.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://llxrlwfccywb"
|
||||
path="res://.godot/imported/dig_3.wav-b9b008bcfd4207a34999827bc23b2eb0.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/dig/dig_3.wav"
|
||||
dest_files=["res://.godot/imported/dig_3.wav-b9b008bcfd4207a34999827bc23b2eb0.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/drop/drop_1.wav
Normal file
BIN
common/audio_manager/assets/sfx/drop/drop_1.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/drop/drop_1.wav.import
Normal file
24
common/audio_manager/assets/sfx/drop/drop_1.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://b8inedx4yjslw"
|
||||
path="res://.godot/imported/drop_1.wav-567b06da526f2aff019fe33160541097.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/drop/drop_1.wav"
|
||||
dest_files=["res://.godot/imported/drop_1.wav-567b06da526f2aff019fe33160541097.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/harvest/harvest_1.wav
Normal file
BIN
common/audio_manager/assets/sfx/harvest/harvest_1.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/harvest/harvest_1.wav.import
Normal file
24
common/audio_manager/assets/sfx/harvest/harvest_1.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://8nmr5vifkt1f"
|
||||
path="res://.godot/imported/harvest_1.wav-8c6a4a3c2145864e0c6909b5c1264bc5.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/harvest/harvest_1.wav"
|
||||
dest_files=["res://.godot/imported/harvest_1.wav-8c6a4a3c2145864e0c6909b5c1264bc5.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/harvest/harvest_2.wav
Normal file
BIN
common/audio_manager/assets/sfx/harvest/harvest_2.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/harvest/harvest_2.wav.import
Normal file
24
common/audio_manager/assets/sfx/harvest/harvest_2.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://dgkdcq4j6fe3o"
|
||||
path="res://.godot/imported/harvest_2.wav-61367434e391134584df77bbab5b8f3b.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/harvest/harvest_2.wav"
|
||||
dest_files=["res://.godot/imported/harvest_2.wav-61367434e391134584df77bbab5b8f3b.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/harvest/harvest_3.wav
Normal file
BIN
common/audio_manager/assets/sfx/harvest/harvest_3.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/harvest/harvest_3.wav.import
Normal file
24
common/audio_manager/assets/sfx/harvest/harvest_3.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://eh3dbuxu5qtw"
|
||||
path="res://.godot/imported/harvest_3.wav-872844fe37f9c622e5abdde8804610aa.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/harvest/harvest_3.wav"
|
||||
dest_files=["res://.godot/imported/harvest_3.wav-872844fe37f9c622e5abdde8804610aa.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/harvest/harvest_4.wav
Normal file
BIN
common/audio_manager/assets/sfx/harvest/harvest_4.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/harvest/harvest_4.wav.import
Normal file
24
common/audio_manager/assets/sfx/harvest/harvest_4.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bown4yipeef8l"
|
||||
path="res://.godot/imported/harvest_4.wav-98722e66148559ca07879edc8e7a4d62.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/harvest/harvest_4.wav"
|
||||
dest_files=["res://.godot/imported/harvest_4.wav-98722e66148559ca07879edc8e7a4d62.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/harvest/harvest_5.wav
Normal file
BIN
common/audio_manager/assets/sfx/harvest/harvest_5.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/harvest/harvest_5.wav.import
Normal file
24
common/audio_manager/assets/sfx/harvest/harvest_5.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://cbo4ld2yypmte"
|
||||
path="res://.godot/imported/harvest_5.wav-9a1402f25d6ff151de5d88505a56ad69.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/harvest/harvest_5.wav"
|
||||
dest_files=["res://.godot/imported/harvest_5.wav-9a1402f25d6ff151de5d88505a56ad69.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/harvest/harvest_6.wav
Normal file
BIN
common/audio_manager/assets/sfx/harvest/harvest_6.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/harvest/harvest_6.wav.import
Normal file
24
common/audio_manager/assets/sfx/harvest/harvest_6.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://c5nfoa6v3r5f7"
|
||||
path="res://.godot/imported/harvest_6.wav-b91b89b4f54cc19f741a8ff5dac874ea.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/harvest/harvest_6.wav"
|
||||
dest_files=["res://.godot/imported/harvest_6.wav-b91b89b4f54cc19f741a8ff5dac874ea.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/movement/movement.wav
Normal file
BIN
common/audio_manager/assets/sfx/movement/movement.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/movement/movement.wav.import
Normal file
24
common/audio_manager/assets/sfx/movement/movement.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://b4sxly5jsvlkr"
|
||||
path="res://.godot/imported/movement.wav-5172908d78e3619625b5599572afbbff.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/movement/movement.wav"
|
||||
dest_files=["res://.godot/imported/movement.wav-5172908d78e3619625b5599572afbbff.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/pick_up/pick_up_1.wav
Normal file
BIN
common/audio_manager/assets/sfx/pick_up/pick_up_1.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/pick_up/pick_up_1.wav.import
Normal file
24
common/audio_manager/assets/sfx/pick_up/pick_up_1.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://bjind1iji0gt7"
|
||||
path="res://.godot/imported/pick_up_1.wav-b85c26aa94fa17eb09123db2426f657e.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/pick_up/pick_up_1.wav"
|
||||
dest_files=["res://.godot/imported/pick_up_1.wav-b85c26aa94fa17eb09123db2426f657e.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
BIN
common/audio_manager/assets/sfx/pick_up/pick_up_2.wav
Normal file
BIN
common/audio_manager/assets/sfx/pick_up/pick_up_2.wav
Normal file
Binary file not shown.
24
common/audio_manager/assets/sfx/pick_up/pick_up_2.wav.import
Normal file
24
common/audio_manager/assets/sfx/pick_up/pick_up_2.wav.import
Normal file
@@ -0,0 +1,24 @@
|
||||
[remap]
|
||||
|
||||
importer="wav"
|
||||
type="AudioStreamWAV"
|
||||
uid="uid://cqa0gvgpoa7pd"
|
||||
path="res://.godot/imported/pick_up_2.wav-b286456f4946cc55250c60014752274d.sample"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://common/audio_manager/assets/sfx/pick_up/pick_up_2.wav"
|
||||
dest_files=["res://.godot/imported/pick_up_2.wav-b286456f4946cc55250c60014752274d.sample"]
|
||||
|
||||
[params]
|
||||
|
||||
force/8_bit=false
|
||||
force/mono=false
|
||||
force/max_rate=false
|
||||
force/max_rate_hz=44100
|
||||
edit/trim=false
|
||||
edit/normalize=false
|
||||
edit/loop_mode=0
|
||||
edit/loop_begin=0
|
||||
edit/loop_end=-1
|
||||
compress/mode=2
|
||||
117
common/audio_manager/audio_manager.tscn
Normal file
117
common/audio_manager/audio_manager.tscn
Normal file
@@ -0,0 +1,117 @@
|
||||
[gd_scene load_steps=30 format=3 uid="uid://b6hscxcrj065q"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://2p5d6vogtn82" path="res://common/audio_manager/scripts/audio_manager.gd" id="1_0tvca"]
|
||||
[ext_resource type="AudioStream" uid="uid://dipnmlprwfo12" path="res://common/audio_manager/assets/ambiance/ambiance_phase_1.ogg" id="2_a4u5m"]
|
||||
[ext_resource type="AudioStream" uid="uid://bm0tdi6bd2e65" path="res://common/audio_manager/assets/ambiance/ambiance_phase_2.ogg" id="3_8nsyr"]
|
||||
[ext_resource type="AudioStream" uid="uid://dftxjfdqgsbd3" path="res://common/audio_manager/assets/ambiance/ambiance_phase_3.ogg" id="4_athui"]
|
||||
[ext_resource type="AudioStream" uid="uid://diyefcv8tqa3r" path="res://common/audio_manager/assets/morceaux/forest_phase_1.ogg" id="5_4kks7"]
|
||||
[ext_resource type="AudioStream" uid="uid://bqwiaek5b5q00" path="res://common/audio_manager/assets/morceaux/forest_phase_2.ogg" id="6_ldyhq"]
|
||||
[ext_resource type="AudioStream" uid="uid://d4lqhgf0lhgge" path="res://common/audio_manager/assets/morceaux/forest_phase_3.ogg" id="7_ol34x"]
|
||||
[ext_resource type="AudioStream" uid="uid://brtjlgjqnrvcb" path="res://common/audio_manager/assets/morceaux/truck_music.ogg" id="8_0e5ja"]
|
||||
[ext_resource type="AudioStream" uid="uid://dfrp66a4isnt6" path="res://common/audio_manager/assets/sfx/dig/dig_1.wav" id="9_gv65y"]
|
||||
[ext_resource type="AudioStream" uid="uid://bdxkvaciw4mb3" path="res://common/audio_manager/assets/sfx/dig/dig_2.wav" id="10_n7o7n"]
|
||||
[ext_resource type="AudioStream" uid="uid://llxrlwfccywb" path="res://common/audio_manager/assets/sfx/dig/dig_3.wav" id="11_wtvls"]
|
||||
[ext_resource type="AudioStream" uid="uid://b8inedx4yjslw" path="res://common/audio_manager/assets/sfx/drop/drop_1.wav" id="12_4hp8f"]
|
||||
[ext_resource type="AudioStream" uid="uid://8nmr5vifkt1f" path="res://common/audio_manager/assets/sfx/harvest/harvest_1.wav" id="13_xoaox"]
|
||||
[ext_resource type="AudioStream" uid="uid://dgkdcq4j6fe3o" path="res://common/audio_manager/assets/sfx/harvest/harvest_2.wav" id="14_b5bgj"]
|
||||
[ext_resource type="AudioStream" uid="uid://eh3dbuxu5qtw" path="res://common/audio_manager/assets/sfx/harvest/harvest_3.wav" id="15_ynvb4"]
|
||||
[ext_resource type="AudioStream" uid="uid://bown4yipeef8l" path="res://common/audio_manager/assets/sfx/harvest/harvest_4.wav" id="16_obeji"]
|
||||
[ext_resource type="AudioStream" uid="uid://cbo4ld2yypmte" path="res://common/audio_manager/assets/sfx/harvest/harvest_5.wav" id="17_6w0re"]
|
||||
[ext_resource type="AudioStream" uid="uid://c5nfoa6v3r5f7" path="res://common/audio_manager/assets/sfx/harvest/harvest_6.wav" id="18_o4guq"]
|
||||
[ext_resource type="AudioStream" uid="uid://b4sxly5jsvlkr" path="res://common/audio_manager/assets/sfx/movement/movement.wav" id="19_m4obf"]
|
||||
[ext_resource type="AudioStream" uid="uid://bjind1iji0gt7" path="res://common/audio_manager/assets/sfx/pick_up/pick_up_1.wav" id="20_pu6t4"]
|
||||
[ext_resource type="AudioStream" uid="uid://cqa0gvgpoa7pd" path="res://common/audio_manager/assets/sfx/pick_up/pick_up_2.wav" id="21_dk5s6"]
|
||||
[ext_resource type="AudioStream" uid="uid://d1cpi438ep0ys" path="res://common/audio_manager/assets/sfx/annnounce.wav" id="22_btfwx"]
|
||||
[ext_resource type="AudioStream" uid="uid://ccq04ahrwr3bv" path="res://common/audio_manager/assets/sfx/alarm.wav" id="23_fwu3w"]
|
||||
|
||||
[sub_resource type="AudioStreamSynchronized" id="AudioStreamSynchronized_i5lxw"]
|
||||
stream_count = 3
|
||||
stream_0/stream = ExtResource("2_a4u5m")
|
||||
stream_0/volume = 0.0
|
||||
stream_1/stream = ExtResource("3_8nsyr")
|
||||
stream_1/volume = -60.0
|
||||
stream_2/stream = ExtResource("4_athui")
|
||||
stream_2/volume = -60.0
|
||||
|
||||
[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_ajci6"]
|
||||
stream_count = 3
|
||||
stream_0 = ExtResource("5_4kks7")
|
||||
stream_1 = ExtResource("6_ldyhq")
|
||||
stream_2 = ExtResource("7_ol34x")
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_kfbah"]
|
||||
streams_count = 3
|
||||
stream_0/stream = ExtResource("9_gv65y")
|
||||
stream_1/stream = ExtResource("10_n7o7n")
|
||||
stream_2/stream = ExtResource("11_wtvls")
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_1w04j"]
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("12_4hp8f")
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_i4m0x"]
|
||||
streams_count = 6
|
||||
stream_0/stream = ExtResource("13_xoaox")
|
||||
stream_1/stream = ExtResource("14_b5bgj")
|
||||
stream_2/stream = ExtResource("15_ynvb4")
|
||||
stream_3/stream = ExtResource("16_obeji")
|
||||
stream_4/stream = ExtResource("17_6w0re")
|
||||
stream_5/stream = ExtResource("18_o4guq")
|
||||
|
||||
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_jjdv2"]
|
||||
streams_count = 2
|
||||
stream_0/stream = ExtResource("20_pu6t4")
|
||||
stream_1/stream = ExtResource("21_dk5s6")
|
||||
|
||||
[node name="AudioManager" type="Node" node_paths=PackedStringArray("playing_soundtracks")]
|
||||
process_mode = 3
|
||||
script = ExtResource("1_0tvca")
|
||||
garden_phases_scores = Array[int]([0, 10, 30])
|
||||
playing_soundtracks = [NodePath("Ambiance/Default")]
|
||||
|
||||
[node name="Ambiance" type="Node" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Default" type="AudioStreamPlayer" parent="Ambiance"]
|
||||
unique_name_in_owner = true
|
||||
stream = SubResource("AudioStreamSynchronized_i5lxw")
|
||||
autoplay = true
|
||||
|
||||
[node name="Musics" type="Node" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Planet" type="AudioStreamPlayer" parent="Musics"]
|
||||
unique_name_in_owner = true
|
||||
stream = SubResource("AudioStreamPlaylist_ajci6")
|
||||
autoplay = true
|
||||
|
||||
[node name="Truck" type="AudioStreamPlayer" parent="Musics"]
|
||||
unique_name_in_owner = true
|
||||
stream = ExtResource("8_0e5ja")
|
||||
autoplay = true
|
||||
|
||||
[node name="Sfx" type="Node" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
[node name="Dig" type="AudioStreamPlayer" parent="Sfx"]
|
||||
stream = SubResource("AudioStreamRandomizer_kfbah")
|
||||
|
||||
[node name="Drop" type="AudioStreamPlayer" parent="Sfx"]
|
||||
stream = SubResource("AudioStreamRandomizer_1w04j")
|
||||
|
||||
[node name="Harvest" type="AudioStreamPlayer" parent="Sfx"]
|
||||
stream = SubResource("AudioStreamRandomizer_i4m0x")
|
||||
|
||||
[node name="Move" type="AudioStreamPlayer" parent="Sfx"]
|
||||
stream = ExtResource("19_m4obf")
|
||||
|
||||
[node name="PickUp" type="AudioStreamPlayer" parent="Sfx"]
|
||||
stream = SubResource("AudioStreamRandomizer_jjdv2")
|
||||
volume_db = -10.0
|
||||
|
||||
[node name="Announce" type="AudioStreamPlayer" parent="Sfx"]
|
||||
stream = ExtResource("22_btfwx")
|
||||
volume_db = 8.627
|
||||
|
||||
[node name="Alarm" type="AudioStreamPlayer" parent="Sfx"]
|
||||
stream = ExtResource("23_fwu3w")
|
||||
138
common/audio_manager/scripts/audio_manager.gd
Normal file
138
common/audio_manager/scripts/audio_manager.gd
Normal file
@@ -0,0 +1,138 @@
|
||||
extends Node
|
||||
|
||||
const MIN_VOLUME = -60.
|
||||
const MAX_VOLUME = 24.
|
||||
|
||||
@onready var settings : SettingsData = GameInfo.game_data.settings
|
||||
|
||||
@export var default_fade_time = 1.0
|
||||
|
||||
@export var garden_phase = 0
|
||||
@export var garden_phases_scores : Array[int]
|
||||
|
||||
@export var playing_soundtracks : Array[AudioStreamPlayer] = []
|
||||
|
||||
var default_volumes := {}
|
||||
|
||||
func _ready():
|
||||
GameInfo.game_data.current_planet_data_updated.connect(_on_current_planet_data_updated)
|
||||
fetch_default_volumes()
|
||||
setup_volume()
|
||||
settings.sound_changed.connect(
|
||||
func(_s) : setup_volume()
|
||||
)
|
||||
for player in get_all_soundtrack_players():
|
||||
player.play()
|
||||
|
||||
func fetch_default_volumes():
|
||||
var all_players := get_all_soundtrack_players()
|
||||
all_players.append_array(get_all_sfx_players())
|
||||
|
||||
for player in all_players:
|
||||
default_volumes[player] = player.volume_db
|
||||
|
||||
func setup_volume():
|
||||
for player in get_all_soundtrack_players():
|
||||
player.volume_db = get_volume_from_parent(player) if (
|
||||
playing_soundtracks.find(player) != -1
|
||||
) else MIN_VOLUME
|
||||
setup_phase(player)
|
||||
for player in get_all_sfx_players():
|
||||
player.volume_db = get_volume_from_parent(player)
|
||||
|
||||
func get_volume_from_parent(player : AudioStreamPlayer) -> float:
|
||||
var settings_volume = 0.5
|
||||
|
||||
if player.get_parent() == %Ambiance:
|
||||
settings_volume = settings.ambiance_volume
|
||||
elif player.get_parent() == %Sfx:
|
||||
settings_volume = settings.sfx_volume
|
||||
elif player.get_parent() == %Musics:
|
||||
settings_volume = settings.music_volume
|
||||
|
||||
return default_volumes[player] + lerp(MIN_VOLUME, MAX_VOLUME, settings_volume)
|
||||
|
||||
func update_phase():
|
||||
for player in get_all_soundtrack_players():
|
||||
var playing : bool = player.volume_db != MIN_VOLUME
|
||||
if playing:
|
||||
await set_volume(player, MIN_VOLUME).finished
|
||||
setup_phase(player)
|
||||
if playing:
|
||||
set_volume(player, get_volume_from_parent(player))
|
||||
|
||||
func get_all_soundtrack_players() -> Array[AudioStreamPlayer]:
|
||||
var players : Array[AudioStreamPlayer] = []
|
||||
players.append_array(get_players_from_node(%Musics))
|
||||
players.append_array(get_players_from_node(%Ambiance))
|
||||
|
||||
return players
|
||||
|
||||
func get_all_sfx_players() -> Array[AudioStreamPlayer]:
|
||||
return get_players_from_node(%Sfx)
|
||||
|
||||
func get_players_from_node(node : Node) -> Array[AudioStreamPlayer]:
|
||||
var streams : Array[AudioStreamPlayer] = []
|
||||
|
||||
for c in node.get_children():
|
||||
if c is AudioStreamPlayer:
|
||||
streams.append(c)
|
||||
return streams
|
||||
|
||||
|
||||
func _on_current_planet_data_updated(planet_data : PlanetData):
|
||||
if planet_data:
|
||||
update_garden_phase(planet_data)
|
||||
planet_data.updated.connect(update_garden_phase)
|
||||
|
||||
func update_garden_phase(planet_data : PlanetData):
|
||||
var phase : int = garden_phase
|
||||
for i in range(len(garden_phases_scores)):
|
||||
if planet_data.garden_score >= garden_phases_scores[i] and i > garden_phase:
|
||||
phase = i
|
||||
|
||||
if garden_phase != phase:
|
||||
update_phase()
|
||||
|
||||
garden_phase = phase
|
||||
|
||||
func enter_planet():
|
||||
play_music(%Planet, true)
|
||||
stop_music(%Truck, true)
|
||||
|
||||
func enter_truck():
|
||||
play_music(%Truck, true)
|
||||
stop_music(%Planet, true)
|
||||
|
||||
func stop_music(music : AudioStreamPlayer, with_fade = false):
|
||||
if playing_soundtracks.find(music) != -1:
|
||||
playing_soundtracks.remove_at(playing_soundtracks.find(music))
|
||||
set_volume(music, MIN_VOLUME, with_fade)
|
||||
|
||||
func play_music(player : AudioStreamPlayer, with_fade = false):
|
||||
playing_soundtracks.append(player)
|
||||
set_volume(player, get_volume_from_parent(player), with_fade)
|
||||
|
||||
func setup_phase(music : AudioStreamPlayer):
|
||||
if music.stream is AudioStreamSynchronized:
|
||||
var sync_stream = music.stream as AudioStreamSynchronized
|
||||
var phase_stream_id = min(garden_phase, sync_stream.stream_count - 1)
|
||||
for i in range(sync_stream.stream_count):
|
||||
sync_stream.set_sync_stream_volume(
|
||||
i,
|
||||
0. if i == phase_stream_id else MIN_VOLUME
|
||||
)
|
||||
|
||||
func set_volume(music : AudioStreamPlayer, to : float, fade_time = default_fade_time) -> Tween:
|
||||
var fade_tween : Tween = get_tree().create_tween()
|
||||
|
||||
fade_tween.tween_property(music, "volume_db", to, fade_time)
|
||||
|
||||
return fade_tween
|
||||
|
||||
func play_sfx(name : String):
|
||||
var player := %Sfx.find_child(name) as AudioStreamPlayer
|
||||
if player:
|
||||
player.play()
|
||||
else:
|
||||
printerr("Sfx %s not found" % name)
|
||||
1
common/audio_manager/scripts/audio_manager.gd.uid
Normal file
1
common/audio_manager/scripts/audio_manager.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://2p5d6vogtn82
|
||||
Reference in New Issue
Block a user