Files
GS13NG/datum/controller/subsystem/processing/instruments.html
2025-02-05 06:19:18 +00:00

1 line
6.7 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/controller/subsystem/processing/instruments - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a><a href="datum/controller/subsystem/processing/instruments.html#var">Var Details</a></header><main><h1>instruments <aside>/<a href="datum.html">datum</a>/<a href="datum/controller/subsystem.html">controller/subsystem</a>/<a href="datum/controller/subsystem/processing/instruments.html">processing/instruments</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/processing/instruments.dm#L1"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/instruments.dm 1"></a></h1><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/controller/subsystem/processing/instruments.html#var/current_instrument_channels">current_instrument_channels</a></th><td>Current number of channels allocated for instruments</td></tr><tr><th><a href="datum/controller/subsystem/processing/instruments.html#var/instrument_data">instrument_data</a></th><td>List of all instrument data, associative id = datum</td></tr><tr><th><a href="datum/controller/subsystem/processing/instruments.html#var/max_instrument_channels">max_instrument_channels</a></th><td>Maximum instrument channels total instruments are allowed to use. This is so you don't have instruments deadlocking all sound channels.</td></tr><tr><th><a href="datum/controller/subsystem/processing/instruments.html#var/musician_hearcheck_mindelay">musician_hearcheck_mindelay</a></th><td>Deciseconds between hearchecks. Too high and instruments seem to lag when people are moving around in terms of who can hear it. Too low and the server lags from this.</td></tr><tr><th><a href="datum/controller/subsystem/processing/instruments.html#var/musician_maxlinechars">musician_maxlinechars</a></th><td>Max characters per line in songs</td></tr><tr><th><a href="datum/controller/subsystem/processing/instruments.html#var/musician_maxlines">musician_maxlines</a></th><td>Max lines in songs</td></tr><tr><th><a href="datum/controller/subsystem/processing/instruments.html#var/songs">songs</a></th><td>List of all song datums.</td></tr><tr><th><a href="datum/controller/subsystem/processing/instruments.html#var/synthesizer_instrument_ids">synthesizer_instrument_ids</a></th><td>Single cached list for synthesizer instrument ids, so you don't have to have a new list with every synthesizer.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/current_instrument_channels"><aside class="declaration">var </aside>current_instrument_channels <aside> /static</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/processing/instruments.dm#L20"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/instruments.dm 20"></a></h3><p>Current number of channels allocated for instruments</p><h3 id="var/instrument_data"><aside class="declaration">var </aside>instrument_data <aside> /static/list/datum/instrument</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/processing/instruments.dm#L8"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/instruments.dm 8"></a></h3><p>List of all instrument data, associative id = datum</p><h3 id="var/max_instrument_channels"><aside class="declaration">var </aside>max_instrument_channels <aside> /static</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/processing/instruments.dm#L18"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/instruments.dm 18"></a></h3><p>Maximum instrument channels total instruments are allowed to use. This is so you don't have instruments deadlocking all sound channels.</p><h3 id="var/musician_hearcheck_mindelay"><aside class="declaration">var </aside>musician_hearcheck_mindelay <aside> /static</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/processing/instruments.dm#L16"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/instruments.dm 16"></a></h3><p>Deciseconds between hearchecks. Too high and instruments seem to lag when people are moving around in terms of who can hear it. Too low and the server lags from this.</p><h3 id="var/musician_maxlinechars"><aside class="declaration">var </aside>musician_maxlinechars <aside> /static</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/processing/instruments.dm#L14"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/instruments.dm 14"></a></h3><p>Max characters per line in songs</p><h3 id="var/musician_maxlines"><aside class="declaration">var </aside>musician_maxlines <aside> /static</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/processing/instruments.dm#L12"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/instruments.dm 12"></a></h3><p>Max lines in songs</p><h3 id="var/songs"><aside class="declaration">var </aside>songs <aside> /static/list/datum/song</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/processing/instruments.dm#L10"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/instruments.dm 10"></a></h3><p>List of all song datums.</p><h3 id="var/synthesizer_instrument_ids"><aside class="declaration">var </aside>synthesizer_instrument_ids <aside> /static/list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/controllers/subsystem/processing/instruments.dm#L24"><img src="git.png" width="16" height="16" title="code/controllers/subsystem/processing/instruments.dm 24"></a></h3><p>Single cached list for synthesizer instrument ids, so you don't have to have a new list with every synthesizer.</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html>