concept frequency - dependent decay in category chuck
appears as: frequency-dependent decay, frequency-dependent decay

This is an excerpt from Manning's book Programming for Musicians and Digital Artists: Creating music with ChucK.
To model the frequency-dependent decay, you need only modify the line where you hook the string to itself by adding a low-pass filter, which reduces the gain of high frequencies more than low frequencies.