home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!funic!sauna.cs.hut.fi!news.cs.hut.fi!oahvenla
- From: oahvenla@snakemail.hut.fi (Osma Ahvenlampi)
- Newsgroups: alt.sys.amiga.demos
- Subject: Re: Criti!
- Date: 11 Dec 92 18:39:48 GMT
- Organization: Helsinki University of Technology, Finland
- Lines: 46
- Distribution: inet
- Message-ID: <OAHVENLA.92Dec11203948@lk-hp-4.hut.fi>
- References: <1992Dec11.043853.23553@u.washington.edu>
- NNTP-Posting-Host: lk-hp-4.hut.fi
- In-reply-to: foregone@stein.u.washington.edu's message of Fri, 11 Dec 1992 04:38:53 GMT
-
- In article <1992Dec11.043853.23553@u.washington.edu> foregone@stein.u.washington.edu (Carl Chavez) writes:
-
- >How come an Amiga MUST have samples? I find it incredible that a computer
- >in this day and age is incapable of creating sounds in other ways. After all,
- >even ancient computers created sound simply by changing the frequency of
- >clicks created by electrical activity! (Example: Apple II music and speech)
-
- There are basically two ways to produce sound:
-
- 1) A couple of basic waveforms, and ADSR envelope, like the C-64 has. ADSR
- envelope affects the time-amplitude, waveform the 'sound'.. I count FM
- synthesis in this group too...
- 2) A data line to the audio output.
-
- Method 2) means you can generate sound either by poking the register associated
- with the data line, or use DMA to poke it, if the computer supports it. With
- DMA, you can only use precalculated samples, if you use processor, you can
- theoretically calculate the values on the fly, but that would usually take
- so much time that the quality would be unacceptable.
-
- These 'clicks' you mention happen because when you change the voltage on the
- audio output, the speaker clicks. The bigger the change, the louder the click.
- DMA does exactly this, it read memory at a defined speed and pokes the values
- to the register.
-
- You could do something like this on C-64 also, by changing the volume fast
- enough.. This way you could get the 3 normal channels and a 4th 'channel'
- for playing digitized sound, like drums.
-
- If you have good enough audio control, you can do several other things beside
- the DMAing samples, like changing the speed while playing (vibrato), changing
- the volume while playing (tremolo, isn't it? I'm not too good with these terms)
- modulating one channel with another, etc...
-
- Amiga has no method 1 sound. It's pretty limited, you can not get anything
- really natural sounding, only something sounding just as synthesized as it is.
- With method 2, you can recreate any sound, if you have enough memory to store
- it, but all the real time effects you can get with the hardware associated
- with method 1 are not possible..
-
- As for whether it's incredible that there's 'no other way' to create sound,
- consider that the PC audio card using FM synthesis are considered obsolete,
- and the new cards have only DMA channels...
- --
- Osma Ahvenlampi - oahvenla@snakemail.hut.fi * Workstation power for micro-
- All my opinions are not necessarily really mine * computer price: Amiga := FUN
-