[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Very basic sound programming question



On 2009-03-31, Simon D. Williams <admin@retro-net.org> wrote:
> On Tue, 31 Mar 2009, Jim wrote:
>
>> Out of interest is there any way to control volume?
>
> Not trivially... there are some assembly programs from the Assembly Lines 
> zine that claim to support some limited volume control, but I've never 
> got round to trying them...

Right-o, thanks. It's not really a problem but I just thought I'd ask.

>
> Alternately you could use DAC.522 to playback actual samples. You could 
> even dynamically generate the samples if the waveforms are simple enough.

Due to the limitations of my system (the serial card isn't a Super Serial
Card, or compatible enough) I can't use something like ATDPro to get stuff
over onto my //e.

The reason I'm after the sound programming advice is actually rather childish
- I use my //e to monitor my main FreeBSD box's filewall (it outputs it over
  a serial link) at a suitably silly baud rate (300 or less) for that
authentic early-80's feel. I just want to generate some suitably silly
sounds while it's doing that.

I _was_ just using X = PEEK (-16336) to click the speaker, but since I
just erased the programme by mistake and need to re-enter it, I thought I'd
try for something a little less...cicky.

Told you it was childish..:-)

Jim
-- 
http://www.ursaMinorBeta.co.uk  http://twitter.com/GreyAreaUK
Please help save Bletchley Park - sign the petition for
Government funding at:     (open to UK residents and ex.pats)
http://petitions.number10.gov.uk/BletchleyPark/    Thank you.