On Wed, Mar 13, 2019 at 09:19:18PM +0000, john wrote: > The bug report is in the issues. It was opening files as raw when incorrect > and thus generating nasty sounds. The revised version ignores the format if > positive (for backward compatability but with any header it is unnecssary) > and if negative it uses the format negated with a raw format. There were > extensive discussions at the time; not sure if they were public or not. > This seemed (and still seens) the best solution. > > Note there was a coding error in gen01 that gave an incorrect error if the > format was negative; I think that is now corrected. > Thanks for the explanation, But couldn't you check for the header *first*, and only use the (positive) format value if that is missing? If people were getting nasties by using a format with, say, a WAV file, wouldn't they have had to correct things at the time? -- Pete -- Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here