Re: Need to suppress bar number checking in midi block
On Sat, Mar 24, 2012 at 10:51 PM, Nick Payne nick.pa...@internode.on.net wrote: On 25/03/12 10:31, Michael Ellis wrote: mymusic = { \time 4/4 \repeat volta 2 { g'1 \barNumberCheck #2 } c'1 \barNumberCheck #3 } Use the | character instead for barchecks: Ah, the problem with constructing minimal examples! In real transcriptions, I use | after each measure and \barNumberCheck after groups of 5 to 10 measures. Barchecks help me catch rhythm errors within a measure whereas barNumberChecks catch omitted or extra measures. I find them both extremely useful and would hate to give up either. Hence the question. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
fret-diagram, big black line across 1:st fret (no capo specified)
Greetings fellow lilyponders. I am using Lilypond 2.12.3 (still the standard in Ubuntu Lucid I guess). Problem: When I try to add some standard fret-diagrams [practically verbatim from the manual] there always appears a big ugly black line all across the 1:st fret. Tried to search but couldn't find any relevant previous posts. Help much appreciated. Below is a close to minimal example + the output: %Produces big black line across 1:st fret, although no capo specified \version 2.12.3 \paper{ ragged-right=##t } { c'1^\markup \fret-diagram-terse #x;0;2;0;2;0; c'1^\markup \fret-diagram #6-x;5-0;4-2;3-0;2-2;1-0; c'1^\markup \fret-diagram-terse #0;3;2;0;1;0; } http://old.nabble.com/file/p33544697/strange_fretdiagram_output.png Best regards bluelegend :] -- View this message in context: http://old.nabble.com/fret-diagram%2C-big-black-line-across-1%3Ast-fret-%28no-capo-specified%29-tp33544697p33544697.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: fret-diagram, big black line across 1:st fret (no capo specified)
- Original Message - From: bluelegend daniel.alberts...@comhem.se To: lilypond-user@gnu.org Sent: Sunday, March 25, 2012 3:35 AM Subject: fret-diagram, big black line across 1:st fret (no capo specified) Greetings fellow lilyponders. I am using Lilypond 2.12.3 (still the standard in Ubuntu Lucid I guess). Problem: When I try to add some standard fret-diagrams [practically verbatim from the manual] there always appears a big ugly black line all across the 1:st fret. Tried to search but couldn't find any relevant previous posts. Help much appreciated. Below is a close to minimal example + the output: %Produces big black line across 1:st fret, although no capo specified \version 2.12.3 \paper{ ragged-right=##t } { c'1^\markup \fret-diagram-terse #x;0;2;0;2;0; c'1^\markup \fret-diagram #6-x;5-0;4-2;3-0;2-2;1-0; c'1^\markup \fret-diagram-terse #0;3;2;0;1;0; } http://old.nabble.com/file/p33544697/strange_fretdiagram_output.png Best regards bluelegend :] I know pretty much nothing about fret diagrams, but your zeroes looked suspicious to me. I replaced them with a lower-case o and I lose the thick line and it seems to me I get the diagrams you want. -- Phil Holmes ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed creating a Mac OS X installer for Frescobaldi
Hi All, I did some quick and quite dirty esperimenting with cx_freeze, and I should have something more or less working which I'd like to test on other systems: http://www.xhero.org/frescobaldi.zip this was compiled on macos 10.7.3 intel with qt 4.8 from macports. The archive should contain everything and on my machine works - more or less, there are many issues, but I can load a lilypond doc and navigate the pdf (with point and click too). If someone wants to download the archive and give a try, I will be grateful for every feedback (hoping it does not crash instantly on other machines!). The icon file is still missing (at least, it is there but on my machine it does not work, next thing to do :) For Wilbert: if this thing works for others too I have a couple of files to add (info.plist and qt.conf) and we should decide how to merge the mac part in freeze.py :) Ciao! Rodolfo ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
output questions
hello list, my score is a short melody, where i defined three clips. compiling with -dclip-systems i get the three clips in eps and pdf, and the score in pdf. i have to import these files in another application, and i'm having some problems with the output files. my questions are: 1) is it possible to get the clips in svg format? if i include -dbackend=svg, only the whole score is rendered. the -dclip-systems option seems to be ignored. 2) the eps and pdf files look fine on evince, but if i open them in inkscape, the lines are there, but the fonts are missing (note heads, clefs, etc). is there a way to generate eps/pdf files in a format that inkscape can understand? 3) i have some postscript code embedded in the lilypond score to add a couple of lines. the pdf output looks fine, but if i render the score to svg, these lines are missing (the rest is fine). any ideas why? thanks for your attention, lj ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed creating a Mac OS X installer for Frescobaldi
I fixed the icon :) BUT I am having some issues with various TypeErrors with PyQtNullVariants, ex., in the open menu item: Traceback (most recent call last): File /Users/xhero/devel/frescobaldi-2.0.4/frescobaldi_app/mainwindow.py, line 372, in openDocument files = QFileDialog.getOpenFileNames(self, caption, directory, filetypes) TypeError: QFileDialog.getOpenFileNames(QWidget parent=None, QString caption=QString(), QString directory=QString(), QString filter=QString(), QString selectedFilter=None, QFileDialog.Options options=0): argument 3 has unexpected type 'QPyNullVariant' Is there a specific version of python to run? I'm currently using 2.7.2. BTW dragdrop of a file in the main window opens it without issues. Rodolfo ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: fret-diagram, big black line across 1:st fret (no capo specified)
bluelegend daniel.alberts...@comhem.se writes: Greetings fellow lilyponders. I am using Lilypond 2.12.3 (still the standard in Ubuntu Lucid I guess). Problem: When I try to add some standard fret-diagrams [practically verbatim from the manual] You should have tried _actually_ verbatim from the manual, using copy and paste. there always appears a big ugly black line all across the 1:st fret. No, the 0th fret. Tried to search but couldn't find any relevant previous posts. Help much appreciated. Below is a close to minimal example + the output: %Produces big black line across 1:st fret, although no capo specified \version 2.12.3 \paper{ ragged-right=##t } { c'1^\markup \fret-diagram-terse #x;0;2;0;2;0; c'1^\markup \fret-diagram #6-x;5-0;4-2;3-0;2-2;1-0; c'1^\markup \fret-diagram-terse #0;3;2;0;1;0; } http://old.nabble.com/file/p33544697/strange_fretdiagram_output.png It would appear that you have not read or understood that o is used for specifying an open string, whereas 0 is used for specifying a finger placed on the bridge. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed creating a Mac OS X installer for Frescobaldi
On Mar 25, 2012, at 8:37 AM, Rodolfo Zitellini wrote: Hi All, I did some quick and quite dirty esperimenting with cx_freeze, and I should have something more or less working which I'd like to test on other systems: http://www.xhero.org/frescobaldi.zip this was compiled on macos 10.7.3 intel with qt 4.8 from macports. The archive should contain everything and on my machine works - more or less, there are many issues, but I can load a lilypond doc and navigate the pdf (with point and click too). If someone wants to download the archive and give a try, I will be grateful for every feedback (hoping it does not crash instantly on other machines!). The icon file is still missing (at least, it is there but on my machine it does not work, next thing to do :) For Wilbert: if this thing works for others too I have a couple of files to add (info.plist and qt.conf) and we should decide how to merge the mac part in freeze.py :) Ciao! Rodolfo On OS 10.5.8, x86 (iMac), it gives the not supported on this architecture message. Stan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed creating a Mac OS X installer for Frescobaldi
On Sun, Mar 25, 2012 at 6:45 PM, Stan Sanderson stans...@gmail.com wrote: On Mar 25, 2012, at 8:37 AM, Rodolfo Zitellini wrote: Hi All, I did some quick and quite dirty esperimenting with cx_freeze, and I should have something more or less working which I'd like to test on other systems: http://www.xhero.org/frescobaldi.zip this was compiled on macos 10.7.3 intel with qt 4.8 from macports. The archive should contain everything and on my machine works - more or less, there are many issues, but I can load a lilypond doc and navigate the pdf (with point and click too). If someone wants to download the archive and give a try, I will be grateful for every feedback (hoping it does not crash instantly on other machines!). The icon file is still missing (at least, it is there but on my machine it does not work, next thing to do :) For Wilbert: if this thing works for others too I have a couple of files to add (info.plist and qt.conf) and we should decide how to merge the mac part in freeze.py :) Ciao! Rodolfo On OS 10.5.8, x86 (iMac), it gives the not supported on this architecture message. Stan I will try to recompile everything on a system with 10.5 and see if it works on 10.6 and 10.7 too, but it will take me some time. Rodolfo ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Separating pitch and rhythm
David, On Wed, Mar 21, 2012 at 7:54 PM, David Kastrup d...@gnu.org wrote: Possibly this mail got lost, so I rewrite it (code is somewhat different). Siska Ádám sa...@sadam.hu writes: Dear List, is there an effective way to separate the pitches and the rhythms in a voice? I'm thinking about something like defining a variable consisting only of rhythms: Rhythm = { \time 4/4 4 4 4. 8 8 8 4 4 8 8 2 4 8 8 ... } and then apply this to different sequences of pitches: Seq1 = { \clef treble c d e f g a g f e d c e g c ... } Seq2 = { \clef bass c b a g f e f g a b c g e c ... } #(define-public (for-some-music stop? music) Walk through @var{music}, process all elements calling @var{stop?} and only recurse if this returns @code{#f}. (let loop ((music music)) (if (not (stop? music)) (let ((elt (ly:music-property music 'element))) (if (ly:music? elt) (loop elt)) (for-each loop (ly:music-property music 'elements)) (for-each loop (ly:music-property music 'articulations)) #(define (extract-all-durations music) (map! (lambda (m) (ly:music-property m 'duration)) (extract-music music (lambda (m) (ly:duration? (ly:music-property m 'duration)) applyRhythm = #(define-music-function (parser location p r) (ly:music? ly:music?) (let ((l (extract-all-durations r))) (for-some-music (lambda (m) (or (null? l) (and (ly:duration? (ly:music-property m 'duration)) (begin (set! (ly:music-property m 'duration) (car l)) (set! l (cdr l)) #t p)) p) Rhythm = { s4 s4 s4. s8 s8 s8 s4 s4 s8 s8 s2 s4 s8 s8 } SeqI = { \clef treble c d e f g a g f e d c e g c } SeqII = { \clef bass c b a g f e f g a b c g e c } \new PianoStaff \new Staff \applyRhythm \SeqI \Rhythm \new Staff \applyRhythm \SeqII \Rhythm Thanks for this! I'll keep it bookmarked. Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fine with dashed double barline occurring in middle of bar
On 26/03/12 07:04, Robin Bannister wrote: Nick Payne: Is it possible to get a dashed double barline? I don't think that there is anything set up for this. One way to do it is to ask for a double portion. You can test barDoubled.ly for authenticity by comparing \barDoubled | with \bar ||. Thanks for that. Much less fiddling and tweaking involved with that solution to keep things aligned. Nick ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fine with dashed double barline occurring in middle of bar
Hi Nick, Am 25. März 2012 00:28 schrieb Nick Payne nick.pa...@internode.on.net: I'm setting a short piece by Julio Sagreras that has a Fine with dashed double line in the middle of a bar. At the moment I'm duplicating the dashed with a postscript hack, because from reading the documentation I could only see a single dashed barline as available. Is it possible to get a dashed double barline? there is a recent thread on devel: http://lists.gnu.org/archive/html/lilypond-devel/2012-03/msg00508.html where Nicolas Sceaux posted a link to his own approach how to write custom-barlines (version 2.15.34). I attached my try to extend it to print double-dashed bar-lines. Call it with \bar ;; Please note: A SpanBar to use with \bar ;; is _not_ defined. HTH, Harm \version 2.15.34 %%% Custom bars %%% Author: Nicolas Sceaux nicolas.sce...@free.fr %%% %%% This lib defines several new bar styles for LilyPond: %%% \bar ;a single dashed bar line %%% no span-bar %%% \bar |;: suggested repeat bar (on an existing bar): %%% thin-line + dashed-line + two-dots %%% thin span-bar %%% \bar ;: suggested repeat bar (on no existing bar): %%% 2 dashed-linesxs + two-dots %%% no span-bar (FIXME?) %%% \bar :;| suggested repeat bar (on an existing bar): %%% two-dots + dashed-line + thin-line %%% thin span-bar %%% \bar :; suggested repeat bar (on no existing bar): %%% two-dots + 2 dashed-lines %%% no span-bar (FIXME?) %%% \bar |:| old-style repeat bar: thick-line + dotted-line + thick-line %%% no span-bar (FIXME?) %%% \bar :||: old-style repeat bar2: dotted-line + 2 thin-lines + dotted-line %%% double thin span-bar #(define-public (make-round-filled-box x1 x2 y1 y2 blot-diameter) (let* ((width (- x2 x1)) (height (- y2 y1)) (blot-diameter (cond (( width blot-diameter) width) (( height blot-diameter) height) (else blot-diameter (ly:make-stencil (list 'round-filled-box (- x1) x2 (- y1) y2 blot-diameter) (cons x1 x2) (cons y1 y2 #(define-public (make-simple-bar-line grob width rounded) (let* ((extent (ly:grob-property grob 'bar-extent)) (height (interval-length extent)) (blot-diameter (if rounded (ly:output-def-lookup (ly:grob-layout grob) 'blot-diameter) 0))) (make-round-filled-box 0 width (/ height -2) (/ height 2) blot-diameter))) #(define-public (make-dotted-bar-line grob) (let* ((extent (ly:grob-property grob 'bar-extent)) (position (round (* (interval-end extent) 2))) (correction (if (even? position) 0.5 0.0)) (stencil empty-stencil)) (let ((e (round (+ (interval-end extent) (- 0.5 correction) (do ((i (round (+ (interval-start extent) (- 0.5 correction))) (1+ i))) ((= i e)) (set! stencil (ly:stencil-add stencil (ly:stencil-translate-axis (ly:font-get-glyph (ly:grob-default-font grob) dots.dot) (+ i correction) Y) stencil)) #(define-public (make-dashed-bar-line grob thickness) (let* ((staff-symbol (ly:grob-object grob 'staff-symbol)) (staff-extent (ly:grob-extent staff-symbol staff-symbol Y)) (height (interval-length staff-extent)) (dash-size (- 1.0 (ly:grob-property grob 'gap 0.3))) (staff-space (ly:staff-symbol-staff-space grob)) (line-thickness (ly:staff-symbol-line-thickness grob)) (line-count (ly:grob-property staff-symbol 'line-count 0))) (if ( (abs (+ line-thickness (* (1- line-count) staff-space) (- height))) 0.1) (let ((blot (ly:output-def-lookup (ly:grob-layout grob) 'blot-diameter)) (half-space (/ staff-space 2.0)) (bar empty-stencil)) (do ((i (1- line-count) (- i 2))) (( i (- 1 line-count))) (let ((top-y (min (* (+ i dash-size) half-space) (+ (* (1- line-count) half-space) (/ line-thickness 2.0 (bot-y (max (* (- i dash-size) half-space) (- 0 (* (1- line-count) half-space) (/ line-thickness 2.0) (set! bar (ly:stencil-add bar (make-round-filled-box 0 thickness bot-y top-y blot) bar) (let ((dashes (/ height staff-space)) (total-dash-size (/ height dashes)) (factor (/ (- dash-size thickness) staff-size))) (ly:make-stencil (list 'dashed-line thickness
Re: Help needed creating a Mac OS X installer for Frescobaldi
Am 25.03.2012 um 20:04 schrieb Rodolfo Zitellini: On Sun, Mar 25, 2012 at 6:45 PM, Stan Sanderson stans...@gmail.com wrote: On Mar 25, 2012, at 8:37 AM, Rodolfo Zitellini wrote: Hi All, I did some quick and quite dirty esperimenting with cx_freeze, and I should have something more or less working which I'd like to test on other systems: http://www.xhero.org/frescobaldi.zip this was compiled on macos 10.7.3 intel with qt 4.8 from macports. The archive should contain everything and on my machine works - more or less, there are many issues, but I can load a lilypond doc and navigate the pdf (with point and click too). If someone wants to download the archive and give a try, I will be grateful for every feedback (hoping it does not crash instantly on other machines!). The icon file is still missing (at least, it is there but on my machine it does not work, next thing to do :) For Wilbert: if this thing works for others too I have a couple of files to add (info.plist and qt.conf) and we should decide how to merge the mac part in freeze.py :) Ciao! Rodolfo On OS 10.5.8, x86 (iMac), it gives the not supported on this architecture message. Stan I will try to recompile everything on a system with 10.5 and see if it works on 10.6 and 10.7 too, but it will take me some time. Rodolfo Hi Rodolfo, I just downloaded the link above- frescobaldi opens fine and load and display a file correct (on a Macbook Pro running Mac OS 10.6.8.) Can investigate it further the next days...(I am very new to frescobaldi...) ole ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Separating pitch and rhythm
Janek Warchoł janek.lilyp...@gmail.com writes: Thanks for this! I'll keep it bookmarked. You can remove the definition of for-some-music: that's defined in LilyPond properly by now. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed creating a Mac OS X installer for Frescobaldi
On Mar 25, 2012, at 4:54 PM, ole wrote: Am 25.03.2012 um 20:04 schrieb Rodolfo Zitellini: On Sun, Mar 25, 2012 at 6:45 PM, Stan Sanderson stans...@gmail.com wrote: On Mar 25, 2012, at 8:37 AM, Rodolfo Zitellini wrote: Hi All, I did some quick and quite dirty esperimenting with cx_freeze, and I should have something more or less working which I'd like to test on other systems: http://www.xhero.org/frescobaldi.zip this was compiled on macos 10.7.3 intel with qt 4.8 from macports. The archive should contain everything and on my machine works - more or less, there are many issues, but I can load a lilypond doc and navigate the pdf (with point and click too). If someone wants to download the archive and give a try, I will be grateful for every feedback (hoping it does not crash instantly on other machines!). The icon file is still missing (at least, it is there but on my machine it does not work, next thing to do :) For Wilbert: if this thing works for others too I have a couple of files to add (info.plist and qt.conf) and we should decide how to merge the mac part in freeze.py :) Ciao! Rodolfo On OS 10.5.8, x86 (iMac), it gives the not supported on this architecture message. Stan I will try to recompile everything on a system with 10.5 and see if it works on 10.6 and 10.7 too, but it will take me some time. Rodolfo Hi Rodolfo, I just downloaded the link above- frescobaldi opens fine and load and display a file correct (on a Macbook Pro running Mac OS 10.6.8.) Can investigate it further the next days...(I am very new to frescobaldi...) ole Clicking on the frescobaldi executable in the application results in - bash: /Users/ssanders/Desktop/frescobaldi.app/Contents/MacOS/ frescobaldi: Bad CPU type in executable logout My iMac (running OS X 10.5.8) is an Intel Core Duo. Is it possible that there is a 32-/64- bit problem? I have read that 10.5 is capable of running 64-bit applications but only if they are compiled for 10.5. Stan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed creating a Mac OS X installer for Frescobaldi
Frescobaldi opens and runs on my MacBook Pro wit 10.6.8 installed. One quirk- the text of the .ly file is so small on the screen that I would not be able to work with it very easily- it's rendered in about 6-8 pt. There seems to be no way to make the text bigger; the default Cmd-+ keybinding will zoom in the PDF file image but not the text. Otherwise it looks pretty well integrated into the Mac ethos- very cool! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help needed creating a Mac OS X installer for Frescobaldi
Hello At this time, the app bounce twice in the dock then quits. I'm using OS X 10.7.3 (with all frescobaldi dependencies installed via macports) on a iMac with Intel Core i3 processor. I'll try to investigate further with Console messages. Philippe On Mar 25, 2012, at 8:37 AM, Rodolfo Zitellini wrote: Hi All, I did some quick and quite dirty esperimenting with cx_freeze, and I should have something more or less working which I'd like to test on other systems: http://www.xhero.org/frescobaldi.zip this was compiled on macos 10.7.3 intel with qt 4.8 from macports. The archive should contain everything and on my machine works - more or less, there are many issues, but I can load a lilypond doc and navigate the pdf (with point and click too). If someone wants to download the archive and give a try, I will be grateful for every feedback (hoping it does not crash instantly on other machines!). The icon file is still missing (at least, it is there but on my machine it does not work, next thing to do :) For Wilbert: if this thing works for others too I have a couple of files to add (info.plist and qt.conf) and we should decide how to merge the mac part in freeze.py :) Ciao! Rodolfo ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user