Wed, 15 Nov 2000 17:16:48 -0500
|
At 03:40 PM 11/15/00 -0500, you wrote:
>With these changes, I get as output:
>
>Time Difference: 1.722298023 For one whole note
>Time Difference: 1.721935966 For 2 Half note
>Time Difference: 1.722189909 For 4 Quarter note Delay
>Time Difference: 1.722186557 For 8 8th note Delay
>Time Difference: 1.722149680 For 16 16th note Delay
>Time Difference: 1.722237681 For 32 32th note Delay
>Time Difference: 6.859441393 For 64 64th note Delay
>Time Difference: 13.719359662 For 128 128th note Delay
>
>On a Pentium Windows NT 4.0.
>
>64th and 128th notes are too fine for this clock, as you noted in your
>code.
>
>
> Test (64, Delta_Sixteenth_Note, "For 64 64th note Delay");
> Test (128, Delta_Sixteenth_Note, "For 128 128th note Delay");
Thanks Stephen for that code, which was very helpful. By correcting two
errors you made in the preceding code, I have now gotten the results I
wanted. It seems that the Ada realtime clock IS capable of timing those
intervals. In the lines above, Delta_Sixteenth_Note needed to be replaced
by Delta_SixtyFourth_Note and Delta_128th_Note.
Now it seems we have a viable timer.
Thanks again.
-Jesse
|
|
|