filepeak Signal I/O:Soundfile Queries filepeak filepeak Returns the peak absolute value of a sound file. Description Returns the peak absolute value of a sound file. Syntax ir filepeak ifilcod [, ichnl] Initialization ifilcod -- sound file to be queried ichnl (optional, default=0) -- channel to be used in calculating the peak value. Default is 0. ichnl = 0 returns peak value of all channels ichnl > 0 returns peak value of ichnl Performance filepeak returns the peak absolute value of the sound file ifilcod. Examples Here is an example of the filepeak opcode. It uses the file filepeak.csd, and Church.wav. Example of the filepeak opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. The filepeak's output should include lines like this: Peak value in file 'Church.wav' is 0.909363 (-0.825 dB). Peak value in file 'Church_norm.wav' is 0.501190 (-6.000 dB). See also Sound File Queries Credits Author: &namematt; July 1999 New in Csound version 3.57