> Questions? Email me.
> Home. |
Pfc.c Download
How to Use this Program:
To implement this code with our example you must do three things.
1. Download and save the files named pfc.c,
tables.dat,
and notes.dat.
2. Compile pfc.c.
3. Run the excecutable code.
Now, to use this code with your own example you must create your own notes.dat - the file that contains all the necessary information about the piano piece. You must format it just as we have formatted our example file.
10
5 6 11 14 10 13 11 14 18 23
The first number (10) indicates the number of notes in the passage. The following numbers represent the actual notes of the passage. Choose any C to be the number '0'. It doesn't matter which one. Count each note's distance in half-steps from that C (use negative numbers if the note is lower in pitch than the designated C), and write the numbers in order from first to last. Save this file as notes.dat and compile and run as before.
In addition, the ratings.dat file, which contains our difficulty ratings for basic right-hand movements, can be modified by you. Our ratings were generated by a senior music student of the Oberlin Conservatory, but the tables in ratings.dat are fully customizable to suit your specific tastes. Again, the format of your ratings.dat file must match ours.
|