[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] readChannels bug ?




Am 26.12.2007 um 01:01 schrieb Zlatko:

Can anyone confirm ?


(
var sf;
sf = SoundFile.new;
if ( sf.openRead("sounds/a11wlk01.wav") ){
	sf.readHeaderAsString.postln;
	sf.close;
};
)



There is only one channel in that file !
Peace, sw










b = Buffer.readChannel(s, "sounds/a11wlk01.wav", channels: [0]);
b.plot; //ok

b = Buffer.readChannel(s, "sounds/SinedPink.aiff", channels: [0,0]);
b.plot; //ok

b = Buffer.readChannel(s, "sounds/a11wlk01.wav", channels: [0,0]);
b.plot; //not ok

Please post the actual fix, beacuse I am working with a build I
cannot rebuild, unless Jan commits the .speak fix !

thanx

Zlatko