--- In [email protected], andrew clarke <[EMAIL PROTECTED]> wrote:
>
> On Tue, Aug 22, 2006 at 08:14:52PM -0000, Michael P. Lang wrote:
> 
> > struct Note
> > {
> >     int nPitch;
> >     int nDuration;
> > };
> > 
> > Note noteMelody[4][10];
> 
> What are the magic numbers for?
> 
> 4 notes per bar, 10 bars?
> 
> Something else?
>

Something quite different, indeed.  You can think of it as being 4 
different "melodies", each containing a succession of 10 notes of 
some duration.

So, noteMelody[0][4] could be the fifth note of "Jingle Bells", and 
noteMelody[1][7] could be the eighth note of Beethoven's Ninth 
Symphony (or whatever the second melody is).






To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/c-prog/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to