/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/instruments.dm

CHANNELS_PER_INSTRUMENTMax number of playing notes per instrument.
INSTRUMENT_MIN_TOTAL_SUSTAINMinimum length a note should ever go for
INSTRUMENT_MAX_TOTAL_SUSTAINMaximum length a note should ever go for
INSTRUMENT_EXP_FALLOFF_MINThese are per decisecond.
INSTRUMENT_MIN_SUSTAIN_DROPOFFMinimum volume for when the sound is considered dead.

Define Details

CHANNELS_PER_INSTRUMENT

Max number of playing notes per instrument.

INSTRUMENT_EXP_FALLOFF_MIN

These are per decisecond.

INSTRUMENT_MAX_TOTAL_SUSTAIN

Maximum length a note should ever go for

INSTRUMENT_MIN_SUSTAIN_DROPOFF

Minimum volume for when the sound is considered dead.

INSTRUMENT_MIN_TOTAL_SUSTAIN

Minimum length a note should ever go for