Audio:...lobals(3pm)
β¨ NAME β¨
Audio::Nama::Globals β Nama global variables, bestie π
(you'll also see the manual page referred to as Audio::Nama::Globals(3pm), that's just the section 3pm library-page thing, iykyk π)
okay so the tea on this one: the variables are listed in multiple files in the source. it's giving "we're not putting all of them in one place, go look" π
π¦ Exported π¦
Audio::Nama::Globals exports the Nama globals, and the way it gets them is by merging the contents of the following files. yeah. a whole little friend group of files coming together π«Ά
var_pronounsβ pronouns (e.g.$this_track) and indices (e.g.%tn, which is get track by name). so like, the names you call things by β¨var_serializeβ the marshalling variables for serializing/deserializing (e.g.@tracks_data). packing things up and unpacking them, we love a round trip π¦var_singletonsβ simple hash structures (such as$config) or objects such as$filethat aggregate data. and the hashes can be invested with object properties as need be. slay π
π Other lists π
var_configβ maps keys in.namarc(e.g.mix_to_disk_format) to the corresponding Nama internal scalar (e.g."$config->{mix_to_disk_format}". it's a whole translation service πΈvar_keysβ the list of allowed singleton hash keys.
keys of variables appearing in ./var_singletons should be listed in var_keys or in var_config. and bestie, undeclared keys will trigger warnings during build β so like, don't leave your keys out in the cold π
π var_lists π
declares lists of variables used in serializing/deserializing. the receipts get kept π
@global_effect_chain_varsβ mainly user defined and system-wide effect chains, stored inglobal_effect_chains.jsonin the Nama project root directory. main character effects, honestly π₯@tracked_varsβ these variables are saved toState.jsonin the project directory and placed under version control. they're in git, they're committed, they're iconic π@persistent_varsβ these Variables saved toAux.json, not under version control. including project-specific effect-chain definitions, and track/version comments. no git for these ones, they're just vibing offline π
lowkey reminder: every option, key and file name up there is exact, so copy them character for character, fr fr π
that's the whole page, gorgeous π§ this came out ofperl v5.40.1, dated 2026-05-06, and that's the vibe check passed β go run your build and don't let a single undeclared key catch you slipping π bye bestie!! π
π¦ where this page comes from
- ubuntu stonking: nama 1.602-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms