Introduction - If you have any usage issues, please Google them yourself
The functions convert sol-fa notation in plain text to a matrix or to a MIDI sequence that represents the sound, or read the note data from a MIDI sequence and convert it to sol-fa notation.
The GUI is an attempt at a sol-fa editor and a staff-to-sol-fa converter.
Functions will work while the sol-fa2soundfcn folder is on the Matlabpath. Use the pathtool command or Set path... from the File menu, and add the sol-fa2soundfcn folder.
The m-code calculates pitches and durations from the plain text input and generates a signal for the speakers as
y = Y* sin(2* pi* f* t), 0 < t < duration
or generates note data for a MIDI sequence as
timestamp pitch velocity timestamp ...
The output is written to:
* speakers using SOUNDSC
* audioplayer object using AUDIOPLAYER
* WAVE Sound file using WAVWRITE
* MIDI sequence using FWRITE
To generate sol-fa notation, the m-code gets the note data from a MIDI sequence using FREAD, converts it to sol-fa symbol