downsamp Signal Modifiers:Sample Level Operators downsamp downsamp Modify a signal by down-sampling. Description Modify a signal by down-sampling. Syntax kres downsamp asig [, iwlen] Initialization iwlen (optional) -- window length in samples over which the audio signal is averaged to determine a downsampled value. Maximum length is ksmps; 0 and 1 imply no window averaging. The default value is 0. Performance downsamp converts an audio signal to a control signal by downsampling. It produces one kval for each audio control period. The optional window invokes a simple averaging process to suppress foldover. Examples Here is an example of the downsamp opcode. It uses the file downsamp.csd. Example of the downsamp opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also Sample Level Operators