On Thursday 19 January 2006 09:05, Erik de Castro Lopo wrote: > > diskin: opened '/media/sda1/mix.wav': > > 0 Hz, 44100 channel(s), 25491455 sample frames > > INIT ERROR in instr 1: diskin: number of output args inconsistent with > > It seems that you are trying to load a mono file into twe channels. No, the file information printed is bogus (44100 channels ?), and suggests a binary incompatibility between the Csound library and libsndfile. I think when compiling libcsound the sf_count_t type was 32 bit, while it was 64 bit when libsndfile was compiled. Looking at the SF_INFO structure, struct SF_INFO { sf_count_t frames ; int samplerate ; int channels ; ... it is obvious that 'samplerate' is actually the upper 32 bits of 'frames' (i.e. zero), and 'channels' is the sample rate. The solution is probably to remove all old libsndfile and Csound headers and libraries, recompile and reinstall libsndfile 1.0.12, and then recompile and reinstall Csound. > I would suggest that either: > > a) csound should flag this an an error It does exactly that, if you read the message printed. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net