filevalid Signal I/O:Soundfile Queries filevalid filevalid Checks that a file can be read at initialisation or performance time. Description Returns 1 if the sound file exists and is readable, or 0 if not. Syntax ir filevalid ifilcod kr filevalid ifilcod Initialization ifilcod -- sound file to be queried ir -- return code (1 if the sound file ifilcod can be read). Performance kr -- return code (1 if the sound file ifilcod can be read). Examples Here is an example of the filevalid opcode. It uses the file filevalid.csd. Example of the filevalid opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. The output should include a line like this: Audiofile 'frox.wav' does not exist! See also Sound File Queries Credits Author: &namematt; July 2010 New in Csound version 5.13