From: Michael Burian Newsgroups: comp.os.msdos.djgpp Subject: Re: Realtime Sound Date: Sat, 29 Jan 2000 23:39:15 +0100 Organization: Ye 'Ol Disorganized NNTPCache groupie Lines: 36 Message-ID: <38936C13.E8C7B118@sbg.at> References: NNTP-Posting-Host: staticip251.salzburg-online.at Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: rohrpostix.uta4you.at 949184421 24538 195.70.239.251 (29 Jan 2000 22:20:21 GMT) X-Complaints-To: news-admin AT utanet DOT at NNTP-Posting-Date: 29 Jan 2000 22:20:21 GMT X-Mailer: Mozilla 4.51 [en] (X11; U; Linux 2.2.7 i686) X-Accept-Language: de-AT, en Cache-Post-Path: peppi!unknown AT 10 DOT 86 DOT 8 DOT 7 X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id RAB24533 Reply-To: djgpp AT delorie DOT com Gisle wrote: > > Do anyone know how to manipulate sound in realtime > (treble+bass+effects) --jgmod this is IMHO quite a kafkaesque thing to do on PCīs without custom made hardware. Most soundcard support just DMA at reasonable sampling rates, -depths, -frequencies, and setting up 4 byte sized DMA buffers will load your CPU near breakdown (44100 IRQīs per second), If you can live with small delays, (1 milliseconds and below) you can reduce buffer size from the recomended 4096 bytes down till clicking and poping occurs, but in general you have to get your feet wet and solve the problem on a very low level (Assembler), this mostly leads to non portable and heavily system dependant programming, and if you have to do some serious DSP, Iīm quite sure you wonīt get around buying a DSP evaluation board. (to save you from learning another low level language make sure that a free C compiler is included) this shouldnīt discourage anybody from putting effort into the attempt of doing DSP with PCīs, but as far a I have tried itīs quite a pain to do the really interesting things in the noise area. btw: some soundcard are equipped with programable mixers (yes, treble, bass) but Iīm quite sure thatīs nothing new for you, and FX canīt be done that way.