Path: utzoo!attcan!uunet!van-bc!ubc-cs!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!quiche!homer!quiche.cs.mcgill.ca From: philwzo@quiche.cs.mcgill.ca (Philippe WIECZOREK) Newsgroups: comp.sys.next Subject: Trouble with Sound Processing on the NeXT, again ! Keywords: Sound processing, Mono & stereo sounds, conversions Message-ID: <49@homer.cs.mcgill.ca> Date: 21 Nov 90 05:38:47 GMT Sender: philwzo@quiche.cs.mcgill.ca Organization: SOCS - Mcgill University, Montreal, Canada Lines: 30 The method (int)convertToFormat:(int)aFormat samplingRate:(double)aRate channelCount:(int)aChannelCount for converting a sound works fine to change the format or the sampling rate of a sound, but it seems not to work for changing the number of channel of the sound. Indeed, I did not manage to convert a stereo channel sound to a mono one. What is the correct way to do that ? Is the fdfilter.c's convertToMono (SNDSoundStruct **) function correct ? (the fdfilter.c is located in the directory : /NextDeveloper/Examples/DSP/ArrayProcessing/fdfilter ) Thanx for any reply... Phil. /============================================================\ /==============================================================\ // Philippe WIECZOREK. | e-mail : philwzo@cs.mcgill.ca \\ // Speech Lab. | Only NeXT makes it possible \\ // McGill University, | Please forgive me my english \\ // Montreal PQ. CANADA. | I am just a little frenchie ! :-) \\ /========================================================================\ /==========================================================================\