www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/29/10:00:18

From: Chris Kello <kello AT cnbc DOT cmu DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: allegro sound recording problem
Date: Tue, 29 Sep 1998 09:50:10 -0400
Organization: Carnegie Mellon Univ. -- Computer Science Dept.
Lines: 19
Message-ID: <3610E591.622C32FB@cnbc.cmu.edu>
References: <36110A59 DOT 424D AT post DOT tau DOT ac DOT il>
NNTP-Posting-Host: postoffice.srv.cs.cmu.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am recording from a microphone using allegro's WIP
start_sound_input and read_sound_input routines.  I have
a true SB16 sound card (not a compatible).

The wave form is saved as 16-bit unsigned, and I am
converting it to 16-bit signed by subtracting 0x80 to each
byte.  I am saving it as a VOC file (long story why I'm
using this format, just work with me).  When I listen
to one of my VOC  files in a standard wave editor, it sounds
OK, except there is this overlay of static.  The static is not
from the mic or wave editor because I can make VOC recordings
from other programs just fine.

Anyone know where this static might be coming from?  I thought
it might be my conversion to VOC format, but I've tried a bunch
of different tweaks (e.g., leaving it unsigned), and I can't get it
to work.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019