File Input and Output
The opcodes for file input and output are:
- File open/close: fiopen and ficlose.
- JSON input: jsonunmarshalfile reads a JSON file into a UDT or typed array through Csound's search paths. jsonmarshal returns JSON text for use with a file writer. See JSON data for a score-loading UDO and table export.
- File output: dumpk, dumpk2, dumpk3, dumpk4, fout, fouti, foutir and foutk
- Standard input: readline.
- File input: readf, readfi, readk, readk2, readk3, readk4, fin, fini and fink
- File input: readf, readfi, readk, readks, readk2, readk3, readk4, fin, fini and fink
- Utilities for use with the fout opcodes: clear, vincr
- Printing to a file: fprints and fprintks