Re: [abcusers] AlphabetSoup output data structures

2004-05-14 Thread Phil Taylor
On 15 May 2004, at 01:21, Jack Campin wrote: A cautionary note here - how _would_ your parser behave on discovering it was asked to parse one of these 'illegal' constructs? I'm in agreement with the point you're making but not with any of your examples... there is a significant number of existing

Re: [abcusers] AlphabetSoup output data structures

2004-05-14 Thread Jack Campin
> A cautionary note here - how _would_ your parser behave on discovering > it was asked to parse one of these 'illegal' constructs? I'm in agreement with the point you're making but not with any of your examples... > there is a significant number of existing tune files (with hundreds > of tunes

Re: [abcusers] AlphabetSoup output data structures

2004-05-14 Thread Wil Macaulay
been lurking for a while, but following this with interest. A cautionary note here - how _would_ your parser behave on discovering it was asked to parse one of these 'illegal' constructs? I've been very busy lately loosening up Skink's parser based on discovering that there is a significant numb

Re: [abcusers] AlphabetSoup output data structures

2004-05-14 Thread Kevin Lawton
Jack Campin <[EMAIL PROTECTED]> wrote: That's a standard rule of music. You can't put black and white notes on the same stem for instance. ||| Actually, this isn't a rule at all. Music printers routinely ||| put ||| white and black note heads on the same stem. || I quote Gardner

Re: [abcusers] AlphabetSoup output data structures

2004-05-14 Thread Jack Campin
>>> That's a standard rule of music. You can't put black and white notes >>> on the same stem for instance. >> Actually, this isn't a rule at all. Music printers routinely put >> white and black note heads on the same stem. > I quote Gardner Read "Music Notation" page 69 "Intervals (involving

Re: [abcusers] AlphabetSoup output data structures

2004-05-14 Thread Phil Taylor
On 14 May 2004, at 07:56, Martin Tarenskeen wrote: I'm a user of MUP. There was a similar discussion some time ago about this subject in the mup-users mailing list. Just like in abc in mup the notes in a chord have to be of the same length, or else be in different voice. Notes in a chord don't

Re: [abcusers] AlphabetSoup output data structures

2004-05-14 Thread Martin Tarenskeen
On Fri, 14 May 2004, David Webber wrote: > From: "John Chambers" <[EMAIL PROTECTED]> > > > Actually, Gardner Read is the one who's mistaken here. ;-) > Musicians > > can and do play chords on several instruments with notes > terminating > Gardner and Bernard are quite correct, and with good rea

Re: [abcusers] AlphabetSoup output data structures

2004-05-13 Thread David Webber
From: "John Chambers" <[EMAIL PROTECTED]> > Actually, Gardner Read is the one who's mistaken here. ;-) Musicians > can and do play chords on several instruments with notes terminating > at different times. Publishers can and do print music with note heads > of different lengths on the same stem.

Re: [abcusers] AlphabetSoup output data structures

2004-05-13 Thread Bernard Hill
In message <[EMAIL PROTECTED]>, John Chambers <[EMAIL PROTECTED]> writes Bernard Hill writes: | In message <[EMAIL PROTECTED]>, John Chambers | <[EMAIL PROTECTED]> writes | >Bernard Hill writes: | >| That's a standard rule of music. You can't put black and white notes on | >| the same stem for ins

Re: [abcusers] AlphabetSoup output data structures

2004-05-13 Thread John Chambers
Bernard Hill writes: | In message <[EMAIL PROTECTED]>, John Chambers | <[EMAIL PROTECTED]> writes | >Bernard Hill writes: | >| That's a standard rule of music. You can't put black and white notes on | >| the same stem for instance. | > | >Actually, this isn't a rule at all. Music printers routi

Re: [abcusers] AlphabetSoup output data structures

2004-05-13 Thread Bernard Hill
In message <[EMAIL PROTECTED]>, John Chambers <[EMAIL PROTECTED]> writes Bernard Hill writes: | In message <[EMAIL PROTECTED]>, Neil | Jennings <[EMAIL PROTECTED]> writes | >Or, perhaps, by having a note object contain a list of (zero or | >more) pitch objects rather than just one pitch va

Re: [abcusers] AlphabetSoup output data structures

2004-05-12 Thread Neil Jennings
All this is pretty much irrelevant. Within a polyphonic voice, notes are not necessarily related to other simultaneous notes by any of start time, end time or duration, therefore trying to put more than one pitch on a note object is not a solution. At 02:08 AM 5/13/04, you wrote: Bernard Hill w

Re: [abcusers] AlphabetSoup output data structures

2004-05-12 Thread John Chambers
Bernard Hill writes: | In message <[EMAIL PROTECTED]>, Neil | Jennings <[EMAIL PROTECTED]> writes | >Or, perhaps, by having a note object contain a list of (zero or | >more) pitch objects rather than just one pitch value. A noteobject | >with a duration and no pitch objects would, of co

Re: [abcusers] AlphabetSoup output data structures

2004-05-11 Thread Bernard Hill
In message <[EMAIL PROTECTED]>, Neil Jennings <[EMAIL PROTECTED]> writes At 08:21 AM 5/9/04, you wrote: Or, perhaps, by having a note object contain a list of (zero or more) pitch objects rather than just one pitch value. A noteobject with a duration and no pitch objects would, of co

Re: [abcusers] AlphabetSoup output data structures

2004-05-10 Thread Neil Jennings
At 08:21 AM 5/9/04, you wrote: Or, perhaps, by having a note object contain a list of (zero or more) pitch objects rather than just one pitch value. A noteobject with a duration and no pitch objects would, of course, be a rest. The problem with this is that the duration would be the

Re: [abcusers] AlphabetSoup output data structures

2004-05-09 Thread Jerome Colburn
At 07:34 AM 5/5/04 +0100, Neil Jennings wrote: Output format: My program HARMONY has a set of classes which I would be prepared to offer as a starting point for discussion (but they are in VB at present). It has a TUNE class, VOICE class and NOTE class A TUNE can hold a number of VOICES A Voice c