Re: unfold and tremolo have different math
On Sat, Dec 06, 2008 at 12:15:16AM +0100, james wrote: Sorry, cut off. How does this apply \times 2/3 { c8 c c} \times 2/3 {c c c} \times 2/3 {c c c} is 9 repetitions of the note c, expressed as a tremolo, this should be \repeat tremolo 9 \times 2/3 {c8} Does it matter? Your example only does tremolo of single notes and chords anyway, so why don't you use the other tremolo feature, of writing c2.:8 As a percussionist, I think if such a marking came up in some music that's in three I'd play it in the way you describe. If you want to be completely unambiguous about the number of notes, or if your actual music isn't in three, write them out in full (with unfold). -- Listen to your users, but ignore what they say. - Nathaniel Borenstein http://surreal.istic.org/ The revolution will not be snowcloned. signature.asc Description: Digital signature ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Again: Whole Bar Rests and Unmetered Music
Hello again :-) For some reason nobody answered, but i couldn't find an answer by myself. That's why i'm here again, sorry. Please, can anybody answer me: 1. Shouldn't whole bar rest be semibreve (whole) rest for any actual time except 4/2? 2. How can i tell lilypond to draw whole rest instead of breve (double)? Thank you very much. 2008/12/1 Dmytro O. Redchuk [EMAIL PROTECTED]: Hello, i've already asked about how to put MultiMeasureRests in unmetered music, and was answered that i should switch temporarly to metered music (\cadenzaOn), put R1[*n[/m]] and switch back to unmetered. Now here are related questions. Please see example below. So, questions: 1. Shouldn't whole bar rests be semibreve (whole) for any actual time except 4/2? (http://en.wikipedia.org/wiki/Rest_(music) confused me..) 2. How to put semibreve rest? How to change symbol for MultiMeasureRest to be semibreve? I've tried stencil property, but failed (I don't know, which symbol to use? I dont know how to use stencil property for that? Is it possible to change it with stencil property?) Thank you very much. % minimal example: \version 2.11.64 melody = { \time 5/4 R1*5/4 \time 6/4 R1*6/4 \time 7/4 R1*7/4 \time 8/4 R1*8/4 -Great \time 9/4 \override MultiMeasureRestText #'self-alignment-X = #LEFT R1*9/4 -Should't it be whole again? \time 10/4 R1*10/4 \time 11/4 R1*11/4 } \score { \new Staff { \melody } \layout { \context { \Staff \remove Time_signature_engraver } } } -- Dmytro O. Redchuk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Again: Whole Bar Rests and Unmetered Music
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Samstag, 6. Dezember 2008 14:02:04 schrieb Dmytro O. Redchuk: Please, can anybody answer me: 1. Shouldn't whole bar rest be semibreve (whole) rest for any actual time except 4/2? Gardner Read says about whole-measure rests (p.98): Although the whole rest literally signifies only the value of a hole note, it now commonly serves as the symbol for any completely silent measure, regardless of the meter or time-signature. Formerly, it served for all measure values except 4/2, this rest being indicated by a sign borrowed from the breve symbol of thirteenth- and fourteenth-century music. But today the whole rest stands for any empty measure -- for all meters from a theoretical 8/2 to a 3/16. For a 2/16 (1/8) or smaller silent bar, an actual eighth (or smaller) rest would be used. 2. How can i tell lilypond to draw whole rest instead of breve (double)? You can't, since it's hardcoded to use a breve rest for ALL measure lengths =2 (i.e. = 4/2)... - From multi-measure-rest-engraver.cc (lines 218-221): SCM sml = get_property (measureLength); Rational ml = (unsmob_moment (sml)) ? unsmob_moment (sml)-main_part_ : Rational (1); if (ml = Rational (2)) last_rest_-set_property (use-breve-rest, SCM_BOOL_T); So, apparently, this violates the convention Read describes in two ways: - -) breve should only be used for ml == Rational(2) (if at all!) - -) For ml Rational (3, 16) a rest of appropriate duration should be used instead of the semibreve Cheers, Reinhold - -- - -- Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung Jung-Wien, http://www.jung-wien.at/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFJOn/CTqjEwhXvPN0RArL2AJ0SlKCTtl2wmh8l7FGh9wQfMZdOPQCgxveE Z8vKmFJqkLDd1SCxmkpBCjQ= =6BKs -END PGP SIGNATURE- ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Pagelayout for incipits
Hello, Has someone a pagelayout to gather several incipits like that of Schmiederer Bachwerkeverzeichnis on a page. Title Name1 - incipt1 (2-4 measures) - comment1 Name2 - incipit2 - comment2 ... incpits = just melodylines or Pianostaff I read the manuals but couldnt make it out: I only found the example of the ancient notation template which is way over my head. Thanks in advance Hajo ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Pagelayout for incipits
Hello, Has someone a pagelayout to gather several incipits like that of Schmiederer Bachwerkeverzeichnis on a page. Title Name1 - incipt1 (2-4 measures) - comment1 Name2 - incipit2 - comment2 ... incpits = just melodylines or Pianostaff I read the manuals but couldnt make it out: I only found the example of the ancient notation template which is way over my head. Thanks in advance Hajo -- --- ... indessen wandelt harmlos droben das Gestirn ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: audio input?
2008/12/5 Mark Polesky [EMAIL PROTECTED]: You can thank Valentin for putting all of this together. http://valentin.villenave.info/The-LilyPond-Report-10 Thank *you* for remembering it :) chip: The only related discussion took place a few months ago: http://lists.gnu.org/archive/html/lilypond-user/2008-05/msg00267.html That's all I can remember. Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
ukelele (C tuning) fretboards
Hey all, 1. Thanks to Carl for the magnificent fretboard work! 2. I'd like to code a standard fretboard file for the ukelele (C tuning), to be included with the standard distro. 2a. Is it best to simply copy predefined-guitar-fretboards.ly and work from there? 2b. Any (other) suggestions/hints/tips on how to proceed most efficiently/correctly? Thanks, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
suppress page number
Is it possible to not print the second page number? I don't see an option for that. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
MediaWiki-Extension for Lilypond
Hello, trying find a solution with my incipits problem I used my MediaWiki with the Lilypond extension. But I got the error *ilypond.exe: unrecognized option: `--safe' * I deleted the --safe option then the next argument was also not recognized $cmd = $wgLilypond . --safe --backend=eps --format=png --header=texidoc . Then I deleted the whole option, but that was not a solution either. I am using v. 11-64. I am not a php-programmer. Is there a solution to this problem or should I drop the idea using lilypond within the mediawiki? Hajo -- --- ... indessen wandelt harmlos droben das Gestirn ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: suppress page number
james bailey-2 wrote: Is it possible to not print the second page number? I don't see an option for that. i saw *print-page-number* set to true or false in NR 4.1.2 Page formatting - did you mean something else? hdh -eluze -- View this message in context: http://www.nabble.com/suppress-page-number-tp20874923p20875266.html 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: ukelele (C tuning) fretboards
On 12/6/08 2:10 PM, Kieren MacMillan [EMAIL PROTECTED] wrote: Hey all, 1. Thanks to Carl for the magnificent fretboard work! You're welcome, and thanks for the magnificent compliment! 2. I'd like to code a standard fretboard file for the ukelele (C tuning), to be included with the standard distro. 2a. Is it best to simply copy predefined-guitar-fretboards.ly and work from there? I think so. 2b. Any (other) suggestions/hints/tips on how to proceed most efficiently/correctly? I don't know ukelele fretboards at all, so I can't really give you any great suggestions, but here's what I know. For chord shapes that are only used once, just define the chord with \storePredefinedDiagram. If there are chord shapes that are used multiple times at different places on the neck, use \addChordShape to define the shape, then when you use \storePredefinedDiagram to store the fretboard, you can use offset-fret to move the chord shape along the neck. Thanks for contributing to the fretboard code base! Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: suppress page number
Am 06.12.2008 um 23:20 schrieb -Eluze: james bailey-2 wrote: Is it possible to not print the second page number? I don't see an option for that. i saw *print-page-number* set to true or false in NR 4.1.2 Page formatting - did you mean something else? hdh -eluze Yes, I meant only suppress the page number on the first and second pages. Page one is off by default, it's page two I'd like to turn off as well. Every other page number, I'd rather show. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: suppress page number
James, Insert this code at the top of your file: \version 2.11.65-1 \include titling-init.ly #(define (skip-two-page-numbers layout props arg) (if (or ( (chain-assoc-get 'page:page-number props -1) (+ (ly:output-def-lookup layout 'first-page-number) 1)) (eq? (ly:output-def-lookup layout 'print-first-page-number) #t)) (create-page-number-stencil layout props arg) empty-stencil)) \paper { oddHeaderMarkup = \markup \fill-line { \on-the-fly #not-first-page \fromproperty #'header:instrument \on-the-fly #skip-two-page-numbers \fromproperty #'page:page-number-string } evenHeaderMarkup = \markup \fill-line { \on-the-fly #skip-two-page-numbers \fromproperty #'page:page-number-string \on-the-fly #not-first-page \fromproperty #'header:instrument } } Or better yet, save the code in its own file, call it skip-2-pg-nums.ly or whatever, then you can just include it this way: \version 2.11.65-1 \include skip-2-pg-nums.ly \repeat unfold 4 { c''1 \pageBreak } If you're already doing fancy stuff with oddHeaderMarkup or evenHeaderMarkup, you'll need to incorporate that into this code. If you're scheme-curious, you can dig around the titling-init.ly file in the \ly\ folder. I replaced the print-page-number-check-first function with my own skip-two-page-numbers function. Hope this helps. - Mark ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ukelele (C tuning) fretboards
G'day Kieren. Quoting Kieren MacMillan [EMAIL PROTECTED]: 2. I'd like to code a standard fretboard file for the ukelele (C tuning), to be included with the standard distro. 2a. Is it best to simply copy predefined-guitar-fretboards.ly and work from there? 2b. Any (other) suggestions/hints/tips on how to proceed most efficiently/correctly? For what it's worth, I'm not a lilypond hacker, but I do play ukulele and code in Scheme and will have a little bit of spare time in a couple of days. If you'd like to collaborate, let me know. Cheers, Andrew Bromage ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: audio input?
Chip, I totally forgot... If you want to get from audio input to lilypond output, you should talk to Jaime Oliver (not Jamie - the naked chef - Jaime is pronounced as in Spanish). Anyway, last I heard, Jaime was working on a MIDI to LilyPond converter using Pd. Here's a relevant post from him: http://lists.gnu.org/archive/html/lilypond-user/2008-04/msg00600.html If you don't yet know about PureData (Pd for short), you must look into it. It's a real-time audio-processing environment AND a graphical programming language. It's flexible and robust, it can analyze incoming audio (I've seen it happen), and it's totally free. Learning how to work the darn thing nearly gave me a brain aneurysm, but it was worth it. It's designed and maintained by Miller Puckette, the genius who created Max/MSP and in so doing, probably altered the course of music history. It should be relatively straightforward to get Pd to convert incoming audio into MIDI pitches (if the signal is clean enough - and without too many overtones). The difficulty would be analyzing durations -- Pd measures in milliseconds (and microseconds, I believe), but interpreting these into quarter-notes and eighth-notes is a slippery slope. But if Jaime creates a MIDI to Lily converter, you could probably use Pd to get from audio input to MIDI, and then piggy-back his project on to yours. Honestly, I would be surprised if there isn't already an audio to MIDI patch out there. But learning Pd is good for you. Somehow. Hope this helps. - Mark __ postscript: I haven't worked with Pd for over a year, so I'm really rusty. But if you can stomach it, check out the fiddle object that comes with Pd. Here's the documentation that comes with the installation... The Fiddle object estimates the pitch and amplitude of an incoming sound, both continuously and as a stream of discrete note events. Fiddle optionally outputs a list of detected sinusoidal peaks used to make the pitch determination. Fiddle is described theoretically in the 1998 ICMC proceedings, available here: http://www-crca.ucsd.edu/~tapel/icmc98.pdf. Fiddle's creation arguments specify an analysis window size, the maximum polyphony (i.e., the number of simultaneous pitches to try to find), the number of peaks in the spectrum to consider, and the number of peaks, if any, to output raw. The outlets give discrete pitch (a number), detected attacks in the amplitude envelope (a bang), one or more voices of continuous pitch and amplitude, overall amplitude, and optionally a s equence of messages with the peaks. The analysis hop size is half the window size so in the example shown here, one analysis is done every 512 samples (11.6 msec at 44K1), and the analysis uses the most recent 1024 samples (23.2 msec at 44K1). The minimum frequency that Fiddle will report is 2-1/2 cycles per analysis windows, or about 108 Hz. (just below MIDI 45.) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
whole rests are not centered in the measure
My whole rests are not centered in the measure, they are left aligned. Also when I have a half rest followed by some notes it too is left aligned. There must be an override that I haven't found in the manuals that will cause these rests to be centered? Thanks Chip W ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: whole rests are not centered in the measure
Hi Chip, My whole rests are not centered in the measure, they are left aligned. Sounds like you're using r1 instead of R1. HTH! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user