Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!ubc-cs!scheme.cs.ubc.ca!c6787903 From: c6787903@scheme.cs.ubc.ca Newsgroups: comp.sys.next Subject: next programming (sound) Message-ID: <1991Feb19.202352.8699@scheme.cs.ubc.ca> Date: 19 Feb 91 20:23:52 GMT Sender: news@scheme.cs.ubc.ca Organization: Scheme Lab, Computer Science, UBC, Vancouver, B.C., Canada Lines: 15 Hi! I've got a couple of programming problems: a) I want to be able to change the replay speed of CODEC sounds. How do I do this? At present I get a pointer to the sound data, and then I a make a new SNDstruct. Into that sound struct I copy all my old data, duplicating samples if I want to slow things down, and cutting some if I want to speed things up. This seems totally crazy, since all I want is tell the DSP to replay slower/faster. b) Is there some way of getting a pointer to the samples that the DSP is processing while a sound is being played? Goal here would be instant rewind/replay/ffwd etc. I figure there must be some way for the DSP to keep track of the memory it's reading from, so why not alter that pointer? c) What exactly is the MULAW_SQUELCHED format (= I want the GORY details!)? Goal is to slow text down for a typist: scan through the sound, find all encoded silences, strech them as necessary, then play. d) What is the .wn file format? Is there a wn2ascii out there? Thanks. (please E-mail me since I usually don't read the news: c6787903@scheme.cs.ubc.ca)