Appendix 3
List of the source files used in Speedy Composer
MATLAB source files:
File Name | Description |
compose.m | compose songs (trained nets must already be in memory). |
create_net.m | return an Artificial Neural Network with the desired parameters. |
chord_pitch_array.m | return an array of chord pitches (0 or 1). |
random_array.m | return an array of n random numbers (0 or 1). |
train_all.m | load all songs from file, prepare data for training, and train all nets. |
check_train_all.m | load trained nets from files, and compare them to each other. |
convert_pitch_array.m | convert a pitch array of 12 units to the 7 C Major key units. |
create_X_max.m | Calculate X_max – return an array of numbers between 0 and 1, representing a minimum percent of max value to consider (with probability > 0). |
C++ source files:
File Name | Description |
include.h | Include File for all C/C++ programs. |
makedata.cpp | Convert all *.txt files to *.notes files, and create "songs.data". |
alldata.cpp | Create "allsongs.data". |
data2text.cpp | Convert all *.notes files to *.txt files. |
convert.cpp | Convert files to a different format, using an external program. |
Visual Basic source files:
File Name | Description | File Type |
Main.frm * | Main MDI form. | Visual Basic Form |
Melody.frm * | Melody MDI child form. | Visual Basic Form |
MelodyProperties.frm * | Melody properties form. | Visual Basic Form |
About.frm | About form. | Visual Basic Form |
Message.frm | Show messages in MsgBox style. | Visual Basic Form |
Preview.frm | Print Preview. | Visual Basic Form |
Select2Options.frm | User Interface for 2 Options Selection. | Visual Basic Form |
SelectFromGrid.frm | User Interface for Grid Selection. | Visual Basic Form |
SelectFromListBox.frm | User Interface for ListBox Selection. | Visual Basic Form |
SelectName.frm | User Interface for Name Selection. | Visual Basic Form |
SelectNumber.frm | User Interface for Number Selection. | Visual Basic Form |
Const.bas * | Public Constants. | Visual Basic Module |
Main.bas * | Public Variables and Sub Main(). | Visual Basic Module |
Music.bas * | Public Subs and Functions. | Visual Basic Module |
Types.bas * | VB Structures (Types). | Visual Basic Module |
MCI.bas * | MCI Control Application Module. | Visual Basic Module |
VBUtils.bas | General VB utilities. | Visual Basic Module |
GridSelection.cls | vaSpread selection class. | Visual Basic Class |
* Currently, these files are not available on the web.