[comp.sys.amiga.programmer] atari sounds

mykes@sega0.SF-Bay.ORG (Mike Schwartz) (03/25/91)

In article <8607@mentor.cc.purdue.edu> maverjj@mentor.cc.purdue.edu (John Maver) writes:
>How can I convert atari ST digitised snd's so that I can hear them?  AudioMasterIII reads them as basically static.
>		Thanks,
>		John Maver

All you need to do is to xor every byte in the ST sample with $80:

for (i=0; i<SAMLE_LENGTH; i++) sample[i] ^= 0x80;

This same conversion works for making Mac sounds work on the Amiga.

--
*******************************************************
* Assembler Language separates the men from the boys. *
*******************************************************