section and within annotations for ldoc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
2026-02-25 23:24:53 +01:00
parent 297ee8b622
commit 777c27aa54
27 changed files with 175 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
--- @section Songs
-- DDR Arrow Spawn Patterns
-- Each song defines when arrows should spawn, synced to music beats
Songs = {
-- Example song pattern
test_song = {
@@ -108,6 +109,7 @@ Songs = {
}
--- Converts beats to frames.
--- @within Songs
-- @param beat number The beat number.
-- @param bpm number Beats per minute.
-- @param[opt] fps number Frames per second (default: 60).
@@ -120,6 +122,7 @@ function frame_from_beat(beat, bpm, fps)
end
--- Converts beat notation to frame pattern.
--- @within Songs
-- @param beats table A table of beat data, e.g., {{1, "left"}, {2, "down"}}.
-- @param bpm number Beats per minute.
-- @param[opt] fps number Frames per second (default: 60).