Re: \enablePolymeter not working

2024-03-17 Thread Jaime Oliver
got it...
J

On Sun, Mar 17, 2024 at 9:27 AM Jean Abou Samra  wrote:

> https://lilypond.org/doc/v2.23/Documentation/58/lily-fa68165d.ly
>
>
>
> That's the LilyPond 2.23 documentation.
>
>
> I am using lilypond 2.22.1
>
>
>
> Now you should understand the problem :)
>


-- 
**
Jaime E Oliver LR
www.jaimeoliver.pe


\enablePolymeter not working

2024-03-17 Thread Jaime Oliver
Hi all,

I am trying to compile this code from the lilypond documentation:
https://lilypond.org/doc/v2.23/Documentation/58/lily-fa68165d.ly

and I get the error:

 error: unknown escaped string: `\enablePolymeter'

\enablePolymeter

I have not been able to get \enablePolymeter to work in any of the examples.

Anyone knows what might be the issue? I am using lilypond 2.22.1 and
Frescobaldi 3.2 on ubuntu on Pop!_OS 22.04 LTS.

Any help appreciated.

All the best,

Jaime


Re: spacing of invisible rests

2023-03-24 Thread Jaime Oliver
Hi William,

Indeed what I am after is a s4 that takes some space, I am currently
solving it with

things like:

\once \hide Rest  r16 \once \hide Rest r16
\once \hide Rest  r16 \once \hide Rest r16

which will take some more space, but it is not ideal.

best,

Jaime

On Fri, Mar 24, 2023 at 6:03 PM William Rehwinkel <
will...@williamrehwinkel.net> wrote:

> Dear Jaime,
>
> If you mean silent rests such as s4, s8 etc. I thought those do not
> actually take up any space, and are analogous to using \skip for that
> duration. As in the following example:
>
> \version "2.24.1"
>
> <<
>\new Staff {
>  c'1 c'1
>}
>\new Staff {
>  \repeat unfold 128 { s128 }
>}
>  >>
>
> As for how to make measures longer, I usually override the
> NoteHead.extra-spacing-width (or same, for Rest) property to add more
> horizontal space before or after a note, but I'm not sure that will be
> the best option here.
>
> -William
>
> On 3/24/23 17:56, Jaime Oliver wrote:
> > Hi all,
> >
> > I am trying to control the amount of space that s events take on each
> > bar so that I can make some bars longer. Is there a way I can specify
> > this? Also, some bars which have values like R1 are also really short,
> > how can I make those longer?
> >
> > In other words, is there a way to make bars visually longer even if they
> > show empty space?
> >
> > I have tried things like the one below but have not had good results
> > \layout{
> > \context {
> >  \Score
> >proportionalNotationDuration = #(ly:make-moment 1/32)
> >\override SpacingSpanner.base-shortest-duration =
> > #(ly:make-moment 1/32)
> >\override SpacingSpanner.uniform-stretching = ##t
> >
> > I am also attaching a screenshot so you can see the kinds of results I
> > am getting.
> >
> > All the best,
> >
> > Jaime
> >
> > image.png
> >
>
> --
> + -- +
> |William Rehwinkel - Oberlin College and |
> |   Conservatory '24 |
> |  will...@williamrehwinkel.net  |
> | PGP key:   |
> | https://williamrehwinkel.net/static/pubkey.txt |
> + -- +
>


-- 
**
Jaime E Oliver LR
www.jaimeoliver.pe


spacing of invisible rests

2023-03-24 Thread Jaime Oliver
Hi all,

I am trying to control the amount of space that s events take on each bar
so that I can make some bars longer. Is there a way I can specify this?
Also, some bars which have values like R1 are also really short, how can I
make those longer?

In other words, is there a way to make bars visually longer even if they
show empty space?

I have tried things like the one below but have not had good results
\layout{
   \context {
\Score
  proportionalNotationDuration = #(ly:make-moment 1/32)
  \override SpacingSpanner.base-shortest-duration =
#(ly:make-moment 1/32)
  \override SpacingSpanner.uniform-stretching = ##t

I am also attaching a screenshot so you can see the kinds of results I am
getting.

All the best,

Jaime

[image: image.png]


Re: \woodwind-diagram horizontal?

2018-04-22 Thread Jaime Oliver La Rosa

thanks! and will do...

best,

J


On 04/22/2018 02:55 AM, Malte Meyn wrote:



Am 22.04.2018 um 04:56 schrieb Jaime Oliver La Rosa:

Hi,

Is it possible to place woodwind-diagrams horizontally?

best,

J


Yes it is. Please always give a minimal working example (see 
http://lilypond.org/tiny-examples.html) and include your LilyPond 
version. Without such an example I had to search for woodwind diagrams 
first because I didn’t know how to create them.


\version "2.19.81"

{
  c'-\markup \rotate #90 \woodwind-diagram #'piccolo #'()
}

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



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


\woodwind-diagram horizontal?

2018-04-21 Thread Jaime Oliver La Rosa

Hi,

Is it possible to place woodwind-diagrams horizontally?

best,

J


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


Re: Introducing Hacklily, another online LilyPond editor

2018-01-03 Thread Jaime Oliver La Rosa

great work joshua!

J


On 01/03/2018 12:19 AM, Joshua Netterfield wrote:

Hi all,

I've been working on an online LilyPond editor in my spare time, and 
would appreciate your feedback. You can use it as a scratchpad, or 
sign in with a GitHub account to save sheet music directly there.


Try it at https://www.hacklily.org

It's inspired by great projects like LilyBin and Overleaf.

I'm sharing this fairly early on, and would prefer if you didn't share 
this broadly yet so I can scale it. I also recommend you avoid relying 
on it for anything too serious. You can give me feedback by replying 
to me, or on GitHub (https://github.com/hacklily/hacklily).


I hope you find it useful and am looking forward to your feedback.

Best,
Joshua Netterfield



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



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


Re: Error with Frescobaldi and python-poppler

2017-09-23 Thread Jaime Oliver La Rosa

Indeed it is an Ubuntu package.

This one worked for me: 
https://answers.launchpad.net/~canonical-foundations/+archive/ubuntu/python3.6-as-default/+files/python3-poppler-qt5_0.24.2-3build1_amd64.deb


The one I installed through apt did not work out.

Thanks to everyone!

best,

J


On 09/23/2017 11:38 AM, David Wright wrote:

On Sat 23 Sep 2017 at 13:11:14 (+0200), Noeck wrote:

Hi,

I used python3-poppler-qt5_0.24.2-3build1_amd64.deb, I think from debian
despite I have a Ubuntu installation.

python3-poppler-qt5_0.24.2-3build1_amd64.deb looks like an Ubuntu package.

http://ftp.us.debian.org/debian/pool/main/p/python-poppler-qt5/python3-poppler-qt5_0.24.2-3+b1_amd64.deb
is a Debian package, likely built from the same source (though I would
check). As you probably know, but for the benefit of others, .deb just
signifies the format of the package, an ar archive containing a couple
of typically .tar.gz archives.

Cheers,
David.

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



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


Error with Frescobaldi and python-poppler

2017-09-22 Thread Jaime Oliver La Rosa

Hi all,

I am encountering this problem when trying to engrave any score in 
Frescobaldi. The score compiles fine, but I can't see the preview, and I 
get the error below as described in this post:


https://github.com/wbsoft/frescobaldi/issues/838

Is there a known solution for this?

I am using Ubuntu 17.04, Lilypond 2.18.2-7 and Frescobaldi 
3.0.0~git20161001.0.eec60717+ds1-2


best,

J

ERROR MESSAGE:

An internal error has occurred:

Traceback (most recent call last):

File 
"/usr/share/frescobaldi/frescobaldi_app/musicview/pointandclick.py", 
line 44, in links


return _cache[document]

File "/usr/lib/python3.5/weakref.py", line 394, in __getitem__

return self.data[ref(key)]

KeyError: 

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/usr/share/frescobaldi/frescobaldi_app/musicview/widget.py", line 
116, in openDocument


self._links = pointandclick.links(document)

File 
"/usr/share/frescobaldi/frescobaldi_app/musicview/pointandclick.py", 
line 54, in links


t = textedit.link(link.url())

File "/usr/share/frescobaldi/frescobaldi_app/textedit.py", line 48, in link

m = textedit_match(url)

TypeError: expected string or bytes-like object

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


Re: encapsulating woodwind diagrams

2017-06-13 Thread Jaime Oliver La Rosa

that works! thanks...
J

On 06/13/2017 09:51 AM, caag...@gmail.com wrote:

Try removing the brackets ({ ... }) around the \markup.

On 06/13/2017 04:46 PM, Jaime Oliver La Rosa wrote:

Hi all,

I am using the following code to place diagrams in a score:

c^\markup
 \center-column {
\override #'(size . .75)
\override #'(thickness . 0.05){
\woodwind-diagram
   #'flute-b-extension
   #'((cc . (one1h three))
  (lh . (b  gis))
  (rh . (d dis ees cis c b)))
 }
   }

however, since I have several of these, I'd like to store them as 
separate encapsulated commands that I'd like to call such as


position1 = {\markup
 \center-column {
\override #'(size . .75)
\override #'(thickness . 0.05){
\woodwind-diagram
   #'flute-b-extension
   #'((cc . (one1h three))
  (lh . (b  gis))
  (rh . (d dis ees cis c b)))
 }
   }

}

And then call it in the score with

c^\position1

but I get all sorts of errors. Not sure how to proceed. Can anyone 
point me to some information?


best,

J


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


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



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


encapsulating woodwind diagrams

2017-06-13 Thread Jaime Oliver La Rosa

Hi all,

I am using the following code to place diagrams in a score:

c^\markup
\center-column {
   \override #'(size . .75)
   \override #'(thickness . 0.05){
   \woodwind-diagram
  #'flute-b-extension
  #'((cc . (one1h three))
 (lh . (b  gis))
 (rh . (d dis ees cis c b)))
}
  }

however, since I have several of these, I'd like to store them as 
separate encapsulated commands that I'd like to call such as


position1 = {\markup
\center-column {
   \override #'(size . .75)
   \override #'(thickness . 0.05){
   \woodwind-diagram
  #'flute-b-extension
  #'((cc . (one1h three))
 (lh . (b  gis))
 (rh . (d dis ees cis c b)))
}
  }

}

And then call it in the score with

c^\position1

but I get all sorts of errors. Not sure how to proceed. Can anyone point 
me to some information?


best,

J


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


Re: naturalize pitches

2016-03-30 Thread Jaime Oliver
> Sometimes it preferable to change the source directly instead of using 
> function calls.

Could you explain when this is the case? 

This is only a transposing instrument situation so it should be doable. I used 
the \transpose function and \naturalize form the documentation which ended up 
working fine. 

The problems I had were caused by conflicts with the arrow microtones I was 
using. 

best,

J


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


Re: Using Google to find documentation (was Re: naturalize pitches)

2016-03-19 Thread Jaime Oliver
well, some examples of the LSR  have "2.18 
or higher” so you’d technically miss those if you only search for 2.19 
examples. I guess there are also a certain number of core features that remain 
compatible through all versions, so there is a fair chance that these might 
work even if the version says 2.16. 

best,

J


> On Mar 18, 2016, at 2:57 PM, Kristin Rollins  wrote:
> 
> Searching with Google tends to be more effective for me in solving my
> issues with learning LilyPond and troubleshooting my work, especially
> with the ability to simply type the query into the address bar of my
> browser. (Though that is after I took the time to go through the
> learning manual and at least review what documentation is available to
> become familiar with it.)
> 
> The one thing I have learned, after a couple of instances of finding the
> wrong version's documentation (or multiple versions of the
> documentation): I always start my search with:
> 
> lilypond 2.19
> 
> and then my search terms. That will usually make the official
> documentation for the proper version come to the top of the search
> results and lower the risk of finding answers that relate to previous
> versions.
> 
> Kristin
> 
> -- 
>  Kristin Rollins
>  kris...@verumsolum.com
>  Portsmouth, VA
> 
> On Fri, Mar 18, 2016, at 06:44 AM, David Kastrup wrote:
>> That's one reason why it makes sense to look at the accompanying
>> documentation of a LilyPond installation rather than search blindly for
>> something on the net (which will frequently deliver outdated information
>> and infrequently advance information).
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: naturalize pitches

2016-03-19 Thread Jaime Oliver
or you can search blindly because you forgot there is no backward compatibility 
and it is faster and because the best approaches to a problem aren’t always in 
the documentation page and then just remember to switch versions…

thanks!

J


> On Mar 18, 2016, at 6:44 AM, David Kastrup <d...@gnu.org> wrote:
> 
> Jaime Oliver <jaime.oliv...@gmail.com> writes:
> 
>> Hi all, 
>> 
>> I am trying to use the code for naturalizing pitches after a
>> transposition from the documentation:
>> http://www.lilypond.org/doc/v2.19/Documentation/notation/changing-multiple-pitches
> 
> Do you see the v2.19 in that link?
> 
>> Starting lilypond 2.18.2 [Main-Score.ly]...
> 
> Do you see the 2.18 in that message?
> 
> If you replace the v2.19 with v2.18 in the link, you'll get
> documentation/program matching your version of LilyPond.
> 
> That's one reason why it makes sense to look at the accompanying
> documentation of a LilyPond installation rather than search blindly for
> something on the net (which will frequently deliver outdated information
> and infrequently advance information).
> 
> -- 
> David Kastrup


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


naturalize pitches

2016-03-18 Thread Jaime Oliver
Hi all, 

I am trying to use the code for naturalizing pitches after a transposition from 
the documentation:
http://www.lilypond.org/doc/v2.19/Documentation/notation/changing-multiple-pitches
 


However I get: 

Starting lilypond 2.18.2 [Main-Score.ly]...
Processing 
`/Users/joliver/Documents/PIECES/WSCMS-silbadores/patches/TRIO/LAST-TRIO/take-2/Main-Score.ly'
Parsing.../Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/ly-syntax-constructors.scm:56:23
 : In expression (apply 
(ly:music-function-extract fun) parser ...):
/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/ly-syntax-constructors.scm:56:23
 : Wrong number of 
