Crackle noise on REAPER (with Focusrite Scarlet)

Please try to replicate these settings in Reaper:

Audio system: ASIO (Windows only)
Sample rate: 44100
Block Size: 128

A block size of 128 should give you less latency than 256. Be sure to make these changes from the control panel of your interface (“ASIO Configuration…” button if you’re on Windows).

Then go through these guides depending on your operating system: Windows / macOS