Sorry, I was using the same term to mean two different things...

MIDI allows for 128 pitches (think the 88 keys on the keyboard, but
wider in range). So, the array would be ObjectArray(88, n) where n is
the number of notes in the entire song.

I figure that way I would just change the values in the array to match
the interface. I'm thinking this might be better as this would allow
multiple notes at the same time (chords), and I think it would be easy
to build the song to play or save as there would be an inherent order
to everything regardless of where the user drags notes to. I'm just
concerned about memory/processor usage to maintain something that
could be rather large.

On 3/27/06, Thomas Cunningham <[EMAIL PROTECTED]> wrote:
> Philip,
>
> Perhaps this concept would help. Store all of your available note classes in
> a static array. Each song would be defined as an array of indices that refer
> to this static array. Then you can use the insert and remove methods to
> adjust the song as your user so chooses.
>
> AllNotes(127) As MyNotes
>
> MySongData(3,25,100)
>
> Play AllNotes(3)
> Play AllNotes(25)
> Play AllNotes(100)
>
> --
> Thomas C.
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
>


--
--
Philip Regan
[EMAIL PROTECTED]
http://homepage.mac.com/pregan
REALBasic 2005r4, Applescript
Mac OS 10.3.9
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to