🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun.hardware
Article #3673

intricate sound problem

#3673
From: Christopher Ahlberg
Date: Wed, 17 Feb 1993 22:14
17 lines
1695 bytes
I have an interesting problem when using the sound capabilities of the Sun
SPARC. I want to generate a continuous background sound which will sometimes
change frequence. The continious sound itself is no big deal, I just do
something like  'write(fd_out, (char *)out_bufA[freq], remain)' continuously. 
But when I want to change frequence I run into two problems. 

When I change it something strange happens and it starts to sound 
awful - there's a very disturbing background noice.
Second, I want to change the frequence immediately - which means that I 
will have to empty the buffer with 'ioctl(fd_out, I_FLUSH, FLUSHW)' - but 
this also make it sound awful.

Does anyone know a solution to this? What's important is that I need a sound
that is continuous and can change fast!

Thanks!
Technical Details
Message-ID: <C2M5sv.GH1@news.chalmers.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!gatech!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!chalmers.se!news.chalmers.se!dtek.chalmers.se!d8ahlcr

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f4671,cebd81ee63882b3d,start
X-Google-Attributes: gidf4671,public
X-Google-Thread: f6653,cebd81ee63882b3d,start
X-Google-Attributes: gidf6653,public
X-Google-Thread: 101dce,cebd81ee63882b3d,start
X-Google-Attributes: gid101dce,public
X-Google-ArrivalTime: 1993-02-17 14:14:54 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!gatech!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!chalmers.se!news.chalmers.se!dtek.chalmers.se!d8ahlcr
From: d8ahlcr@dtek.chalmers.se (Christopher Ahlberg)
Newsgroups: comp.sys.sun.hardware,comp.sys.sun.misc,cth.mail.sunmgr
Subject: intricate sound problem
Message-ID: <C2M5sv.GH1@news.chalmers.se>
Date: 17 Feb 93 22:14:54 GMT
Sender: news@news.chalmers.se
Organization: Chalmers University Of Technology
Lines: 17
Nntp-Posting-Host: hacker.dtek.chalmers.se