Path: chuka.playstation.co.uk!news From: Jim Newsgroups: scea.yaroze.programming.sound Subject: Re: Sound Buffer Date: Wed, 02 Jul 1997 11:32:24 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 18 Message-ID: <33BA2E38.61BEA4C8@micronetics.com> References: <01bc864a$a0432c70$5271df26@disintegration> NNTP-Posting-Host: jim.micronetics.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.0b4 [en] (Win95; I) X-Priority: 3 (Normal) Benjamen Siroshton wrote: > > How do I copy the SPU's sound buffer to main memory for further analysis? > I don't think you can. The Spu has its own 1/2meg buffer which is loaded from main memory via dma. Once its there its there, and no getting it back. You could have a bit of a play with the SPU hardware registers that are located somewhere in the 0x1f81000-0x1f85000 region I believe. Where exactly I'm not sure. If you want to trigger events on certain notes I guess you could try and spy on the audio lib functions and see when a note is keyed on. Is this to sync visual effects with audio? Jim