Re: midi2ly dll error

2016-04-04 Thread Martin Tarenskeen
On Mon, 4 Apr 2016, Gianmaria Lari wrote: Ciao Martin, if you can, could you please check the folder \Program Files (x86)\LilyPond\usr\bin to see if you have python.exe inside it? I'm curious to know if the lilypond installer installed the bundled python even if you unchecked it. That's

Re: Scheme function to force any noteEvent to a skipEvent

2016-04-04 Thread David Wright
On Mon 04 Apr 2016 at 17:47:03 (+), Joseph Chrestien wrote: > Thanks David and Simon for your kind help. I used David's solution and it > works brilliantly. Very nice. I didn't know of this NullVoice context, I'll > take a look at it. My view would be to use David's solution where you have a

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread David Wright
On Tue 05 Apr 2016 at 01:04:40 (+0200), Thomas Morley wrote: > 2016-04-04 23:58 GMT+02:00 David Sumbler : > > > > Just a thought - perhaps one day somebody who understands Lilypond well > > might write a section for the docs, starting with the basic > > Well, the full quote: > > LilyPond treats i

Re: Weird error when using skipTypesetting

2016-04-04 Thread David Wright
On Mon 04 Apr 2016 at 23:30:00 (+0200), Sharon Rosner wrote: > Hi all, > > I’m getting a bunch of "programming error: insane spring distance requested, > ignoring it” etc errors when compiling the following: > > \version "2.19.37" > > music = \relative c' { > c1 d e f \bar "||" > \set Scor

Re: Weird error when using skipTypesetting

2016-04-04 Thread Colin Campbell
On 16-04-04 05:12 PM, Sharon Rosner wrote: Sharon Rosner wrote In addition, the music is cut immediately after the last note, and does not show the bar line that I’m explicitly asking for: For anyone who's interested, I've found a workaround technique based on code in music-functions.scm. The c

Re: Weird error when using skipTypesetting

