[PD] writesf~ blockalign bug

Miller Puckette mpuckett at man104-1.ucsd.edu
Sun Jan 25 08:10:47 CET 2004


thanks... fixed in 0.37test6...
On Sat, Jan 24, 2004 at 07:25:52PM +0100, Emmanuel Rio wrote:
> 	Dear list,
> 
> 	I noticed a very little bug in writesf~ when trying to read in 
> 	Windows Media Player sound files written with PD's writesf~. This problem 
> occurs when writing WAV files with 2 or more channels. Such files are not 
> recognized by Windows Media Player, whereas Adobe Audition (in my case) 
> manages to read them. By saving the file read by Audition and comparing 
> the original with the copy, I noticed that the BlockAlign value written 
> by writesf~ in the WAV header is not correct. Whereas it should be :
> 	nBlockAlign = nChannels * (nBitsPerSample / 8)
> it remains nBitsPerSample/8, i.e. 2 in my case, and does not change 
> according to the number of channels.
> 	My configuration (if helpful) :
> OS : Windows XP
> PD : pd-0.37-0.msw
> 
> 	BTW, any link to a bug list for PD would be appreciated.
> 
> 	Best regards,
> 
> 	Emmanuel Rio
> 
> 
> 
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list




More information about the Pd-list mailing list