Re: I would like to buy this enhancement (highly motivated buyer)

2006-10-16 Thread Erik Sandberg
On Thursday 12 October 2006 18:22, Rick Hansen (aka RickH) wrote:
 Thanks for the suggestion Mats.

 My motivation for this is that I am currently writing some lesson material
 that reference full scores and would like to make a nice word processor
 document that flows, with illustrations embedded in the text, and the text
 flows around the illustrations, etc. (an old school typography look with no
 grids or tables).  Something that really looks nice and has an artful use
 of typography and imbedded illustrations.  I found that I needed dozens of
 music snippets from the original, and was wasting a lot of time massaging
 my already-completed-just-fine scores to put the excerpted notes into
 dedicated variables for re-use, tags, skiptypesetting, etc.  Times having
 to do that for all the vertical staffs, lyrics, chord names, across the
 needed measures, amplified the work.

 Finally I threw my hands up in frustration and thought of how I would make
 such a document using just a simple typewriter and xActo knife.

In this case, it is not sufficient to just use \tag etc., because if you do, 
each snippet will be treated as the first system, so time signature etc. will 
be displayed in each example.

One solution for you could be to wrap the .ly code inside a .tely document, 
and use lilypond-book. Lilypond-book generates one individual .eps for each 
system, so if you just insert \breaks in the right spots, then it should give 
you what you want (this way, you will also get page breaks between systems in 
a natural way).

Also, I hope you know about OOoLilypond; if not, please read the ML archives.

-- 
Erik


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: I would like to buy this enhancement (highly motivated buyer)

2006-10-16 Thread Mats Bengtsson
Since Han-Wen already has implemented what Rick requested, the 
discussion is now obsolete.


  /Mats

Quoting Erik Sandberg [EMAIL PROTECTED]:


On Thursday 12 October 2006 18:22, Rick Hansen (aka RickH) wrote:

Thanks for the suggestion Mats.

My motivation for this is that I am currently writing some lesson material
that reference full scores and would like to make a nice word processor
document that flows, with illustrations embedded in the text, and the text
flows around the illustrations, etc. (an old school typography look with no
grids or tables).  Something that really looks nice and has an artful use
of typography and imbedded illustrations.  I found that I needed dozens of
music snippets from the original, and was wasting a lot of time massaging
my already-completed-just-fine scores to put the excerpted notes into
dedicated variables for re-use, tags, skiptypesetting, etc.  Times having
to do that for all the vertical staffs, lyrics, chord names, across the
needed measures, amplified the work.

Finally I threw my hands up in frustration and thought of how I would make
such a document using just a simple typewriter and xActo knife.


In this case, it is not sufficient to just use \tag etc., because if you do,
each snippet will be treated as the first system, so time signature etc. will
be displayed in each example.

One solution for you could be to wrap the .ly code inside a .tely document,
and use lilypond-book. Lilypond-book generates one individual .eps for each
system, so if you just insert \breaks in the right spots, then it should give
you what you want (this way, you will also get page breaks between systems in
a natural way).

Also, I hope you know about OOoLilypond; if not, please read the ML archives.

--
Erik


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user







___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: I would like to buy this enhancement (highly motivated buyer)

2006-10-16 Thread Rick Hansen (aka RickH)

Yes, it seems to work great for all my initial tests so far.  Han-Wen is very
fast.  I have already made a word processor document that references several
EPS clips from the original score.  Now I only have one score to maintain
and one document to maintain, and when I change the score the revised clips
are automatically reflected in the word processor document (assuming the
clip file names were not also changed).





Mats Bengtsson-4 wrote:
 
 Since Han-Wen already has implemented what Rick requested, the 
 discussion is now obsolete.
 
/Mats
 
 Quoting Erik Sandberg [EMAIL PROTECTED]:
 
 On Thursday 12 October 2006 18:22, Rick Hansen (aka RickH) wrote:
 Thanks for the suggestion Mats.

 My motivation for this is that I am currently writing some lesson
 material
 that reference full scores and would like to make a nice word processor
 document that flows, with illustrations embedded in the text, and the
 text
 flows around the illustrations, etc. (an old school typography look with
 no
 grids or tables).  Something that really looks nice and has an artful
 use
 of typography and imbedded illustrations.  I found that I needed dozens
 of
 music snippets from the original, and was wasting a lot of time
 massaging
 my already-completed-just-fine scores to put the excerpted notes into
 dedicated variables for re-use, tags, skiptypesetting, etc.  Times
 having
 to do that for all the vertical staffs, lyrics, chord names, across the
 needed measures, amplified the work.

 Finally I threw my hands up in frustration and thought of how I would
 make
 such a document using just a simple typewriter and xActo knife.

 In this case, it is not sufficient to just use \tag etc., because if you
 do,
 each snippet will be treated as the first system, so time signature etc.
 will
 be displayed in each example.

 One solution for you could be to wrap the .ly code inside a .tely
 document,
 and use lilypond-book. Lilypond-book generates one individual .eps for
 each
 system, so if you just insert \breaks in the right spots, then it should
 give
 you what you want (this way, you will also get page breaks between
 systems in
 a natural way).

 Also, I hope you know about OOoLilypond; if not, please read the ML
 archives.

 --
 Erik


 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user

 
 
 
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 

-- 
View this message in context: 
http://www.nabble.com/I-would-like-to-buy-this-enhancement-%28highly-motivated-buyer%29-tf2425929.html#a6837324
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: I would like to buy this enhancement (highly motivated buyer)

2006-10-16 Thread Han-Wen Nienhuys

Rick Hansen (aka RickH) schreef:

Yes, it seems to work great for all my initial tests so far.  Han-Wen is very
fast.  I have already made a word processor document that references several
EPS clips from the original score.  Now I only have one score to maintain
and one document to maintain, and when I change the score the revised clips
are automatically reflected in the word processor document (assuming the
clip file names were not also changed).


I changed the mechanism a bit further in .24, so changes in linebreaking 
don't mess up the snippet names.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: I would like to buy this enhancement (highly motivated buyer)

2006-10-12 Thread Mats Bengtsson

There are some possibilities to do this today.

1. Read Skipping Corrected Music. You can add a separate identifier
that you redefine to something like
select = {
\set Score.skipTypesetting = ##t \skip 1*20
\set Score.skipTypesetting = ##f \skip 1*8 \set Score.skipTypesetting = ##t
}
to get a certain snippet. However, as you quickly will find out, this 
solution

has some problems.

2. Use the \tag feature to mark the different snippets.

  /Mats

Rick Hansen (aka RickH) wrote:

I've been using LP for a while now and waiting for the time when I think I
could finance a very useful enhancement.  Now I have something that I would
like to sponsor, and I think it would be a very worthwhile enhancement,
especially for musicologists.  Please tell me if there already is a way to
do what I am about to describe, as that will save me some money in
sponsoring it.

Requirement:

A method whereby I can take an existing LP score, and by adding a simple
array list (new property) to the \paper block, have lilypond cut up the
score into several pre-defined cutouts of the full score.  Each fragment
being an eps file that contains only the measures I asked for.  Here is an
example of what the source code MIGHT look like, (I dont profess to know
scheme so I leave final implementation language up to the developer).


Example of possible solution:

%EXAMPLE BEGIN

(define-public mysnippets '(
   (measures04thru08.eps . (cons (* 04) (* 08)))
   (measures20thru24.eps . (cons (* 20) (* 24)))
   (measures01thru06.eps . (cons (* 01) (* 06)))
   (measures09thru18.eps . (cons (* 09) (* 18)))
   (measures30thru30.eps . (cons (* 30) (* 30)))
   (measures34thru35.eps . (cons (* 34) (* 35)))
   (measures02thru04.eps . (cons (* 02) (* 04)))
   (measures40thru47.eps . (cons (* 40) (* 47)))
))


\Paper
cutout-rectangles = #(alist-hash-table mysnippets)
}

%EXAMPLE END


Benefits:

1) The user would write their musical score as they always do.

2) They would then define an alist that lists all the cutouts they want to
extract, for each cutout they would specify a file name, the starting
measure number, and the ending measure number.

3) Upon compiling their score as usual, the full PDF will be generated as
always, but in addition all the cutouts will be outputted to the file
names provided in the alist.  The contents of each cutout rectangle would
match exactly, verbatim, to that area of the full score.

4) The users word processor would be set up to include these snippet
rectangle eps files where needed.

5) The contents of each eps would be as though I physically took a razor
blade and cutout that rectangle from the paper.  Each cutout would contain
all vertical staffs at the named measures exactly as shown in the full
score, including chordnames, lyrics, tabs, whatever.


Logically I think this enhancement belongs in the \paper block because it is
really meant to be a score that has been cutup for use by a pasteup
artist.  Probably the best way to do it would be a post-process that takes
the full .ps file and carves out the rectangles from that.  That would
insure that they always match the full score perfectly.  Maybe comment
markers can be embedded in the ps file at lily run time, then all the
post-processor has to do is find the markers and write out the postscript
cutouts to separate files based on from/to markers?

How much would this cost to develop based on whatever way YOU think is best
to implement/code it?  I am really only interested in the resulting
capability, not how it actually gets accomplished.


Thanks
Rick


  


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: I would like to buy this enhancement (highly motivated buyer)

2006-10-12 Thread Rick Hansen (aka RickH)

Thanks for the suggestion Mats.

My motivation for this is that I am currently writing some lesson material
that reference full scores and would like to make a nice word processor
document that flows, with illustrations embedded in the text, and the text
flows around the illustrations, etc. (an old school typography look with no
grids or tables).  Something that really looks nice and has an artful use
of typography and imbedded illustrations.  I found that I needed dozens of
music snippets from the original, and was wasting a lot of time massaging my
already-completed-just-fine scores to put the excerpted notes into dedicated
variables for re-use, tags, skiptypesetting, etc.  Times having to do that
for all the vertical staffs, lyrics, chord names, across the needed
measures, amplified the work.

Finally I threw my hands up in frustration and thought of how I would make
such a document using just a simple typewriter and xActo knife.

All I really needed was a way to tell my score to also create some snippets
of itself and deposit those results into stable file names that my Word
document references.  This way I can keep things in-synch easily, because
the Word document references, (does not imbed), the actual snippet files, so
they are always up to date in the Word processor just by recompiling the
score when changes occur there.

I'm open to any suggestions for improving the workflow I've described.




Mats Bengtsson-4 wrote:
 
 There are some possibilities to do this today.
 
 1. Read Skipping Corrected Music. You can add a separate identifier
 that you redefine to something like
 select = {
 \set Score.skipTypesetting = ##t \skip 1*20
 \set Score.skipTypesetting = ##f \skip 1*8 \set Score.skipTypesetting =
 ##t
 }
 to get a certain snippet. However, as you quickly will find out, this 
 solution
 has some problems.
 
 2. Use the \tag feature to mark the different snippets.
 
/Mats
 
 Rick Hansen (aka RickH) wrote:
 I've been using LP for a while now and waiting for the time when I think
 I
 could finance a very useful enhancement.  Now I have something that I
 would
 like to sponsor, and I think it would be a very worthwhile enhancement,
 especially for musicologists.  Please tell me if there already is a way
 to
 do what I am about to describe, as that will save me some money in
 sponsoring it.

 Requirement:

 A method whereby I can take an existing LP score, and by adding a simple
 array list (new property) to the \paper block, have lilypond cut up the
 score into several pre-defined cutouts of the full score.  Each fragment
 being an eps file that contains only the measures I asked for.  Here is
 an
 example of what the source code MIGHT look like, (I dont profess to know
 scheme so I leave final implementation language up to the developer).


 Example of possible solution:

 %EXAMPLE BEGIN

 (define-public mysnippets '(
(measures04thru08.eps . (cons (* 04) (* 08)))
(measures20thru24.eps . (cons (* 20) (* 24)))
(measures01thru06.eps . (cons (* 01) (* 06)))
(measures09thru18.eps . (cons (* 09) (* 18)))
(measures30thru30.eps . (cons (* 30) (* 30)))
(measures34thru35.eps . (cons (* 34) (* 35)))
(measures02thru04.eps . (cons (* 02) (* 04)))
(measures40thru47.eps . (cons (* 40) (* 47)))
 ))


 \Paper
  cutout-rectangles = #(alist-hash-table mysnippets)
 }

 %EXAMPLE END


 Benefits:

 1) The user would write their musical score as they always do.

 2) They would then define an alist that lists all the cutouts they want
 to
 extract, for each cutout they would specify a file name, the starting
 measure number, and the ending measure number.

 3) Upon compiling their score as usual, the full PDF will be generated as
 always, but in addition all the cutouts will be outputted to the file
 names provided in the alist.  The contents of each cutout rectangle would
 match exactly, verbatim, to that area of the full score.

 4) The users word processor would be set up to include these snippet
 rectangle eps files where needed.

 5) The contents of each eps would be as though I physically took a razor
 blade and cutout that rectangle from the paper.  Each cutout would
 contain
 all vertical staffs at the named measures exactly as shown in the full
 score, including chordnames, lyrics, tabs, whatever.


 Logically I think this enhancement belongs in the \paper block because it
 is
 really meant to be a score that has been cutup for use by a pasteup
 artist.  Probably the best way to do it would be a post-process that
 takes
 the full .ps file and carves out the rectangles from that.  That would
 insure that they always match the full score perfectly.  Maybe comment
 markers can be embedded in the ps file at lily run time, then all the
 post-processor has to do is find the markers and write out the postscript
 cutouts to separate files based on from/to markers?

 How much would this cost to develop based on whatever way YOU think is
 best
 to implement/code it?  I am really