Ah ok, it looks like I mis-interpreted your post. Ignore my second post regarding text to speech. But my first post would be relevant!
All you need to do is write a script that can read a text file and convert the letters to whatever notes you require, then it’s just a case of playing back the notes.
You could do it by calculating the frequencies of each note and generating a sine-wave at the required frequency and playing it back using some kind of sound library. Or you could convert the letters to MIDI notes and have some other module play back the MIDI file.
From what I recall csound is a standalone executable/library that can be used to generate computerised music.
I don’t think you need to know C to be able to use it. There are some other programs available, but I can’t remember them offhand. And I’m not near my PC this weekend!
Wow! Thank you for sketching out how I might do it. I believe my technical background will make it possible for me to figure out how to implement what you outlined, provided I have links to the Internet sites which would give me a rough idea of how to do each thing you suggested. The following are some thoughts which came to my mind as I tried to imagine how I might do what you say.
1.) "All you need to do is write a script that can read a text file and convert the letters to whatever notes you require, then it’s just a case of playing back the notes."
A.) Okay I'm thinking, first I will Google or YouTube something like, "script convert", without the quotes. I wish I knew what you know because then I would know what words would be best Googled to put me in the info ballpark where I might learn to write such a script to convert the letters to whatever notes I require.
B.) Also, I'm wondering if a plain old script could play back those notes.
2.) "You could do it by calculating the frequencies of each note and generating a sine-wave at the required frequency and playing it back using some kind of sound library. "
A.) I think I know what a sine wave looks like. And I think there is a mathematical function which, if plotted, gives the graphical representation of a sine wave. So, I'm thinking if I send a specific frequency sine waved voltage to an audio speaker, it will produce a simple pure musical tone. So, I need a sine wave generator which will send it's output as discrete actual voltage values to my device's audio speaker or an MP3 file.
B.) I'm not sure what a sound library is but I am imagining that if I were to ask the sound library to play the middle c frequency, it would ask me whether I want to play the pure tone or do I want to play it as a piano or some other instrument. So, I input the desired frequency into the sound library which then outputs the audible musical tone of the same frequency. Or does some other program have to retrieve and then play the desired frequency that is housed in the sound library?
3.) "Or you could convert the letters to MIDI notes and have some other module play back the MIDI file."
A.) I'm thinking I should Google or YouTube, "midi notes", and study the web pages linked in the search results. Likewise for, "midi file playback module".
4.) "From what I recall csound is a standalone executable/library that can be used to generate computerised music. I don’t think you need to know C to be able to use it."
A.) I'll Google or YouTube csound for web pages to explain it to me.