It is probably too late for 5.02 now, given that it is intended to be tagged for release today. Other than that, it would be an incompatible change (which excludes changing the defaults), as the opcode manuals explicitly state that if there is no header, and the format parameter is 0, the format given for -o will be used. Maybe an additional iformat value (e.g. -1) can be added that requests using the header or throwing an error otherwise. It is also possible to add a single new opcode that returns all relevant parameters of the file (sr, nchnls, length, format), but all 0's if there is no header. On Saturday 03 June 2006 05:30, matt ingalls wrote: > Looks like soundin/diskin/diskin2/filelen/file/etc > treats ANY file as a soundfile > > for instance, > isr filesr "textfile.txt" > > returns the orc's sr. > > seems like all this is not good thing, at least by default. > but maybe it's a feature? > > soundin-family opcodes have the 'iformat' input, where > iformat defaults to 0 which means read the header, but if > no header then use the -o format. > > i would prefer an option to use the header, but if no header > is found, throw an error. i think this to be the default option, but > could live with having to specify it. _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net