Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyTakinTeller committed Jul 16, 2024
1 parent 0422950 commit 33b8a76
Show file tree
Hide file tree
Showing 16 changed files with 74 additions and 62 deletions.
1 change: 0 additions & 1 deletion assets/audio/joseph_philip_burke/20_axes_compressed.mp3

This file was deleted.

19 changes: 0 additions & 19 deletions assets/audio/joseph_philip_burke/20_axes_to_a_bed.mp3.import

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[remap]

importer="mp3"
type="AudioStreamMP3"
uid="uid://cvo3kjga80knk"
path="res://.godot/imported/axes_to_a_bed_compressed.mp3-e2fa333d1f969a94f55d8d71e2442334.mp3str"

[deps]

source_file="res://assets/audio/joseph_philip_burke/axes_to_a_bed_compressed.mp3"
dest_files=["res://.godot/imported/axes_to_a_bed_compressed.mp3-e2fa333d1f969a94f55d8d71e2442334.mp3str"]

[params]

loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4
19 changes: 0 additions & 19 deletions assets/audio/joseph_philip_burke/forest_song.mp3.import

This file was deleted.

Binary file modified assets/audio/joseph_philip_burke/forest_song_compressed.mp3
Binary file not shown.
19 changes: 19 additions & 0 deletions assets/audio/joseph_philip_burke/forest_song_compressed.mp3.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[remap]

importer="mp3"
type="AudioStreamMP3"
uid="uid://b5ad2ujlpx4s8"
path="res://.godot/imported/forest_song_compressed.mp3-acac5661aad8fad6ca73c7c1e8a5e895.mp3str"

[deps]

source_file="res://assets/audio/joseph_philip_burke/forest_song_compressed.mp3"
dest_files=["res://.godot/imported/forest_song_compressed.mp3-acac5661aad8fad6ca73c7c1e8a5e895.mp3str"]

[params]

loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[remap]

importer="mp3"
type="AudioStreamMP3"
uid="uid://6qhcyevhwdph"
path="res://.godot/imported/lacrimosa_reqiuem_abridged_compressed.mp3-d381053d4660e648d9bb5dc75d692e6e.mp3str"

[deps]

source_file="res://assets/audio/joseph_philip_burke/lacrimosa_reqiuem_abridged_compressed.mp3"
dest_files=["res://.godot/imported/lacrimosa_reqiuem_abridged_compressed.mp3-d381053d4660e648d9bb5dc75d692e6e.mp3str"]

[params]

loop=false
loop_offset=0
bpm=0
beat_count=0
bar_beats=4
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

importer="mp3"
type="AudioStreamMP3"
uid="uid://c2ogwp3s0ucmp"
path="res://.godot/imported/theres_a_strong_chill_in_the_air.mp3-a0941dc31d735022782dad250889a29f.mp3str"
uid="uid://dfedxs1vni4nq"
path="res://.godot/imported/theres_a_strong_chill_in_the_air_compressed.mp3-92053834b4a0a293ddeb16ad2a1336d7.mp3str"

[deps]

source_file="res://assets/audio/joseph_philip_burke/theres_a_strong_chill_in_the_air.mp3"
dest_files=["res://.godot/imported/theres_a_strong_chill_in_the_air.mp3-a0941dc31d735022782dad250889a29f.mp3str"]
source_file="res://assets/audio/joseph_philip_burke/theres_a_strong_chill_in_the_air_compressed.mp3"
dest_files=["res://.godot/imported/theres_a_strong_chill_in_the_air_compressed.mp3-92053834b4a0a293ddeb16ad2a1336d7.mp3str"]

[params]

Expand Down
13 changes: 13 additions & 0 deletions global/autoload/audio/music_track/music_track.gd
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,16 @@ func _fade_out_callback(pause: bool) -> void:
if pause:
_playback_position = audio_stream_player.get_playback_position()
audio_stream_player.stop()


#############
## signals ##
#############


func _connect_signals() -> void:
audio_stream_player.finished.connect(_on_song_finished)


func _on_song_finished() -> void:
audio_stream_player.play()

1 comment on commit 33b8a76

@TinyTakinTeller
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • rename songs to snake case
  • the looped songs seem to stop when out of focus sometimes, adding signal finished back

Please sign in to comment.