The setSamplingRate: action sets the sampling rate for recording with the rate described by the :hp1.rate:ehp1. parameter. The valid values are 8, 11, 22, or 44 kHz.
For example, connect to setSamplingRate: when a radio button is clicked.