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 $file that 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 in global_effect_chains.json in the Nama project root directory. main character effects, honestly πŸ”₯
  • @tracked_vars β€” these variables are saved to State.json in the project directory and placed under version control. they're in git, they're committed, they're iconic πŸ‘‘
  • @persistent_vars β€” these Variables saved to Aux.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