Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!corton!chorus!opera.chorus.fr!mir From: mir@opera.chorus.fr (Adam Mirowski) Newsgroups: comp.sys.ibm.pc.hardware Subject: Re: Sound Blaster .VOC file format Keywords: Sound Blaster Message-ID: <8146@chorus.fr> Date: 7 Mar 91 15:59:42 GMT References: <1991Mar7.000702.3989@dsd.es.com> Sender: mir@chorus.fr Reply-To: mir@opera.chorus.fr (Adam Mirowski) Organization: Chorus systemes, Paris, France Lines: 22 In article <1991Mar7.000702.3989@dsd.es.com>, galt@baby.dsd.es.com (Greg Alt - Perp) writes: %% I have figured out most of the .VOC format, and here it is: %% HEADER: (bytes 00-19) %% byte # Description %% ------ ----------- %% 00-12 Creative Voice File %% 13-15 1A 1A 00 (eof to abort printing of file) I have seen on sequent.mcs.kent.edu the source of a simple player, which seems to be part of the SB development kit. The word at offset 14 is the offset fron file beginning to the first data block, that you have to pass to the resident driver playing routine. Here it is 1a 00, and as you can see, the first block begins at 1a offset :-) %% DATA: (bytes 1A+) A series of data blocks terminated by 00 %% [...] %% Sample rate -- SR byte = 256-(1000000/sample_rate) Brilliant! How did you obtain this? -- Adam Mirowski, mir@chorus.fr (FRANCE), tel. +33 (1) 30-64-82-00 or 74 Chorus systemes, 6, av.Gustave Eiffel, 78182 Saint-Quentin-en-Yvelines CEDEX