[comp.sys.amiga.audio] PC VOC files

moonhawk@bluemoon.uucp (David Culberson) (04/24/91)

        OK everybody, I was wanting to know ANY and ALL info you would 
happen to have on the IBM soundblaster VOC files and the Amiga IFF 8svx 
format. I am learning C programming on the Amiga, and I want an excersize 
to see if I am learning right, and to learn file I/O and the use of 
devices in the Amiga. I am relatively new, so ANY help with C you could 
give me would be much appreciated! How about it? Is this too big of a 
project for a new C programmer to take on? I read several local messages 
about people wanting to convert and use the IBM files in their Amiga SW, 
but they couldn't find anything to do this. How difficult will it be? I 
heard the Audio.device is the hardest device to program, and to learn 
about others before this one. Is this so? I would want to know which ones 
to use to begin with, then. Any excersizes (useful ones I could intro. to 
the Public domain) that you could suggest?
                        David


 This is from
     moonhawk@bluemoon.uucp
     moonhawk%bluemoon@nstar.rn.com
who doesn't have their own obnoxious signature yet

tinman@agora.rain.com (David Tinnyo) (04/25/91)

In article <XoLV13w164w@bluemoon.uucp> moonhawk@bluemoon.uucp (David Culberson) writes:
>
>        OK everybody, I was wanting to know ANY and ALL info you would 
>happen to have on the IBM soundblaster VOC files and the Amiga IFF 8svx 
>format. I am learning C programming on the Amiga, and I want an excersize 

There's a shareware program out for PC's that lets you edit/play Amiga
MOD files (its called ScreamTracker).  There's a utility in it that converts
.VOC files into Amiga samples.  The technical docs say that .VOC files have
a 32-byte header followed by 8-bit UNSIGNED sample data (this is only for
non-packed .VOC files).  It also mentions that Amiga samples (IFF?) are
stored as 8-bit SIGNED data.  The conversion should be as simple as adding
(or subtracting) 128 from the sample values.

ScreamTracker should be available on most PC BBS that have SoundBlaster
coverage.  It's got some good documentation on the .MOD format as well.

I hope this helps...

-- 
---
David E. Tin Nyo                       "The key to the future is information,
tinman@agora.rain.com                   and it is FREE."  -The Phoenix Project
---