2016-04-04 Thread Sharon Rosner
Sharon Rosner wrote > In addition, the music is cut immediately after the last note, and does > not show the bar line that I’m explicitly asking for: For anyone who's interested, I've found a workaround technique based on code in music-functions.scm. The code is here: https://gist.github.com/ci

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Thomas Morley
2016-04-04 23:58 GMT+02:00 David Sumbler : > > Just a thought - perhaps one day somebody who understands Lilypond well > might write a section for the docs, starting with the basic Well, the full quote: LilyPond treats input like this: \relative { c''4 a d c } as shorthand for this: > \book {

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread David Wright
On Mon 04 Apr 2016 at 12:46:37 (+0200), Bernard wrote: > On 03-04-16 22:56, David Kastrup wrote: > >Bernard writes: > >>That does help. I found out \with is a very special statement. > >Not really. \with can be part of other constructs, just like "else" can > >be part of other constructs in many

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Simon Albrecht
On 04.04.2016 22:19, Johannes Waldmann wrote: The docs do make considerable effort to explain, e.g., http://lilypond.org/doc/v2.18/Documentation/learning/contexts-and-engravers . If at all, I might criticize this for being in the wrong order: 2. Common Notation, 3. Fundamental Concepts - but ho

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread David Sumbler
On Mon, 2016-04-04 at 16:12 -0400, lilypond-user-requ...@gnu.org wrote: > > From: Noeck > > To: lilypond-user@gnu.org > > Subject: Re: Lilypond structure / implicit - explicit / with > > statement > > Date: Mon, 4 Apr 2016 22:11:51 +0200 > > > > Would the table in the previous mail be helpful for

Re: Weird error when using skipTypesetting

2016-04-04 Thread Urs Liska
Am 04.04.2016 um 23:30 schrieb Sharon Rosner: > Hi all, > > I’m getting a bunch of "programming error: insane spring distance > requested, ignoring it” etc errors when compiling the following: > > \version "2.19.37" > > music = \relative c' { > c1 d e f \bar "||" > \set Score.skipTypesetting

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread David Kastrup
Colin Campbell writes: > On 16-04-04 02:57 PM, David Kastrup wrote: >> Noeck writes: >> >>> … and enjoy your climbing! I hope I don't produce much more >>> misinformation until you are safely back ;) >> Uh, I'm already back. I'm only enjoying the open spots on my fingertips >> now. They'll clo

Weird error when using skipTypesetting

2016-04-04 Thread Sharon Rosner
Hi all,I’m getting a bunch of "programming error: insane spring distance requested, ignoring it” etc errors when compiling the following:\version "2.19.37"music = \relative c' {   c1 d e f \bar "||"  \set Score.skipTypesetting = ##t  g a b c}{ \music }In addition, the music is cut immediately after

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Colin Campbell
On 16-04-04 02:57 PM, David Kastrup wrote: Noeck writes: … and enjoy your climbing! I hope I don't produce much more misinformation until you are safely back ;) Uh, I'm already back. I'm only enjoying the open spots on my fingertips now. They'll close up in the next few days, and in 10 days

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread David Kastrup
Noeck writes: > … and enjoy your climbing! I hope I don't produce much more > misinformation until you are safely back ;) Uh, I'm already back. I'm only enjoying the open spots on my fingertips now. They'll close up in the next few days, and in 10 days or so the fingers (mostly) will start pee

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Noeck
… and enjoy your climbing! I hope I don't produce much more misinformation until you are safely back ;) Cheers, Joram ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Noeck
Hi David, On 04.04.2016 22:22, David Kastrup wrote: > Noeck writes: > >> Alternatively, you can put this into a layout block: >> >> \layout { >> \context { >> \Staff >> clefPosition = 2 >> } >> } >> %or >> \layout { >> \set Staff.clefPosition = 2 >> } > > This is not the same.

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread David Kastrup
Noeck writes: > Alternatively, you can put this into a layout block: > > \layout { > \context { > \Staff > clefPosition = 2 > } > } > %or > \layout { > \set Staff.clefPosition = 2 > } This is not the same. The first affects only the "Staff" context definition. The second also aff

Re: Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Johannes Waldmann
interesting discussion! > My ultimate question boils down to how to assign > a value to a property. That should not even be a question. That ("should not be a question") depends on the mental model. Why do you assume that a property is assignable, or in fact that a (sub)program should consist of

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Noeck
Would the table in the previous mail be helpful for the docs here? http://lilypond.org/doc/v2.19/Documentation/notation/overview-of-modifying-properties I could write it and some text around it if there is a general feeling that it would help. Cheers, Joram __

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Noeck
Hi Bernard, I would like to try and explain it in other words as the manual: music with implicit voice and staff: { c' } music with explicit staff and implicit voice: \new Staff { c' } adding a with statement: \new Staff \with { clefPosition = 2 } { c' } Please note here: There must be no { af

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Simon Albrecht
On 04.04.2016 21:54, David Kastrup wrote: The only "inconsistency" I am able to see is that context modifications (like context definitions) omit a context name for their sets/overrides, and that they use assignment syntax without \set unlike to how context properties are set inside of actual mus

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread David Kastrup
Bernard writes: > On 04-04-16 18:35, David Kastrup wrote: >> Bernard writes: >> >>> >>> I think I am getting quite close now. Thanks, >> I have no idea what you think you are doing but I have severe doubts >> that you are getting close to anything useful. It looks to me like you >> are just ran

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Kieren MacMillan
Hi Bernard, I’m sorry you’ve had such difficulty learning Lilypond. On Apr 4, 2016, at 3:20 PM, Bernard wrote: > My ultimate question boils down to how to assign a value to a property. That > should not even be a question. The main problem you’re having, I think, is that there are different wa

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Bernard
On 04-04-16 18:35, David Kastrup wrote: Bernard writes: I think I am getting quite close now. Thanks, I have no idea what you think you are doing but I have severe doubts that you are getting close to anything useful. It looks to me like you are just randomly putting syntactic entities into

RE: How to generate a Tambourine "shake" (or any "trill" sound)

2016-04-04 Thread Peter Gentry
>Message: 1 >Date: Fri, 1 Apr 2016 15:56:03 +0200 >From: Ziad Gholam >To: lilypond-user@gnu.org >Subject: How to generate a Tambourine "shake" (or any "trill" sound) > in MIDI file ? >Message-ID: > > >Content-Type: text/plain; charset="utf-8" > >Hello to all > > >I am using version 2

Re: Scheme function to force any noteEvent to a skipEvent

2016-04-04 Thread Joseph Chrestien
Thanks David and Simon for your kind help. I used David's solution and it works brilliantly. Very nice. I didn't know of this NullVoice context, I'll take a look at it. Nice day to all of you Joseph On Mon, Apr 4, 2016 at 7:57 AM -0700, "Simon Albrecht" mailto:simon.albre...@mail.de>> wrote:

Re: I'm not smart enough to figure out the math for this.

2016-04-04 Thread Paul Morris
> On Mar 9, 2016, at 6:27 PM, David Kastrup wrote: > > \version "2.19.28" > > show = > #(define-music-function (mup item) (markup? symbol-list-or-music?) > (propertyTweak 'stencil > (lambda (grob) >(grob-interpret-markup grob mup)) > item)) > > \relative c' \new Staff { > \show \marku

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Paul Morris
> On Apr 4, 2016, at 6:46 AM, Bernard wrote: > > I have attached some more real live code using /with and and example I tried > to skip the /with section and assign properties directly, which fails. Here’s how to fix your example (without \with) that was not working: \score { \new DrumStaff

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread David Kastrup
Bernard writes: > On 04-04-16 16:51, Simon Albrecht wrote: >> On 04.04.2016 12:46, Bernard wrote: >>> I have attached some more real live code using /with and and >>> example I tried to skip the /with section and assign properties >>> directly, which fails. >> >> instrumentName, drumStyleTable &c

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Kieren MacMillan
Hi Bernard, > \score { > \new DrumStaff { > \override DrumStaff.StaffSymbol.line-count = #3 > \set DrumStaff.instrumentName = "Djembe 2" > \set DrumStaff.drumStyleTable = #(alist->hash-table djembe) > } > \djEen > } If, like me, you prefer separating musical content from presentation as much as

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Simon Albrecht
On 04.04.2016 17:36, Bernard wrote: On 04-04-16 16:51, Simon Albrecht wrote: On 04.04.2016 12:46, Bernard wrote: I have attached some more real live code using /with and and example I tried to skip the /with section and assign properties directly, which fails. instrumentName, drumStyleTable

how to send raw MIDI?

2016-04-04 Thread Johannes Waldmann
Hi. Is there a way to send raw MIDI messages (that is, sequences of bytes) from a description inside a lilypond text? (possibly embedded LISP) my application: to an external synthesizer device that accepts a lot of control messages. Base case: I want to send "program changes" where the argument

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Bernard
On 04-04-16 16:51, Simon Albrecht wrote: On 04.04.2016 12:46, Bernard wrote: I have attached some more real live code using /with and and example I tried to skip the /with section and assign properties directly, which fails. instrumentName, drumStyleTable &c. are context properties. Inside m

Re: Fwd: Problem with one staff

2016-04-04 Thread Simon Albrecht
On 04.04.2016 15:19, Maria Jesus Marin wrote: Good afternoon, I have one problem with one composition. My problem is that I have writted the composition in Musescore, but when I export to xml and I import the xml file in to Frescobaldi the staff duplicate lines. I attach the musescore file, xml

Re: unfold: volta for typesetting, unfold for MIDI generation?

2016-04-04 Thread Johannes Waldmann
Hi. turns out my previous question already is answered in the docs: http://lilypond.org/doc/v2.18/Documentation/notation/repeats-in-midi and it handles \alternative correctly as well. - J. ___ lilypond-user mailing list lilypond-user@gnu.org https://li

Re: Scheme function to force any noteEvent to a skipEvent

2016-04-04 Thread Simon Albrecht
Hi Joseph, a more common approach to the situation is using a separate music variable containing information common to all parts. E.g. % aux = { \tempo 4 = 100 s1 \bar "|." } musicOne = { e'1 } musicTwo = { c'1 } \score { << \new Staff << \new NullVoice \aux

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Simon Albrecht
On 04.04.2016 12:46, Bernard wrote: I have attached some more real live code using /with and and example I tried to skip the /with section and assign properties directly, which fails. instrumentName, drumStyleTable &c. are context properties. Inside music, these are set with the \set command,

Re: Fwd: Problem with one staff

2016-04-04 Thread Martin Tarenskeen
On Mon, 4 Apr 2016, Maria Jesus Marin wrote: Good afternoon, I have one problem with one composition. My problem is that I have writted the composition in Musescore, but when I export to xml and I import the xml file in to Frescobaldi the staff duplicate lines. I attach the musescore file, xm

Re: Scheme function to force any noteEvent to a skipEvent

2016-04-04 Thread David Kastrup
Joseph Chrestien <_...@live.com> writes: > Hi all, > > is it possible to change all notes in a voice to skips through a function ? > > E.g. ` \silence c4 \tempo 4=100 f8\p g8 ` would be compiled as ` s4 \tempo > 4=100 s8\p s8 `. Note all other events would stay the same. \version "2.19.32" silen

Scheme function to force any noteEvent to a skipEvent

2016-04-04 Thread Joseph Chrestien
Hi all, is it possible to change all notes in a voice to skips through a function ? E.g. ` \silence c4 \tempo 4=100 f8\p g8 ` would be compiled as ` s4 \tempo 4=100 s8\p s8 `. Note all other events would stay the same. Below are the context and minimal code. Thanks! Jo Chrestien - PS. C

Re: midi2ly dll error

2016-04-04 Thread Anders Eriksson
On 2016-04-04 11:03, Gianmaria Lari wrote: Ciao Federico, regarding [configure Frescobaldi to reference a specific phyton compiler] you wrote: You must add it to the path in system preferences, as explained here: http://lilypond.org/windows.html Yes, I can change the system path b

Re: Lilypond structure / implicit - explicit / with statement

2016-04-04 Thread Bernard
On 03-04-16 22:56, David Kastrup wrote: Bernard writes: Hi Paul, That does help. I found out \with is a very special statement. Not really. \with can be part of other constructs, just like "else" can be part of other constructs in many programming languages (including Scheme). It is not a

Re: midi2ly dll error

2016-04-04 Thread Gianmaria Lari
Ciao Federico, regarding [configure Frescobaldi to reference a specific phyton compiler] you wrote: You must add it to the path in system preferences, as explained here: > http://lilypond.org/windows.html Yes, I can change the system path but this is something I wanted to avoid. I have other s

Re: midi2ly dll error

2016-04-04 Thread Federico Bruni
Il giorno lun 4 apr 2016 alle 8:19, Gianmaria Lari ha scritto: > You set it on the Frecobaldi Preferences page (Edit/Preferences/Helper > Applications). In the Frescobaldi Preferences page (Edit/Preferences/Helper Applications) I can set the path for the following applications: Pdf, Midi, SV

Re: 4 slashes in percent repeat

2016-04-04 Thread Marc Hohl
Hi Daniel, Am 04.04.2016 um 07:07 schrieb Daniel E. Moctezuma: Thanks for your reply. The samples from http://lsr.di.unimi.it/LSR/Item?id=954 look nice for solo pieces, but my use case is for multiple instruments. Imagine a rock band where the bass has 4 bars that will be repeated, but the re