Path: vanilla!asbach!noris.net!blackbush.xlink.net!tank.news.pipex.net!pipex!oleane!jussieu.fr!fdn.fr!uunet!in2.uu.net!salliemae!newsfeed.internetmci.com!news.ac.net!news.cais.net!news.mathworks.com!news-res.gsl.net!news.gsl.net!EU.net!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!sunsite.doc.ic.ac.uk!yama.mcc.ac.uk!news.york.ac.uk!tower.york.ac.uk!cl102 From: Chris Laird Newsgroups: comp.sys.sinclair Subject: .WAV file format Date: Fri, 7 Jun 1996 15:41:30 +0100 Organization: The University of York, UK Lines: 5 Message-ID: NNTP-Posting-Host: tower.york.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII There is a description in a FAQ document at ftp://ftp.cwi.nl/pub/audio/RIFF-format which I won't reproduce here as it's quite long and doesn't mean much to me. ---- Path: vanilla!asbach!noris.net!blackbush.xlink.net!tank.news.pipex.net!pipex!oleane!jussieu.fr!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!usenet.eel.ufl.edu!warwick!lyra.csx.cam.ac.uk!news.ox.ac.uk!elliott From: elliott@teaching.physics.ox.ac.uk (John Elliott) Newsgroups: comp.sys.sinclair Subject: Re: .WAV file format Date: 14 Jun 1996 14:06:34 GMT Organization: Oxford University Lines: 91 Message-ID: <4prrla$ng6@news.ox.ac.uk> References: NNTP-Posting-Host: teaching12.physics.ox.ac.uk X-Newsreader: TIN [version 1.2 PL2] In article , Chris Laird (cl102@york.ac.uk) wrote: : There is a description in a FAQ document at : ftp://ftp.cwi.nl/pub/audio/RIFF-format : which I won't reproduce here as it's quite long and doesn't mean much to me. Here's the listing from Born's book on file formats (on open shelves in the Radcliffe Science Library, if anyone in Oxford's interested). .WAV is a subset of the RIFF format as mentioned above, and comes in "chunks": DB = Bytes DW = 16-bit value, little-endian DD = 32-bit value, little-endian Header chunk: DB 'RIFF' DD 4 ;Length of "WAVE" string. DB 'WAVE' ;Identifies it as a .WAV file Format chunk: DB 'FMT ' DD 10h ;Length of format data DW type ;Mono or stereo. Either 0=Mono, 1=Stereo ; or 1=Mono, 2=Stereo ;(Born gives both in different places) DW channel numbers ;? DD Sample rate, Hertz DD Bytes per second DW Bytes per sample ;1 for 8-bit mono ;2 for 8-bit stereo or 16-bit mono ;4 for 16-bit stereo DW Bits per sample Data chunk: DB 'data' DD length of data DB data. In a stereo file, samples are arranged L,R,L,R... According to Born, there are usually just the three chunks, but there may be more data. It is not clear whether he means: Header, format, data, format, data, format, data, ... or Header, format, data, data, data, ... -- Apologies for the long sig, btw, but this sort of thing does happen when wizards get hit by magic bolts... --------------------------- Simon Magus MAGIC BOLT 6 John Elliott | \:/~^~ _o \|/ CHAOS in a sig... | - - ==@ |\ V --------------------------- /:\ ;==;< _//\\ A .|. \o_ \o_ \o_ \o_ \o_ \o_ /|\o_ \o_ \o_| /|\o_\o_\o_| /|\o\o_o_| -------------------------/|\\o__| Simon Magus MAGIC BOLT 6 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\ooooooooooooooooooooooooooooooooooooooooooooooo_ |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| /////////////////////////////||||||||||||||||||||||||||||||||||||||||||||||| \o/||||o_ \o/|/|/||o_ \o/| /|_/||o_ \o/| /|_ /||o_ \o/| /|_ /||o_ \o/| /|_ /||o_ /| /| /|| /| /| /| --------------------------- Simon Magus is the winner John Elliott | (O) _o \|/ CHAOS in a sig... | (()) |\ V --------------------------- ((O)) _(()) A .|. ---- Xref: vanilla comp.sys.sinclair:3644 Path: vanilla!asbach!noris.net!blackbush.xlink.net!howland.reston.ans.net!tank.news.pipex.net!pipex!usenet.eel.ufl.edu!bofh.dot!warwick!bignews.shef.ac.uk!not-for-mail From: thdb86%teach@dcs.shef.ac.uk (Damion Yates) Newsgroups: comp.sys.amstrad.8bit,comp.sys.sinclair,comp.sys.acorn.programmer Subject: Re: AY-3-819x PSG noise Followup-To: comp.sys.amstrad.8bit,comp.sys.sinclair,comp.sys.acorn.programmer Date: 3 Jun 1996 16:23:16 GMT Organization: Department of Computer Science, University of Sheffield Lines: 17 Message-ID: <4ov3hk$cjk@bignews.shef.ac.uk> References: <4ounj0$i9u@lyra.csx.cam.ac.uk> NNTP-Posting-Host: suna29.dcs.shef.ac.uk X-Newsreader: TIN [version 1.2 PL2] M.G. Rison (mgr11@cus.cam.ac.uk) wrote: : [Note cross-post] : Bonus question: ISTR reading that something wacky happens when you try : to combine tone and noise on the AY-3-819x -- you don't just get a : simple summation of sounds. Is this true, and if so, what is the exact : behaviour? It sounds exactly like just a sumation, on a real speccy. One thing I have noticed though, is that when you combine tones on real speccy its NOTHING like the sounds Z80 makes. I'm pretty sure the AY-3-819x is whats wrong, as sounds become to quiet. : Mark "or should I just reverse-engineer BBCSound/AYSound?" -- Damion Yates - Sheffield Uni, UK. http://www.bath.ac.uk/~exxdmy