Newsgroups: rec.arts.int-fiction
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!newshunter!cosy.sbg.ac.at!newsfeed.stueberl.de!cox.net!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!world!not-for-mail
From: buzzard@TheWorld.com (Sean T Barrett)
Subject: Re: [Glulx] Problem with WinGlulxe and sound
Sender: news@world.std.com (Mr Usenet Himself)
Message-ID: <GxtGu1.ILn@world.std.com>
Date: Sun, 16 Jun 2002 20:56:24 GMT
References: <b5b859fd.0206121603.70444ed4@posting.google.com> <aef1n6$27h$1@helle.btinternet.com> <GxrHo3.Iu5@world.std.com> <aeiln1$mth$1@knossos.btinternet.com>
NNTP-Posting-Host: shell01.theworld.com
Organization: The World Public Access UNIX, Brookline, MA
X-Newsreader: trn 4.0-test72 (19 April 1999)
Lines: 20
Xref: news.duke.edu rec.arts.int-fiction:105103

David Kinder <d.kinder@btinternetspamnothankyou.com> wrote:
>> modulo handling sounds beginning and ending, and clamping
>> the sound buffer to 16-bit afterwards, which will grow the
>> code to, oh, 20 lines or so.
>
>Hmmm, okay, it's clearly less complex than I had imagined.
>I'll add adding waveout support to my (long) todo list.

Hrm, actually, I left out a kind of major issue--resampling
sounds to all be at the same sampling rate. You can find
code to do that online, though (for example, Zarf has code
to do this in Boodler, I think). I usually think of this
from the perspective of a someone authoring a game--I get
to author all the sounds at the same sampling rate anyway,
so I don't have to do that--rather than as a terp author,
who has to handle all and sundry.

But I don't think it should be all that bad.

SeanB
