Hi all,

I just finished my very first programming class in C. (I got an A!) I feel fairly comfortable with the basics but now that class is over I wanted to challenge myself to write something useful.

I have recently become interested in Amateur (Ham) Radio and I would like to teach myself Morse Code. My goal is to write a C program that will read a simple text file and convert the ascii characters into their corresponding "dots" and "dashes" to be played over the speaker. I would imagine I am looking for some sort of Beep() function that allows me to specify a time interval as an argument. What also comes to mind is some sort of way to pause between letters.

My problem is, I can't seem to find a function that allows me to access the speaker! I have searched prior threads, but the solutions offered seem like overkill - I don't want to playback MP3s and I'm not sure I know enough yet to be tooling around with libraries that access the soundcard.

FYI, just in case it matters I am running Ubuntu 7.10 with the GNU/gcc compiler and the regular old standard set of library/header files that come with it.

Any and all suggestions are greatly appreciated!
Thanks,
-Dave