From: Clemens Valens Newsgroups: comp.os.msdos.djgpp Subject: Re: audio samples for allegro Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here X-Originating-Host: 195.154.148.69 X-Wren-Trace: cB84GA0fQyIZWks9D1FeRFRMX0pATgpTSUJQTU9SXx9BQApQQApeX0JKQ1RHBkwLUAUSHA1OOzcTAlESAFoYBFRcERs= Message-ID: <930642931.5410@www.remarq.com> References: <7l8nhi$jl1 AT dfw-ixnews6 DOT ix DOT netcom DOT com> Lines: 13 Date: Mon, 28 Jun 1999 23:55:29 -0800 NNTP-Posting-Host: 10.0.3.195 X-Trace: WReNphoon4 930642830 10.0.3.195 (Tue, 29 Jun 1999 00:53:50 PDT) NNTP-Posting-Date: Tue, 29 Jun 1999 00:53:50 PDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I don't know about the Allegro audio format but to convert signed to unsigned is not difficult: add an offset to all samples so that the most negative sample becomes 0. Example: Signed input in [-128,+127], add 127 to each sample and you will get unsigned samples in [0..255]. Clemens **** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ****