Re: [abcusers] ABC 2.0 avoiding line breaks
John Walsh writes: | | For another example, consider | | X:3 | T:TTLS | M:4/4 | L:1/4 | K:G |GG dd |\ | W:Twin-kle twin-kle |eed2|\ | W:lit-tle star Well, I dunno; I think it would make a lot more sense if you wrote it as: X:3 T:TTLS M:4/4 L:1/4 K:G GG dd | w:Twin-kle twin-kle \ eed2| w:lit-tle star \ ... After all, the line of music and the line of notes really do go together, so it's the pair that you are continuing. The \ really should go at the end of the thing that's being continued, not in the middle. Of course, what would really happen is that some implementers would do it one way; others would do it the other, and still others would find a third way that makes more sense to them. That's the way we musicians do things, y'know. (And I corrected the W: to w: since that's obviously what was meant.) To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] abcm2ps : setting pagination
On Fri, 15 Aug 2003 22:41:19 -0400, Tom Keays <[EMAIL PROTECTED]> wrote: >Sorry to bug the list with a RTfM type question, but I have looked >everywhere I could think, even in Guido's Typesetting document, but nowhere >could I find a trace of how to SET a page number using an abcm2ps >declaration. I was expecting to find something like: > >%%pagenumber 24 [snip] >Any help or direction is much appreciated! %%newpage 24 -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** | http://moinejf.free.fr/ Pépé Jef| mailto:[EMAIL PROTECTED] To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] abcm2ps hangs
On Thu, 14 Aug 2003 15:37:21 +0100, [EMAIL PROTECTED] (Phil Taylor) wrote: >I'm seeing some problems with the Mac version of abcm2ps (v3.6.2) >where it hangs up on certain tunes and has to be killed. [snip] This bug is fixed in 3.6.3: "Program loop when '-c' or '-B' and repeat bar at EOL." -- Ken ar c'hentañ | ** Breizh ha Linux atav! ** | http://moinejf.free.fr/ Pépé Jef| mailto:[EMAIL PROTECTED] To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] ABC 2.0 avoiding line breaks
> > John Walsh writes: something or other > and John Chambers replies: > Well, I dunno; I think it would make a lot more sense if you wrote it > as: > > X:3 > T:TTLS > M:4/4 > L:1/4 > K:G >GG dd | > w:Twin-kle twin-kle \ >eed2| > w:lit-tle star \ > ... > > > After all, the line of music and the line of notes really do go > together, so it's the pair that you are continuing. The \ really > should go at the end of the thing that's being continued, not in the > middle. > Sure, whatever. The point is that it should only take one (or a couple) of backslashes, and shouldn't require rewriting the whole shebang. Wherever you want to put them. (Twinkle, twinkle is standing in, of course, for the conductor's score for an oratorio---want to get that backslash where it's most visible. Top or bottom, or all the lines in between, whichever works.) > Of course, what would really happen is that some implementers would > do it one way; others would do it the other, and still others would > find a third way that makes more sense to them. That's the way we > musicians do things, y'know. > > (And I corrected the W: to w: since that's obviously what was meant.) > No idea---never use either myself, I was just following somebody else's, who used uppercase W. Anyway, I can live with half the implementers doing it wrong more easily than I can with all of them doing it wrong because the standard is wrong. Hey, I use abc2mtex, and all of this is irrelevant to that anyway. Or so I've been told. Cheers, John Walsh To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] ABC as Tablature
>More significantly, tab needs a sound previewer even more than >ABC does. A PostScript generator alone is just going to lead >to lots of beautifully typeset nonsense. no, similar in a way to abc2midi and yaps, tab can generate both midi and postscript. "tab filename" generate a ps file, while "tab -midi filename" generate a midi file. moreover, tab2abc can convert from tab to abc format : http://www.lautengesellschaft.de/cdmm/ ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
[abcusers] Another Abcm2ps Question
While on the subject of Abcm2ps RTFM, I have done so, and come away with an empty bucket. Is it possible to set the font size for the measure numbers? If so, this continues to elude me, even with a bit of tinkering around with format files... Any guidance would be appreciated. Don To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] ABC 2.0 avoiding line breaks
John Walsh writes: | > X:3 | > T:TTLS | > M:4/4 | > L:1/4 | > K:G | >GG dd |\ | > w:Twin-kle twin-kle | >eed2|\ | > w:lit-tle star | > ... | > and John Chambers replies: | > | > X:3 | > T:TTLS | > M:4/4 | > L:1/4 | > K:G | >GG dd | | > w:Twin-kle twin-kle \ | >eed2| | > w:lit-tle star \ | > ... | | Sure, whatever. Actually, it has occurred to me that there might be a simple solution that would allow both of these. The real problem we're facing is: A lot of people really want the final backslash to mean "continue with the next line of the same type". But this discription is sufficiently ambiguous that we end up with different implementers having different understandings of what such a description means, and implementing it differently. This problem is fundamentally hopeless, because musical terminology and understanding is so varied. Unless we can come up with a truly unambiguous definition of "same type" lines, we don't stand a chance of making this work consistently. And given the wide differences here in how people understand musical terms, we just aren't going to do anything like that. So if we really want continued lines to skip lines like the above, we need a way of saying "continued" not in musical terms, but in purely lexical terms. Since we are dealing with whole lines, we could in fact use a solution like: X:3 T:TTLS M:4/4 L:1/4 K:G GG dd |\1 w:Twin-kle twin-kle eed2|\1 w:lit-tle star The number at the end is quite simply the number of lines to skip to find the continuation. If omitted, the nnumber is zero, meaning don't skip any lines, continue with the next line. Actually, there's an obvious error in the above. It should be: X:3 T:TTLS M:4/4 L:1/4 K:G GG dd |\1 w:Twin-kle twin-kle \1 eed2|\1 w:lit-tle star If you don't continue the first w: line, the result will be to put two lines of words under the first measure of music. But this is just a detail. This would give us a simple solution to the example that started this thread: % 1 - 4 [V: 1] |:z4 |z4 |f2ec |_ddcc| \4 [V: 2] |:c2BG|AAGc|(F/G/A/B/)c=A|B2AA | \4 [V: 3] |:z4 |f2ec|_ddcf|(B/c/_d/e/)ff| \4 % 5 - 9 [V: 1] cAB2 |cAAA |c3B|G2!fermata!Gz ::e4| \4 [V: 2] AAG2 |AFFF |A3F|=E2!fermata!Ez::c4| \4 [V: 3] (ag/f/e2)|A_ddd|A3B|c2!fermata!cz ::A4| \4 % 10 - 15 [V: 1] f_dec |B2c2|zAGF |=EFG2 |1F2z2:|2F8|] [V: 2] ABGA |G2AA|GF=EF |(GF3/2=E//D//E)|1F2z2:|2F8|] [V: 3] _dBc>d|e2AF|=EFc_d|c4 |1F2z2:|2F8|] This is exactly the example proposed, with the addition of \4 to the lines that are to be joined with later lines. We might note that the [V:...] lines in the continuations are redundant, but they help make the abc more readable, so they are a good idea. What do people think of this modest proposal? It would make this sort of disconnected continuation possible, and would enable readable abc like the above. The only problem is that implementers are likely to let out a big groan. But it's probably no worse than the current kinds of disconnected continuations that have been implemented; it's just less prone to misimplementation. In any case, disconnected continuations like this require that the software buffer all the intermingled lines until the entire set is complete. To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html
Re: [abcusers] ABC 2.0 avoiding line breaks
John Chambers <[EMAIL PROTECTED]> said on 24 Aug 2003 > The real problem we're facing is: A lot of people really want the > final backslash to mean "continue with the next line of the same > type". But this discription is sufficiently ambiguous that we end up > with different implementers having different understandings of what > such a description means, and implementing it differently. Can I suggest the following rule for the interpretation of lines terminated by a backslash. First of all we should take note of the fact that ABC consists of fields and a tunebody. Where a line of a field outside the tunebody ends in a '\' it acts as a continuation character and the next line is appended. Now for the long bit. In the tunebody of a multivoice tunes, we have one or more voicelines symbol lines, included-words line(s) and perhaps guitar chord lines. The following suggestion is simply an extension of the w:lyrics section of ABC 1.7.6 I quote: w:lyrics; supplies a line of lyrics to be aligned syllable by syllable below the previous line of notes. Syllables are not aligned on grace notes and tied notes are treated as two separate notes. Because lyrics tend to take up more space than notes, one w: field and all continuations match one line of notes, whether or not the line of notes ends with a continuation character. If a line of notes is followed by several w: fields, each one supplies alternate words for the notes (this is typically used for writing the verses of a song). endquote So the scheme would be something like this. One of the voices of the piece is selected as the primary voice. The ABC for this voice is entered in the tune body in appropriate sized chunks using continuation characters as appropriate. % 1 - 4 [V: 1] |:z4 |z4 |f2ec |_ddcc|\ % 5 - 9 [V: 1] cAB2 |cAAA |c3B|G2+fermata+Gz ::e4|\ % 10 - 15 [V: 1] f_dec |B2c2|zAGF |=EFG2 |1F2z2:|2F8|] I have chosen to continue all the lines for this voice so the staffbreaks will be at the discretion of the typesetting application. I have chosen V: 1 as the primary voice but I could as easily chose V: 2 since the order of writing the voices is not necessarily linked to the order in the score. Now, I will add the words according to 1.7.6 % 1 - 4 [V: 1] |:z4 |z4 |f2ec |_ddcc|\ w: Son que-sti~i cre-spi cri-ni~e w: Que-sti son gli~oc-chi che mi- % 5 - 9 [V: 1] cAB2 |cAAA |c3B|G2+fermata+Gz ::e4|\ w: que-sto~il vi-so ond' io\ ri-man-go~uc-ci-so. Deh, w: ran-do fi-so, tut-to re-stai\ con-qui-so. % 10 - 15 [V: 1] f_dec |B2c2|zAGF |=EFG2 |1F2z2:|2F8|] w: dim-me-lo ben mi-o, che que-sto\ sol de-si-o_. So, apart from the introduction of the [V: 1] construct and the use of +fermata+ inplace of !fermata! this is pure ABC 1.7.6 I will now add the other voices following the same procedure % 1 - 4 [V: 1] |:z4 |z4 |f2ec |_ddcc|\ w: Son que-sti~i cre-spi cri-ni~e w: Que-sti son gli~oc-chi che mi- [V: 2] |:c2BG|AAGc|(F/G/A/B/)c=A|B2AA | [V: 3] |:z4 |f2ec|_ddcf|(B/c/_d/e/)ff| % 5 - 9 [V: 1] cAB2 |cAAA |c3B|G2+fermata+Gz ::e4|\ w: que-sto~il vi-so ond' io\ ri-man-go~uc-ci-so. Deh, w: ran-do fi-so, tut-to re-stai\ con-qui-so. [V: 2] AAG2 |AFFF |A3F|=E2+fermata+Ez::c4| [V: 3] (ag/f/e2)|A_ddd|A3B|c2+fermata+cz ::A4| % 10 - 15 [V: 1] f_dec |B2c2|zAGF |=EFG2 |1F2z2:|2F8|] w: dim-me-lo ben mi-o, che que-sto\ sol de-si-o_. [V: 2] ABGA |G2AA|GF=EF |(GF3/2=E//D//E)|1F2z2:|2F8|] [V: 3] _dBc>d|e2AF|=EFc_d|c4 |1F2z2:|2F8|] No further continuation characters are required. The words for these voices could then be added as could symbol and chord lines. If we wish to break the score at bar nine we remove the \ from Gz ::e4|\ If on the other hand, we wished to force a staff break after bar 8 we could change the line to: [V: 1] cAB2 |cAAA |[*]c3B|G2+fermata+Gz ::e4|\ using an extension of abc2mtex 1.6 or following the spirit of abc2win: [V: 1] cAB2 |cAAA |[!]c3B|G2+fermata+Gz ::e4|\ These constructs are a simple extension of the inline fields format. In some respects some of the confusion here is a matter of terminology. Abc2mtex 1.6 does not mention a continuation character. It says "If, however, you wish to use two lines of input to generate one line of music . then simply put a \ at the end of the first line. This is also useful for changing meter or key in the middle of a line of music." This is not a very tight syntax definition but its intent to me is obvious. The role of the \ line-terminator in this case is to indicate that the subsequent linebreak should not invoke a staffbreak. The rule would be that linebreaking and continuation information is contained in the first written voice. Subsequent voices, word lines, symbols and chords must be between the lines of the first voice written in sections equivalent to the written lines of the first voice. Word lines may use