Re: random music
On Tue, 20 Jul 2010, Graham Percival wrote: On Tue, Jul 20, 2010 at 06:17:51PM +0200, Martin Tarenskeen wrote: But thinking about this little project I was wondering: Would it be possible to write a lilypond input file, using just pure Lilypond syntax and some Scheme magick, that would produce a different score each time you process it with Lilypond? I don't know much about scheme programming, but a short google search tells me it has some support for random numbers. There is already a snippet like this in LSR. You mean this one? : http://lsr.dsi.unimi.it/LSR/Item?id=274 Thank you for the hint. It should give me some ideas to start with! -- Martin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: subdivideBeams problem
Hi Neil, I also came across this problem in the past but for some reason didn't bother to solve it. AFAICS this is not sufficiently documented. As Hanna Geisel says you are only directed to set beatLength in the snippet "Sub-dividing beams" (http://www.lilypond.org/doc/v2.13/Documentation/notation/beams). Is there another place in the docs giving the information you posted here? Otherwise I would open an issue in the tracker, OK? Best Urs Am 21.07.2010 01:32, schrieb Neil Puttock: On 20 July 2010 13:25, Geisel Hanna wrote: The beams aren't subdivided in my output, but divided by 8th notes. I think I followed the instructions from the manual correctly, but the subdivision just doesn't work, where's my mistake? You're almost there. There are just two more changes required: 1) You've set beatLength to 1 8, so you also need to set beatGrouping to ensure the beats are grouped in sets of two: \set beatGrouping = #'(2 2) 2) The above still doesn't work with demisemiquavers, since there are some default beaming rules which still need reverting. Here are the default rules from scm/auto-beam.scm: ;; in 2 4 time: ;; use beatLength for all except 32nd notes ;; end beams with 32nd notes each 1 8 beat ((end 1 32 2 4) . ,(ly:make-moment 1 8)) ((end 1 32 2 4) . ,(ly:make-moment 2 8)) ((end 1 32 2 4) . ,(ly:make-moment 3 8)) The first and last rules here should be reverted (you can ignore the second rule if you like; it matches the beat grouping you want, so can be ignored): #(revert-auto-beam-setting '(end 1 32 2 4) 1 8) #(revert-auto-beam-setting '(end 1 32 2 4) 3 8) I also didn't manage to find the file scm/music-functions.scm, where can I find that? It depends on your operating system. This page should narrow it down: http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Other-sources-of-information#Other-sources-of-information Cheers, Neil ___ 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: Lilypond for FL Studio ...
On Sun, Jul 18, 2010 at 2:53 PM, Valentin Villenave wrote: > On Fri, Jul 16, 2010 at 8:25 AM, Jean-Marie Cannie > wrote: > > We are the developers of FL Studio (formerly known as Fruityloops) > > and we are looking to print music sheets direct from our software. > > Greetings, > > whilst I'm certain we all appreciate this tribute to LilyPond's > quality and reliability, you have to know that GNU LilyPond is free > software (GPLv3 licensed), and as such it cannot be embedded in (nor > link to) non-free software. > It would be possible to use Lilypond in FL Studio, when Lilypond was released with a LGPL license right? http://en.wikipedia.org/wiki/LGPL Is it now (with GPL) possible to have a Lilypond export function in FL Studio? \r ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond for FL Studio ...
On Wed, Jul 21, 2010 at 9:28 PM, Bernardo Barros wrote: > Or if Stutio FLX changes its license to GNU/GPL. > > 2010/7/21 rosea grammostola : > > > > > > On Sun, Jul 18, 2010 at 2:53 PM, Valentin Villenave < > valen...@villenave.net> > > wrote: > >> > >> On Fri, Jul 16, 2010 at 8:25 AM, Jean-Marie Cannie > >> wrote: > >> > We are the developers of FL Studio (formerly known as Fruityloops) > >> > and we are looking to print music sheets direct from our software. > >> > >> Greetings, > >> > >> whilst I'm certain we all appreciate this tribute to LilyPond's > >> quality and reliability, you have to know that GNU LilyPond is free > >> software (GPLv3 licensed), and as such it cannot be embedded in (nor > >> link to) non-free software. > > > > > > It would be possible to use Lilypond in FL Studio, when Lilypond was > > released with a LGPL license right? http://en.wikipedia.org/wiki/LGPL > > > > Is it now (with GPL) possible to have a Lilypond export function in FL > > Studio? > > > > \r > >On Wed, Jul 21, 2010 at 9:28 PM, Bernardo Barros wrote: > Or if Stutio FLX changes its license to GNU/GPL. Hmm right... Some kind of win-win situation would be not so bad... maybe. They use lilypond and optimize the MIDI functionality and pop-music scores and give those code changes back to Lilypond (this is also needed with a LGPL license?). Firefox and OpenOffice and JACK seems to use the LGPL license. \r ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond for FL Studio ...
Or if Stutio FLX changes its license to GNU/GPL. 2010/7/21 rosea grammostola : > > > On Sun, Jul 18, 2010 at 2:53 PM, Valentin Villenave > wrote: >> >> On Fri, Jul 16, 2010 at 8:25 AM, Jean-Marie Cannie >> wrote: >> > We are the developers of FL Studio (formerly known as Fruityloops) >> > and we are looking to print music sheets direct from our software. >> >> Greetings, >> >> whilst I'm certain we all appreciate this tribute to LilyPond's >> quality and reliability, you have to know that GNU LilyPond is free >> software (GPLv3 licensed), and as such it cannot be embedded in (nor >> link to) non-free software. > > > It would be possible to use Lilypond in FL Studio, when Lilypond was > released with a LGPL license right? http://en.wikipedia.org/wiki/LGPL > > Is it now (with GPL) possible to have a Lilypond export function in FL > Studio? > > \r > > ___ > 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: Lilypond: same voice
On Jul 21, 2010, at 8:27 PM, Helge Kruse wrote: > How should I implement this in Lilypond? > > The excerpt shows a piece for one or two harps. If played with one harp lower > staff is for left hand upper staff for right hand. > When played with two harps each staff is for one harp. > > In the first measures both instruments should play unisono. How can I write > theses unisono tremolo triplets? Should I write it two times with > \change Staff > or is there a more elegant way to write the same melody only once? > I would do it so: (more or less) \version "2.13.29" patternA = \relative { \repeat tremolo 8 { e32*2/3[ c a] } } \new Staff { << { \voiceOne \patternA } \new Voice { \voiceFour \shiftOff \patternA } >> } <>___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: subdivideBeams problem
On 21 July 2010 08:37, Urs Liska wrote: > AFAICS this is not sufficiently documented. As Hanna Geisel says you are > only directed to set beatLength in the snippet "Sub-dividing beams" > (http://www.lilypond.org/doc/v2.13/Documentation/notation/beams). The syntax has changed since 2.13.28 was released, so this snippet's out of date. You can see how it will look once 2.13.29's released here: http://www.kainhofer.com/~lilypond/Documentation/notation/beams.html There won't be any changes made to the 2.12 docs. Cheers, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond for FL Studio ...
On 2010-07-18 14:53, Valentin Villenave wrote: On Fri, Jul 16, 2010 at 8:25 AM, Jean-Marie Cannie wrote: We are the developers of FL Studio (formerly known as Fruityloops) and we are looking to print music sheets direct from our software. Greetings, whilst I'm certain we all appreciate this tribute to LilyPond's quality and reliability, you have to know that GNU LilyPond is free software (GPLv3 licensed), and as such it cannot be embedded in (nor link to) non-free software. Wait a minute, is this real? MacOS X ships with XCode. XCode ships with the GCC. GCC is mentioned on the no. 1 of Internet encyclopedias as the no. 2 of GPL-licensed software. Does this mean that Apple a) has some weird kind of agreement with the developers of GCC (virtually impossible, since the number is legion)? b) relies that nobody (e.g. Macrohard, the ones with Door OS) will ever care and sue them? c) relies that if they ever get sued they'll either win the fight or just have to pay a few bucks? d) just knows that this is allowed? I'm not a lawyer, but to my understanding: d). A plain bundling of a binary does not violate even the GPL. It's not linked (not "making function calls or sharing data structures"), it's not embedded, it's just shipped with (without modifications, of course) and called. If this is possible, it'd be a real good thing for LilyPond, by the way. Interested (and paid) developers who will have to spent at least a bit of their time to interface and output of a program is always a Good Thing. By the way, reading the other mails: of course it's not an option to hope for FL Studio to be relicensed under the GPL - FL wants to make money with it. It's their business, and it most probably won't work just with support. Cheers, Alexander ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
DocBook and lilypond-book
Hi, recently I've been playing with DocBook and lilypond-book, in order to evaluate if it could be a good tool to write a small tutorial about LilyPond. The first time I tried I managed to get the rendered .png, using the example in Usage 3.2.4 as a starting point. Then time passed and I tried again the same code (well, I'm not so sure about it... it's time to learn Git maybe :)) but the code is not rendered anymore. I'm using version 2.13.28. Just to be sure, I've tried an older version (2.13.23), but nothing changes. So the solution is probably the easier one: I'm totally missing something. Could you please tell me what's wrong in tha attached tiny example (I've just copied and pasted the snippet in the doc)? The commands I use are the following: lilypond-book -o out test.lyxml xsltproc -o test.html /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl out/test.xml Thanks for your help, Federico test.lyxml Description: application/docbook ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond for FL Studio ...
They can still make money with GPL. Yes, they are not going to do that. They can export to .ly format and support LilyPond development with employees or money. That's also good option. 2010/7/21 Alexander Kobel : > On 2010-07-18 14:53, Valentin Villenave wrote: >> >> On Fri, Jul 16, 2010 at 8:25 AM, Jean-Marie Cannie >> wrote: >>> >>> We are the developers of FL Studio (formerly known as Fruityloops) >>> and we are looking to print music sheets direct from our software. >> >> Greetings, >> >> whilst I'm certain we all appreciate this tribute to LilyPond's >> quality and reliability, you have to know that GNU LilyPond is free >> software (GPLv3 licensed), and as such it cannot be embedded in (nor >> link to) non-free software. > > Wait a minute, is this real? > > MacOS X ships with XCode. XCode ships with the GCC. GCC is mentioned on > the no. 1 of Internet encyclopedias as the no. 2 of GPL-licensed software. > Does this mean that Apple > a) has some weird kind of agreement with the developers of GCC (virtually > impossible, since the number is legion)? > b) relies that nobody (e.g. Macrohard, the ones with Door OS) will ever > care and sue them? > c) relies that if they ever get sued they'll either win the fight or just > have to pay a few bucks? > d) just knows that this is allowed? > > I'm not a lawyer, but to my understanding: d). A plain bundling of a binary > does not violate even the GPL. It's not linked (not "making function calls > or sharing data structures"), it's not embedded, it's just shipped with > (without modifications, of course) and called. > If this is possible, it'd be a real good thing for LilyPond, by the way. > Interested (and paid) developers who will have to spent at least a bit of > their time to interface and output of a program is always a Good Thing. > > By the way, reading the other mails: of course it's not an option to hope > for FL Studio to be relicensed under the GPL - FL wants to make money with > it. It's their business, and it most probably won't work just with support. > > > Cheers, > Alexander > > ___ > 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
Information about Vim mode in the manual
Hi everybody, I don't know if someone ever went trough this, but I spend a lot of time trying to figure out why the syntax highlight in Vim didn't work. I followed all the instructions in the manual ( http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/Vim-mode) but it didn't work at all. Also, I noticed that syntax highlight ofr other languages worked (like html for instance) After a lot googling and tryings I discovered that the problem was that my "~/.vim/filetype.vim" (wich in my ubuntu 10.04 is placed at /usr/share/vim/vim72/filetype.vim) already had some configurations, including the following lines: ---code--- if exists("did_load_filetypes") finish endif augroup filetypedetect ---end--- So what I was doing is that I was pasting exactly the code in the manual at the end of my "filetype.vim", and that of course doubled the code above so the highlight simply didn't work. I think that In the manual it should be told that the code above must appear ONLY ONCE in the "filetype.vim" and if it is already there, than the user should paste only the following lines: ---code--- au! BufNewFile,BufRead *.ly,*.ily setf lilypond augroup END --end--- Other than that, maybe this message help someone that is having the same trouble that I had. Bye, Caio Barros ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user