RE: Converting/Playing WAV files

From: COPLIN, Nicholas. (ncoplin_at_orbeng.com.au)
Date: 2000-05-18 03:13:58

Hi all, (sorry for late reply but my email server was down 11/5 - 17/5)
thanks for the info Marko, could you explain how though I would play the
4bit sample? I just don't know enough about the SID - I can program notes..
but digital sounds?  Is it just a case of volume modulation?

- Nick

> -----Original Message-----
> From:	Marko Mäkelä [SMTP:msmakela@cc.hut.fi]
> Sent:	Wednesday, 10 May 2000 15:21
> To:	cbm-hackers@dot.tcm.hut.fi
> Subject:	Re: Converting/Playing WAV files
> 
> On Wed, 10 May 2000, COPLIN, Nicholas. wrote:
> 
> > Can any one recommend a PC tool to convert WAV sound files into
> digitised
> > sound samples for the C64.
> 
> As far as I know, the WAV format consists of uncompressed raw audio
> samples.  There may be different variants of it (8-bit, 16-bit, mono,
> stereo); you should maybe experiment a little, or get some WAV
> documentation from somewhere.
> 
> A long time ago, I made a few experiments.  I just took the 4 most
> significant bits of each WAV sample, and packed two of them in a byte. I
> wrote a simple player that played these at a constant speed in a busy
> loop.  You probably should use some kind of RLE compression to save space,
> and you may want to scale the samples.  For instance, if the WAV file
> appears to use slightly more than 13 bits, you would multiply the samples
> by 6 or 7 to move the signal to the most significant bits.
> 
> BTW, I remember reading about a MOD player for the C128 (I think it was
> MOD).  Does anyone know anything about this?
> 
> 	Marko
> 
> -
> This message was sent through the cbm-hackers mailing list.
> To unsubscribe: echo unsubscribe | mail
> cbm-hackers-request@dot.tcm.hut.fi.
----------------------------------------------------------------
PLEASE TAKE NOTE:

The contents of this email (including any attachments) may be 
privileged and confidential. Any unauthorised use of the contents
is expressly prohibited.  If you have received this email in error,
please advise us immediately (you can contact us by telephone 
on +61 8 9441 2311 by reverse charge) and then permanently 
delete this email together with any attachments. We appreciate 
your cooperation.
 
Whilst Orbital endeavours to take reasonable care to ensure 
that this email and any  attachments are free from viruses or other
defects, Orbital does not represent or warrant that such are free from 
computer viruses or other defects.

(C) 2000: Orbital Engine Company (Australia) Pty Ltd and its affiliates
-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.

Archive generated by hypermail 2.1.1.