Hi All, I went to try out LPC export today and found it broken. I added some printf code like so: if (fread(&hdr, sizeof(LPHEADER)-4, 1, inf) != 1 || (hdr.lpmagic != LP_MAGIC && hdr.lpmagic != LP_MAGIC2)) { printf("Failed to read LPC header\n"); return 1; } fprintf(outf, "%ld,%ld,%ld,%ld,%f,%f,%f", hdr.headersize, hdr.lpmagic, hdr.npoles, hdr.nvals, hdr.framrate, hdr.srate, hdr.duration); printf("%ld,%ld,%ld,%ld,%f,%f,%f", hdr.headersize, hdr.lpmagic, hdr.npoles, hdr.nvals, hdr.framrate, hdr.srate, hdr.duration); printf("\n%d\n", hdr.headersize-sizeof(LPHEADER)+4); str = (char *)malloc(hdr.headersize-sizeof(LPHEADER)+4); fread(&hdr, sizeof(char), hdr.headersize-sizeof(LPHEADER)+4, inf); for (i=0; i> http://get.splunk.com/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net