arguments to #
Exited with return code 1.

I am using version 2.18.2-1, with frescobaldi on a mac os x 10.11.2

Any help would be greatly appreciated!

best,

J___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


calling header declarations in score

2016-03-10 Thread Jaime Oliver
Hi all, 

I am not sure why this doesn’t work… any help?

best,

J



\modifiedNote = {
\tweak color #grey  
\tweak font-size #-2 
\tweak Accidental.color #grey 
\tweak Accidental.font-size #-2 
}

\relative c'' {

4 f g h

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


Re: change notehead color or size inside chord?

2016-03-10 Thread Jaime Oliver
got it thanks!
J
> On Mar 10, 2016, at 7:21 PM, Jaime Oliver <j...@nyu.edu> wrote:
> 
> wonderful! 
> Could it also affect the accidental?
> best,
> J
>> On Mar 10, 2016, at 6:50 PM, Thomas Morley <thomasmorle...@gmail.com> wrote:
>> 
>> 2016-03-11 0:31 GMT+01:00 Jaime Oliver <j...@nyu.edu>:
>>> Hi all is it possible to change the color or size of a notehead inside a 
>>> chord?
>>> My attempts so far have been unfruitful…
>>> best,
>>> J
>> 
>> \version "2.19.36"
>> 
>> {
>> <
>>  c'
>>  \tweak color #cyan e'
>>  \tweak font-size #-5 g'
>>  c''
>>> 
>> }
>> 
>> HTH,
>> Harm
>> 
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: change notehead color or size inside chord?

2016-03-10 Thread Jaime Oliver
wonderful! 
Could it also affect the accidental?
best,
J
> On Mar 10, 2016, at 6:50 PM, Thomas Morley <thomasmorle...@gmail.com> wrote:
> 
> 2016-03-11 0:31 GMT+01:00 Jaime Oliver <j...@nyu.edu>:
>> Hi all is it possible to change the color or size of a notehead inside a 
>> chord?
>> My attempts so far have been unfruitful…
>> best,
>> J
> 
> \version "2.19.36"
> 
> {
>  <
>   c'
>   \tweak color #cyan e'
>   \tweak font-size #-5 g'
>   c''
>> 
> }
> 
> HTH,
> Harm
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


change notehead color or size inside chord?

2016-03-10 Thread Jaime Oliver
Hi all is it possible to change the color or size of a notehead inside a chord?
My attempts so far have been unfruitful…
best,
J
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Cannot reach www.lilypond.org

2016-03-10 Thread Jaime Oliver
this has been happening all day.
J
> On Mar 10, 2016, at 3:44 PM, Joseph N. Srednicki  
> wrote:
> 
> It is 3:43 P.M. EST in the U.S.A. I have not been able to reach 
> www.lilypond.org  for about two hours. I tried two 
> different browsers. I don’t think my Internet connection is the issue because 
> I can reach other web sites. 
>  
> Joe Srednicki
>  
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org 
> https://lists.gnu.org/mailman/listinfo/lilypond-user 
> 
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Is http://lilypond.org/ down?

2016-03-10 Thread Jaime Oliver
i can’t access the documentation atm…

can anyone confirm?

best,

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


Re: www.lilypond.org down; alternative source of documentation

2016-03-10 Thread Jaime Oliver
thanks again,
do we have any sense of when it might be up again?
J
> On Mar 10, 2016, at 10:01 AM, Federico Bruni  wrote:
> 
> Il giorno gio 10 mar 2016 alle 15:45, Graham King 
>  ha scritto:
>> Anyone affected by the current unavailability of www.lilypond.org might like 
>> to know that a very recent snapshot of that website is available at the 
>> Wayback Machine: 
>> https://web.archive.org/web/20160306123541/http://lilypond.org/
>> Useful if you don't have a local copy of the documentation.
> 
> Another online source (and format) is the PDF portfolio provided by Nick 
> Payne. The latest is:
> https://lists.gnu.org/archive/html/lilypond-user/2016-02/msg00385.html
> 
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: www.lilypond.org down; alternative source of documentation

2016-03-10 Thread Jaime Oliver
great thanks!
J
> On Mar 10, 2016, at 9:45 AM, Graham King  wrote:
> 
> Anyone affected by the current unavailability of www.lilypond.org 
>  might like to know that a very recent snapshot of 
> that website is available at the Wayback Machine: 
> https://web.archive.org/web/20160306123541/http://lilypond.org/ 
> 
> 
> Useful if you don't have a local copy of the documentation.
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: PD to lillypond

2008-04-23 Thread Jaime Oliver
hello again,

 You might look at fomus http://common-lisp.net/project/fomus/.

thanks, i was aware of it; it is perfectly relevant.

 How do you plan to deal with durations?

Well, so far I am feeding integers produced by patches in pd. these integers
have a reference duration (like 1 = 16th, 2 = 8th, etc.). I am also allowing
floating point info like 1.33 1.33 1.33 to make tupletsso no quantization or
proportional notation is needed so far for this external (because input is
precise) , although others are on the works and I agree that proportional
duration would be really nice, I'll keep it in mind.

On Wed, Apr 23, 2008 at 8:34 AM, padovani [EMAIL PROTECTED] wrote:


 It would be nice to have have the choice to write the score with
 proportional notation (duration would be exactly translated in space between
 quarter-notes) or quantification of time (with a message that tells your
 external which possible subdivisions of the beat you allow).
 I am doing something like this quantification on Common Lisp, but it would
 be nice to have some lilypond code that creates proportional notation with
 note-spacing and a seconds grid above the score... (maybe with postscript
 markups above skips)..
 Althought quantification is more detailed, proportional notation is a very
 good tool when composing (even as a sketch or a composing plan)..

 Jaime Oliver escreveu:

 Hello again,

 I am developing a PD external that formats pairs of pd midi pitches and
 durations into lilypond scores. do any of you know of other externals / code
 I should be aware of?

 best,

 J

 --
 Jaime E Oliver LR

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 www.realidadvisual.org/jaimeoliver 
 http://www.realidadvisual.org/jaimeoliver
 www-crca.ucsd.edu/ http://www-crca.ucsd.edu/
 www.realidadvisual.org http://www.realidadvisual.org

 9168 Regents Rd. Apt. G
 La Jolla, CA 92037
 USA
 

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






-- 
Jaime E Oliver LR

[EMAIL PROTECTED]
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


automatically place bars in a melody

2008-04-22 Thread Jaime Oliver
Hello all,
I haven't used Lilypond so much so this might come up as obvious.I need
Lilypond to place bars in a melody, splicing durations so that:
A) it will fill the bar to it's full capacity and
B) it will split durations that exceed the size of the bar, so that they
retain the part that completes the bar and tie it to the remainder in the
next bar.

So, i have tried:

\new Voice \with {
\remove Note_heads_engraver
\consists Completion_heads_engraver
}

but it doesn't seem to make the job correctly. Any suggestions are welcome.

below is the code for a simple melody in which the present solution doesn't
work.

best,

Jaime


%{lily_pitch_dur-pitch-dur version 0.01%}

#(set-default-paper-size a4 'landscape)
#(set-global-staff-size 18)

\new Voice \with {
\remove Note_heads_engraver
\consists Completion_heads_engraver
}

\relative c' {
\time 4/4
\clef treble

c16  cis8  d8. dis4  e4~ e16  f4. fis4~ fis8. g2  gis2~ gis16  a2~ a8  ais2~
ais8. b2. c2~ c4~ c16
}

\version 2.10.33


-- 
Jaime E Oliver LR

[EMAIL PROTECTED]
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


PD to lillypond

2008-04-22 Thread Jaime Oliver
Hello again,
I am developing a PD external that formats pairs of pd midi pitches and
durations into lilypond scores. do any of you know of other externals / code
I should be aware of?

best,

J

-- 
Jaime E Oliver LR

[EMAIL PROTECTED]
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: automatically place bars in a melody

2008-04-22 Thread Jaime Oliver
by the way, if the \time expression in the previous program is replaced with
\time 30/4 the durations are correct.
below the changed version,

best,

Jaime

%{lily_pitch_dur-pitch-dur version 0.01%}

#(set-default-paper-size a4 'landscape)
#(set-global-staff-size 18)

\new Voice \with {
\remove Note_heads_engraver
\remove Forbid_line_break_engraver
\consists Completion_heads_engraver
}

\relative c' {
\time 30/4
\clef treble

c16  cis8  d8. dis4  e4~ e16  f4. fis4~ fis8. g2  gis2~ gis16  a2~ a8  ais2~
ais8. b2. c2~ c4~ c16
}

\version 2.10.33


On Tue, Apr 22, 2008 at 7:20 PM, Jaime Oliver [EMAIL PROTECTED]
wrote:

 Hello all,
 I haven't used Lilypond so much so this might come up as obvious.I need
 Lilypond to place bars in a melody, splicing durations so that:
 A) it will fill the bar to it's full capacity and
 B) it will split durations that exceed the size of the bar, so that they
 retain the part that completes the bar and tie it to the remainder in the
 next bar.

 So, i have tried:

 \new Voice \with {
 \remove Note_heads_engraver
 \consists Completion_heads_engraver
 }

 but it doesn't seem to make the job correctly. Any suggestions are welcome.

 below is the code for a simple melody in which the present solution doesn't
 work.

 best,

 Jaime


 %{lily_pitch_dur-pitch-dur version 0.01%}

 #(set-default-paper-size a4 'landscape)
 #(set-global-staff-size 18)

 \new Voice \with {
 \remove Note_heads_engraver
 \consists Completion_heads_engraver
 }

 \relative c' {
 \time 4/4
 \clef treble

 c16  cis8  d8. dis4  e4~ e16  f4. fis4~ fis8. g2  gis2~ gis16  a2~ a8
  ais2~ ais8. b2. c2~ c4~ c16
 }

 \version 2.10.33


 --
 Jaime E Oliver LR

 [EMAIL PROTECTED]
 www.realidadvisual.org/jaimeoliver
 www-crca.ucsd.edu/
 www.realidadvisual.org

 9168 Regents Rd. Apt. G
 La Jolla, CA 92037
 USA




-- 
Jaime E Oliver LR

[EMAIL PROTECTED]
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: automatically place bars in a melody

2008-04-22 Thread Jaime Oliver
Hi Graham,
thanks for your response,
 What doesn't work about it?

1. it doesn't fill the bar to it's full capacity, some 4/4 bars have only 3
quarter notes worth, some have more.
2. when splitting notes with ties, the remainder (in the next bar) is not
tied. that is:

with Completion_heads_engraver:

\time 4/4
c4 c4 c2.~ c4

should produce:  c4 c4 c2~ | c4~ c4 or even better: c4 c4 c2~ | c2

but it produces:

c4 c4 c2~ | c4 c4

If you find a bug, please file a
 minimal bug report.

I posted a bug report here:
http://code.google.com/p/lilypond/issues/detail?id=606start=200
is this fine? should I also post one in
http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs?

best,

J



On Tue, Apr 22, 2008 at 8:37 PM, Graham Percival [EMAIL PROTECTED] wrote:

 On Tue, 22 Apr 2008 19:20:31 -0700
 Jaime Oliver [EMAIL PROTECTED] wrote:

  \new Voice \with {
  \remove Note_heads_engraver
  \consists Completion_heads_engraver
  }
 
  but it doesn't seem to make the job correctly. Any suggestions are
  welcome.
 
  below is the code for a simple melody in which the present solution
  doesn't work.

 What doesn't work about it?  If you find a bug, please file a
 minimal bug report.

 Cheers,
 - Graham




-- 
Jaime E Oliver LR

[EMAIL PROTECTED]
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user