SR=REGEXP($SAMPLERATE,"s/...$//") # converts '44100' --> '44'