Various scripts for digital signal processing (DSP) in R