code/__DEFINES/instruments.dm ![code/__DEFINES/instruments.dm0](git.png)
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_MAX_TOTAL_SUSTAIN | Maximum length a note should ever go for |
INSTRUMENT_EXP_FALLOFF_MIN | These are per decisecond. |
INSTRUMENT_MIN_SUSTAIN_DROPOFF | Minimum volume for when the sound is considered dead. |
Define Details
CHANNELS_PER_INSTRUMENT ![code/__DEFINES/instruments.dm 7](git.png)
Max number of playing notes per instrument.
INSTRUMENT_DISTANCE_FALLOFF_BUFF ![code/__DEFINES/instruments.dm 10](git.png)
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 ![code/__DEFINES/instruments.dm 12](git.png)
How many tiles instruments have no falloff for
INSTRUMENT_EXP_FALLOFF_MIN ![code/__DEFINES/instruments.dm 18](git.png)
These are per decisecond.
INSTRUMENT_MAX_TOTAL_SUSTAIN ![code/__DEFINES/instruments.dm 15](git.png)
Maximum length a note should ever go for
INSTRUMENT_MIN_SUSTAIN_DROPOFF ![code/__DEFINES/instruments.dm 22](git.png)
Minimum volume for when the sound is considered dead.