Yogstation 13 - Modules - TypesDefine Details

code/__DEFINES/instruments.dm

CHANNELS_PER_INSTRUMENTMax number of playing notes per instrument.
INSTRUMENT_DISTANCE_FALLOFF_BUFFDistance multiplier that makes us not be impacted by 3d sound as much. This is a multiplier so lower it is the closer we will pretend to be to people.
INSTRUMENT_DISTANCE_NO_FALLOFFHow many tiles instruments have no falloff 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_DISTANCE_FALLOFF_BUFF

Distance multiplier that makes us not be impacted by 3d sound as much. This is a multiplier so lower it is the closer we will pretend to be to people.

INSTRUMENT_DISTANCE_NO_FALLOFF

How many tiles instruments have no falloff for

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.