Skip to main content

Guitartab Dsmaintheme

Based on game build 714014 | Last updated: 2026-03-10

Overview

guitartab_dsmaintheme is a data-only module that exports structured guitar tablature information for the main theme song. It is referenced by the guitar tab UI system and does not implement any logic itself. The data includes standard E2-A2-D3-G3-B3-E4 tuning frequencies, a transposition offset, a tablature matrix representing note positions on strings, and a spacing multiplier for rendering.

Usage example

local main_theme = require "guitartab_dsmaintheme"
local tuning = main_theme.tuning -- {29, 34, 39, 44, 48, 53}
local tab = main_theme.tab -- Table of tablature rows
local spacing = main_theme.spacing_multiplier -- 2.25

Dependencies & tags

Components used: None identified
Tags: None identified

Properties

PropertyTypeDefault ValueDescription
tuningtable of numbers{29, 34, 39, 44, 48, 53}Frequency indices for standard guitar tuning (E2, A2, D3, G3, B3, E4).
transpositionnumber8Semitone transposition offset applied to the tablature.
tabtable of tablesSee sourceTwo-dimensional tablature data: each sub-table represents a staff line with per-string note indices (or m for muted/rest).
spacing_multipliernumber2.25Horizontal spacing factor used to render the tablature in the UI.

Main functions

This module is data-only; no functional methods are exported.

Events & listeners

None identified