[DuWayne] made a 63 dB step attenuator by putting two smaller units in series, with an Arduino Nano in control of them. With a 3D printed enclosure and OLED for feedback, the device is easily ...
While an amplifier provides gain, boosts the signal, an attenuator provides loss, reduces the signal. Attenuators are always a compromise and should only be used if absolutely necessary.