
		        Ti-92 Soundlibrary 1.0 (Beta)
				    by
			 Markus Klisics - MarkuSoft

*********************************** MARKUSOFT ****************************************

			     OBS!! MONO SOUND OBS!!

This is the same thing as for old fargo, but now it's Fargo II compatible. I've totally
rewritten the code but it does almost the same thing. It uses full I/O control,
discovered by B.C Turner. Somehow I believe that the quality of the sound is bad, I
don't know why, yet, but I'm trying to figure it out soon. The freq values I use are not
to good either. I'll change them as soon as I get the time to. Except for the playsong
function I've added a beep function that takes to parameters: freq and length.
There are two examples included in the zip: sndex1 and sndex2.

Song format used by sndlib::PlaySong:

<label>:	dc.l	<tempo>
		dc.b	note,len,note,len,255

Tempo is used so you can control the speed of the song even better. Note goes from 0-71
and you can use the table below to translate notes. Length is written like table 2 shows.
Pause is 99 and End of Song is 255 (All same as in earlier version of sndlib).

Tone-table:

      +----+----+----+----+----+----+----+----+----+----+----+----+
      | C  | C# | D  | D# | E  | F  | F# | G  | G# | A  | A# | B  |
+-----+----+----+----+----+----+----+----+----+----+----+----+----+
|OCT1 | 0  |  1 |  2 |  3 |  4 |  5 |  6 |  7 |  8 |  9 | 10 | 11 |
+-----+----+----+----+----+----+----+----+----+----+----+----+----+
|OCT2 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
+-----+----+----+----+----+----+----+----+----+----+----+----+----+
|OCT3 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
+-----+----+----+----+----+----+----+----+----+----+----+----+----+
|OCT4 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 |
+-----+----+----+----+----+----+----+----+----+----+----+----+----+
|OCT5 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |
+-----+----+----+----+----+----+----+----+----+----+----+----+----+
|OCT6 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 |
+-----+----+----+----+----+----+----+----+----+----+----+----+----+


Length Format table (Table 2):

            +-----+-----+-----+-----+-----+
 Length     | 1/1 | 1/2 | 1/4 | 1/8 | 1/16|
            +-----+-----+-----+-----+-----+
 Format     |  1  |  2  |  4  |  8  |  16 |
            +-----+-----+-----+-----+-----+

If you want some help with reading notes etc, I suggest you visit my old soundpage at:
http://www.algonet.se/~mksoft (Click on sound)

*********************************** MARKUSOFT ****************************************

Please report bugs and send commments to:

Email: mksoft@algonet.se
Homepage: http://www.algonet.se/~mksoft

Enjoy!
