Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!hao!gatech!udel!udccvax1!gdtltr From: gdtltr@vax1.acs.udel.EDU (Gary D Duzan) Newsgroups: comp.sys.atari.8bit Subject: Re: music (16-bit) Message-ID: <755@udccvax1.acs.udel.EDU> Date: 2 Mar 88 21:08:30 GMT References: <5421@watdragon.waterloo.edu> Reply-To: gdtltr@vax1.acs.udel.EDU (Gary D Duzan) Organization: University of Delaware Lines: 52 Keywords: music In article <5421@watdragon.waterloo.edu> swklassen@trillium.waterloo.edu (Steven W. Klassen) writes: >I am aware that by combining two of the voices I can get 16-bit accuracy >and greater range. I am capable of doing this, however, I do not know >what numeric values are required to produce each specific note >(eg. 'middle C'). If someone out there has a table with this info >could you please send it to me either through e-mail or through >the bit-net. Please don't just refer me to DeRe Atari as I do >not have access to that publication. > Your wish is my command. Here is a list of 16 bit sound register values: Note Octave 0 Octave 1 Octave 2 Octave 3 Octave 4 ---- -------- -------- -------- -------- -------- C 54720 27357 13675 6834 3413 C# 51649 25821 12907 6450 3222 D 48750 24372 12182 6088 3040 D# 46015 23003 11498 5746 2869 E 43430 21712 10852 5423 2708 F 40992 20493 10243 5118 2555 F# 38691 19342 9668 4830 2412 G 36519 18257 9125 4559 2276 G# 34469 17231 8612 4303 2148 A 32535 16264 8128 4061 2027 A# 30708 15351 7672 3832 1913 B 28984 14489 7241 3617 1805 Note Octave 5 Octave 6 Octave 7 Octave 8 ---- -------- -------- -------- -------- C 1703 848 412 207 C# 1607 800 397 195 D 1517 755 374 183 D# 1431 712 353 173 E 1350 672 332 163 F 1274 634 313 153 F# 1202 598 295 144 G 1134 564 278 136 G# 1070 532 262 128 A 1010 501 247 120 A# 962 473 233 113 B 899 446 219 106 You will have to dpoke these numbers into the proper registers with the proper flags set for it to work at all. I hope this list helps. A similar list may be found in "ATARI Assembly Language Programmer's Guide" by Moose and Lorenz, Weber Systems, Inc., Chesterland, Ohio. Gary Duzan Time Lord Third Regeneration Atari Enthusiast Extreme