Hey guys I am new to this fourm and the program Matlab. I goto FAU (Florida Atlantic University) in Boca Raton. I am supposed to write a program that generates notes (C,C# etc to next C). The function should output a vector of samples of a note at the specified sampling rate and for the specified duration. Typical duration value for a quarter note is 0.15 seconds and an acceptable sampling rate is 10,000 samples per second. The function should be called "mytone."
The second half consists of writing a main program that calls on mytone for notes in a song or a score so that your program "plays" music. Suggestions are "Mary had a little lamb" "Captown races(?)" or "Twinkle twinkle little star". You may choose more sophisticated pieces if you like.
If any of you guys could help me that would be awesome!!