Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2o committed Oct 15, 2022
1 parent 6387eba commit 7ec3f9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Modules/Music.lua
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ function music:render_audio()

for track, _ in pairs(self.tracks.info) do
if song_duration < self:get_track_duration(track) then
song_duration = self:get_track_duration(track) + 1
song_duration = self:get_track_duration(track)
end
if self:get_track_duration(track) > 0 then
song_voices = song_voices + 1
Expand Down
9 changes: 6 additions & 3 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@
]]

VERSION = "0.2.1"
VERSION = "0.2.2"

--[[
0.2.1 (...)
0.2.2
- corrected song length so that it now loops cleanly
0.2.1
- audio volume of channel C (triangle) fine-tuned
- some changes to the player code
Expand All @@ -39,7 +42,7 @@ local t_ui = {
color = "text_title",
text = "SONG INFO",
x = 16,
y = 16
y = 160
},
title_label = {
color = "text_info",
Expand Down

0 comments on commit 7ec3f9c

Please sign in to comment.