midi plays tied notes
Hello, In the following fragment the last tied A flat in the top voice is played by midi. It works fine if I leave out the bottom voice, or take away the first bar. It also worked under 2.0. (I just upgraded to 2.2.) Can anyone help me with this? --- upperNotes = \notes{ << \relative e'''{ es4. bes4. a4 as8 ~ as4. ~ as4. ~ as4. }\\ \relative d''{ d4 g8 ~ g4 c,8 ~ c4 cis8 ~ cis4. e4 f,8 des'4 c8 ~ c4. } >> } \score{ \new Staff { << \time 12/8 \clef violin \upperNotes >> } \midi {\tempo 4 . = 140} \paper{} } --- -- Richard Froese <[EMAIL PROTECTED]> ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: interrupted notes
Michael Welsh Duggan wrote: In the following fragment: << e1 \\ { c4 d e f } >> When played by a pianist (which I should emphasize, I am not), the e4 should interrupt the e1 so that it sounds like: << e2 \\ { c4 d e f } >> What the midi output currently does is this: << e1 \\ { c4 d s f } >> I would like to change Midi_walker::do_start_note to do the former (fairly easy). The question is, should there be an option to do the latter? Probably! Imagine, for example, that you are typesetting an orchestral piece and this particular music is played by two flutes, for example. It's common to typeset two flute parts on a common stave in a printed score and because of the limitation to 16 channels in MIDI, you will typically keep them in the same stave also in the LilyPond \score{} for the MIDI output (each Staff context is translated into a MIDI channel, by default). /Mats ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Scandinavian letters in lyrics and text markup
Oddgeir Finstad <[EMAIL PROTECTED]> writes: > An example .ly file with Scandinavian lyrics would probably be the > easiest way out for me. Or maybe a table with instructions of how to > type the actual letters? Or some relevant pointers? The absolutely simplest way of entering Scandinavian lyrics is in the common Western European character set (ISO-8859-1). If you can read the following line, things will probably "just work" for you: Blå -- bær -- syl -- te -- tøy. (La)TeX notation isn't usually necessary to typeset any Western European language. Don't use it when you don't need it. I can send you an example file if you like; just email me privately. -- Arvid ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Hairpin movement??
Strange! When I run convert-ly --from 2.0.0 test.ly on your original file, I certainly get an output that is in correct 2.2.0 syntax. By the way, add the flag '-e' to convert-ly if you want convert-ly to just replace the old file with the new syntax. /Mats Steve Shorter wrote: On Thu, Apr 15, 2004 at 09:16:20PM -0700, Edward Sanford Sutton, III wrote: On Thursday April 15 2004 14:11, Steve Shorter wrote: On Thu, Apr 15, 2004 at 06:48:34PM +0200, Mats Bengtsson wrote: Your example works fine with version 2.2 (after running convert-ly --from=2.0.0). However, if I were you, I would use the padding property of the DynamicLineSpanner object instead. H... when I run convert-ly it outputs Did you have a \version statement in your original score or tell convert-ly what version to upgrade from? I did convert-ly --from=2.0.0 test.ly -steve ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: grace note too close to the next note
The intention is that LilyPond should give a nice layout by default, so if you think the output looks wrong (and you haven't done anything very strange), then please send an example file to [EMAIL PROTECTED] Having said that, I have to admit that I don't know any really good solution to your problem. However, there are many tricks you could try. One is to add an invisible note at the end of the grace notes: \grace{ c8 \hideNotes c8 \unHideNotes } Another is to add a textual instruction that is invisible but takes some space: \grace{ \fatText c8^"$ $" \emptyText} d4 e f2 | The \fatText tellt LilyPond to actually take the size of the text script into account when calculating the note spacing, the dollar signs are just there to fool LilyPond into beleiving that there actually is some text. Just ^" " doesn't work anymore, as it used to do some years ago. /Mats Vít Reichel wrote: Please help. How can I move a note slightly to the right? I am not able to find it in the documentation. Thanks in advance. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Scandinavian letters in lyrics and text markup
You don't need to change the font-name or add the t1enc package unless you want to be able to search for the lyrics in Acrobat or copy/paste them from Acrobat to some other file. Also, with most text editors (i.e. with editors that can output latin1 coded text), you can just write the letters as usual: \score{ << \notes\relative c' { a4 a a a a a a a a4 a a a a a a a } \lyricsto "" \new Lyrics \lyrics { Han f\o -- rer d\o - dens s\aa g\aa_r Han før -- rer dø - dens så går } >> } I have answered similar question on the mailing list several times and also pointed out the inability to add options to a specific package. I think Jan had some extra problems, since he probably used the latest development version, where the default font handling has changed. Actually, ecrm12 (I assume the ecrb12 was a misprint) is not part of any default TeX installation. Jan's proposed solution has another problem, namely that the space after the \aa is interpreted as "end of syllable" instead of as a space to be copied into the generated TeX code. I used underscore instead (which is translated to space in the generated code). Another possibility is to include the syllable in double quotes: "g\aa r" Then you can also say "g\aa{}r" which is equivalent, but maybe is more logical viewed as TeX code. /Mats Jan Nieuwenhuizen wrote: Oddgeir Finstad writes: You may try this: \header{ latexpackages="t1enc" } \score{ << \notes\relative c' { a4 a a a a a a a } \lyricsto "" \new Lyrics \lyrics { \override LyricText #'font-name = #"ecrb12" Han f\o -- rer d\o {} - dens s\aa g\aa r } >> } I'm amazed how much time it took me to figure this out, we should have some good examples on this. The v2.2.0 lilypond script is not very flexible or elegant with respect to setting special latex options. I'm fairly sure that with some good bug reports (with latex code solutions) this could have been fixed eons ago. Jan. -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
bash: ly2dvi: command not found
Hello. I tried installing Lilypond about 20 times (from different servers) and I don't know, what should be wrong with it; I did everything like it's described. Problem: $ ly2dvi -p foo bash: ly2dvi: command not found PLatform: Pentium III (866), WIN2000 Greetings, K.M. _ So können Sie zu jeder Zeit die besten Suchfunktionen nutzen - die MSN Toolbar. http://toolbar.msn.at?DI=1031&XAPID=2083 + set -x + basename /usr/bin/bug-lilypond-cygwin + name=bug-lilypond-cygwin + [ bug-lilypond-cygwin = bug-lilypond-cygwin ] + cat Please source this script, ie do: . /usr/bin/bug-lilypond-cygwin > bug.txt + docdir=/usr/share/doc/lilypond-2.0.1-1 + [ ! -d /usr/share/doc/lilypond-2.0.1-1 ] + docdir=/usr/doc/lilypond-2.0.1-1 + [ ! -d /usr/doc/lilypond-2.0.1-1 ] + echo /usr/share/doc/lilypond-[.-0-9]* + docdir=/usr/share/doc/lilypond-[.-0-9]* + [ ! -d /usr/share/doc/lilypond-[.-0-9]* ] + echo /usr/doc/lilypond-[.-0-9]* + docdir=/usr/doc/lilypond-[.-0-9]* + echo + echo Availability of executables Availability of executables + echo === === + type -p tex -p not found tex is /usr/bin/tex + type -p latex -p not found latex is /usr/bin/latex + type -p kpsewhich -p not found kpsewhich is /usr/bin/kpsewhich + type -p lilypond-bin -p not found lilypond-bin is /usr/bin/lilypond-bin + type -p python -p not found python is /usr/bin/python + type -p lilypond -p not found lilypond is /usr/bin/lilypond + type -p tex.exe -p not found tex.exe is /usr/bin/tex.exe + type -p latex.exe -p not found latex.exe is /usr/bin/latex.exe + type -p kpsewhich.exe -p not found kpsewhich.exe is /usr/bin/kpsewhich.exe + type -p lilypond-bin.exe -p not found lilypond-bin.exe is /usr/bin/lilypond-bin.exe + type -p python.exe -p not found python.exe is /usr/bin/python.exe + lilypond-bin --version GNU LilyPond 2.0.1 This is free software. It is covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Invoke as `lilypond --warranty' for more information. Copyright (c) 1996--2003 by Han-Wen Nienhuys <[EMAIL PROTECTED]> Jan Nieuwenhuizen <[EMAIL PROTECTED]> + python -V Python 2.3.3 + lilypond --version lilypond (GNU LilyPond) 2.0.1 + echo + echo Test runs Test runs + echo = = + mkdir -p /tmp/lily + cd /tmp/lily + rm -f example-1.* sample2e.* + ls -l total 0 + latex \nonstopmode \input sample2e This is TeXk, Version 3.14159 (Web2C 7.4.5) %&-line parsing enabled. LaTeX2e <2001/06/01> Babel and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/sample2e.tex (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) No file sample2e.aux. (/usr/share/texmf/tex/latex/base/omscmr.fd) [1] [2] [3] (./sample2e.aux) ) Output written on sample2e.dvi (3 pages, 7256 bytes). Transcript written on sample2e.log. + kpsewhich feta20.mf /usr/share/lilypond/2.0.1/fonts/source/feta20.mf + kpsewhich feta20.pk + cp /usr/doc/lilypond-[.-0-9]*/input/example-1.ly . cp: cannot stat `/usr/doc/lilypond-[.-0-9]*/input/example-1.ly': No such file or directory + cp /usr/doc/lilypond-[.-0-9]*/input/example-2.ly . cp: cannot stat `/usr/doc/lilypond-[.-0-9]*/input/example-2.ly': No such file or directory + lilypond example-1.ly lilypond (GNU LilyPond) 2.0.1 Running usr... warning: can't find file: `example-1' lilypond: warning: no LilyPond output found for `example-1' Running latex... Running dvips...lilypond: error: `dvips' failed (status 1) lilypond: error: The error log is as follows: /cygdrive/c/DOKUME~1/ADMINI~1/LOKALE~1/Temp/tmpiMVf0Bdvips.errorloglilypond: warning: Failed to make PS file. Rerun with --verbose for a trace. + latex \nonstopmode \input example-1.tex This is TeXk, Version 3.14159 (Web2C 7.4.5) %&-line parsing enabled. LaTeX2e <2001/06/01> Babel and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. ! I can't find file `example-1.tex'. <*> \nonstopmode \input example-1.tex Please type another input file name ! Emergency stop. <*> \nonstopmode \input example-1.tex No pages of output. Transcript written on texput.log. + dvips -o example-1.ps example-1.dvi This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) dvips: ! DVI file can't be opened. + ls -l total 13 -rw-r--r--1 Administ Kein 159 Apr 18 16:53 sample2e.aux -rw-r--r--1 Administ Kein 7256 Apr 18 16:53 sample2e.dvi -rw-r--r--1 Administ Kein 2741 Apr 18 16:53 sample2e.log -rw-r--r--1 Administ Kein 679 Apr 18 2004 texput.log + lilypond --verbose example-2 lilypond (GNU LilyPond) 2.0.1 Opening pipe `/usr/bin/lilypond-bin --version ' Opening pipe `kpsexpand \$TEXMF' Opening pipe `kpsewhich -expand-path=\$T1FONTS' Invoking `/usr/bi
Re: bash: ly2dvi: command not found
>I tried installing Lilypond about 20 times (from different servers) and I >don't know, what should be wrong with it; I did everything like it's >described. > >Problem: > >$ ly2dvi -p foo >bash: ly2dvi: command not found ly2dvi was removed from LilyPond some time ago. The current command is simply: lilypond That will produce a *.ps and a *.pdf by default. -David ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Verses with Different Rhythms
It seems that you use version 2.2, which includes new support for exactly this situation with different number of syllables in different verses, using the ignoreMelismata property. See http://lilypond.org/doc/v2.2/Documentation/user/out-www/lilypond/The-Lyrics-context.html#The%20Lyrics%20context and the referenced example. Regarding the dashed slurs, it seems this feature has never been implemented for Ties, only for slurs. For some strange reason, the \tieDotted macro is predefined anyway. I'll post a bug report. /Mats Jean Connelly wrote: Hello, Thanks a bunch to Mats for the help with inserting multiple words under the same note. I can't believe I missed that in the lyric section. Anyway, now my problem is I can't figure out a good way to line up lyrics properly when there are ties or slurs that differ from verse to verse. Here is my project: \score { \notes { << \context Voice = "all" { \clef treble \cadenzaOn \tieDotted e'1 fis'2~ fis'2 g'1 } \lyricsto "all" \new Lyrics \lyrics { \override LyricText #'self-alignment-X = #-1 "All who see me" scoff at me } \lyricsto "all" \new Lyrics \lyrics { \override LyricText #'self-alignment-X = #-1 "Indeed many dogs surr" -- round __ me } >> } } First, my \tieDotted doesn't seem to be doing anything. Do I have that in the wrong place? Then, I want the word "at" in the first verse to line up under the third note. Because of the tie, it refuses. I can't seem to get the extender line on "round" that I want unless I have the tie. So I'm stuck. I've played games in other packages like Finale with invisible voices and such, but I was hoping that I wouldn't have to get in to that. Thanks for any help, Jean ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: bash: ly2dvi: command not found
"Klemens Moser" <[EMAIL PROTECTED]> writes: > I tried installing Lilypond about 20 times (from different > servers) and I don't know, what should be wrong with it; I > did everything like it's described. > > Problem: > > $ ly2dvi -p foo > bash: ly2dvi: command not found ly2dvi is gone, use lilypond instead (you probably don't even need the -p). -- Feri. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: bash: ly2dvi: command not found
On Sunday 18 April 2004 09:06, Klemens Moser wrote: > Hello. > > I tried installing Lilypond about 20 times (from different servers) and I > don't know, what should be wrong with it; I did everything like it's > described. > > Problem: > > $ ly2dvi -p foo > bash: ly2dvi: command not found You state you did everything as described. Where was this described? If you used a current document and current version of lilypond - and if the document matches the version you installed, then we have a bug! The 'ly2dvi' command was replaced with just 'lilypond' in version 2. If you did not verify the document and software versions match, I strongly encorage reviewing the matching documents as there have been a significant number of changes. /Hans BTW: I made the same mistake! ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Мотивация персонала
Ни для кого не секрет, что успех любого проекта зависит от того, насколько мотивированы сотрудники на его выполнение. У Вас отличная команда, но сотрудники не горят желанием работать? Все можно исправить! Как сделать так, чтобы сотрудники с энтузиазмом работали, не требуя бесконечных прибавок к зарплате? Чтобы успех дела они считали своим личным успехом? Как вдохновить их на новые достижения? Обо всем этом пойдет речь на двухдневном практическом семинаре-тренинге: «Разработка системы мотивации персонала» 26-27 апреля. Программа семинара-тренинга: Модуль I. Концепции мотивации. • Механизм мотивации. • Классические и современные подходы к мотивации: различные мотивационные теории, их анализ и границы применения. Факторы демотивации • Отражения различных теорий в имеющемся опыте участников программы. Модуль II. Принципы трудовой мотивации. 1.Мотивация персонала на уровне организации. • Мотивационные стратегии. •Связь мотивации персонала с системой оценки и планирования развития. • Модель мотивационной оценки персонала. • Примеры удачных и неудачных систем мотивации. • Система материального и нематериального стимулирования: ограничения и возможности. • Корпоративная культура: корпоративные ценности и нормы как факторы мотивации. •Специфика больших и малых компаний в области мотивации персонала. • Парадоксы мотивации. 2. Мотивация одного сотрудника. «Повседневная мотивация». • Создание мотивирующей рабочей среды. •Мотивация через постановку задач и организацию системы обратной связи. Модуль III. Что делать? • Методы оценки актуальной мотивационной среды компании («Что сейчас мотивирует и демотивирует моих сотрудников»). • Шаги построения системы мотивации. • Премии. Доплаты. Бонусы. Льготы. Социальный пакет: когда и в каком количестве. • Определение эффективности системы мотивации организации. • Отработка различных подходов на примерах участников программы. Стоимость участия - 7500 рублей, учетом НДС. Форма оплаты любая (наличная или безналичная). в эту стоимость входит: участие в мероприятии, раздаточный материал кофе-пауза, обед. Мастер-класс проходит в Москве (м. Академическая). Начало - в 10 часов и окончание - в 17.30 - 18.00. Регистрация участников обязательна. Помимо участия в семинаре у Вас есть уникальная возможность приобрести видеозапись мероприятия (На CD,DVD или видеокассетах). К видеокассетам прилагается раздаточный материал. Стоимость видеоматериалов– 4500 руб. в т.ч. НДС При участии в мероприятии или приобретении материалов на видео оформляется полный пакет документов для бухгалтерии. В продаже также имеются видеозаписи других семинаров по темам: 1. Методы оценки и подбора персонала в организации. 2. Типы людей в бизнесе (оценка поведения Ваших партнеров и коллег) 3. Хитрости ежедневного руководства. Контактные телефоны (095) 207-26-21 и (095) 789-81-90 ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: interrupted notes
Mats Bengtsson <[EMAIL PROTECTED]> writes: > Michael Welsh Duggan wrote: >> In the following fragment: >> << e1 \\ { c4 d e f } >> >> When played by a pianist (which I should emphasize, I am not), the >> e4 >> should interrupt the e1 so that it sounds like: >> << e2 \\ { c4 d e f } >> >> What the midi output currently does is this: >> << e1 \\ { c4 d s f } >> >> I would like to change Midi_walker::do_start_note to do the former >> (fairly easy). The question is, should there be an option to do the >> latter? > > Probably! Imagine, for example, that you are typesetting an > orchestral piece and this particular music is played by two > flutes, for example. It's common to typeset two flute parts on > a common stave in a printed score and because of the limitation to > 16 channels in MIDI, you will typically keep them in the same > stave also in the LilyPond \score{} for the MIDI output (each > Staff context is translated into a MIDI channel, by default). How about a patch like the following? (Untested. I can't test until I get home.) There are some things that could be moved around, but this should provide a general idea. Index: lily/audio-staff.cc === RCS file: /cvsroot/lilypond/lilypond/lily/audio-staff.cc,v retrieving revision 1.19 diff -u -p -u -r1.19 audio-staff.cc --- lily/audio-staff.cc 5 Feb 2004 14:55:17 - 1.19 +++ lily/audio-staff.cc 19 Apr 2004 18:08:18 - @@ -12,6 +12,17 @@ #include "midi-stream.hh" #include "midi-walker.hh" +Audio_staff::Audio_staff (const Performer *performer) +{ + performer_ = performer; +} + +SCM +Audio_staff::internal_get_property (SCM sym) const +{ + return performer_->internal_get_property (sym); +} + void Audio_staff::add_audio_item (Audio_item* l) { Index: lily/midi-item.cc === RCS file: /cvsroot/lilypond/lilypond/lily/midi-item.cc,v retrieving revision 1.75 diff -u -p -u -r1.75 midi-item.cc --- lily/midi-item.cc 7 Apr 2004 13:40:30 - 1.75 +++ lily/midi-item.cc 19 Apr 2004 18:08:18 - @@ -239,6 +239,12 @@ Midi_note::get_length () const return m; } +void +Midi_note::set_length (Moment m) +{ + audio_->length_mom_ = m; +} + int Midi_note::get_fine_tuning () const { Index: lily/midi-walker.cc === RCS file: /cvsroot/lilypond/lilypond/lily/midi-walker.cc,v retrieving revision 1.43 diff -u -p -u -r1.43 midi-walker.cc --- lily/midi-walker.cc 8 Mar 2004 16:17:40 - 1.43 +++ lily/midi-walker.cc 19 Apr 2004 18:08:18 - @@ -38,6 +38,7 @@ Midi_walker::Midi_walker (Audio_staff* a track_ = track; index_= 0; items_ = &audio_staff->audio_items_; + staff_ = audio_staff; last_mom_ = 0; } @@ -60,13 +61,32 @@ Midi_walker::do_start_note (Midi_note* n bool play_start = true; for (int i=0; i < stop_note_queue.size (); i++) { - /* if this pith already in queue */ + /* if this pitch already in queue */ if (stop_note_queue[i].val->get_pitch () == note->get_pitch ()) { - if (stop_note_queue[i].key < stop_mom) + if (ly_scm2bool (staff_->internal_get_property + (ly_symbol2scm ("midi-simultaneous-interrupt" + { + /* Simultanous notes are handled by interruption */ + if (stop_note_queue[i].key > ptr->audio_column_->at_mom ()) + { + /* ignore previous stop */ + stop_note_queue[i].ignore_b_ = true; + /* Change length of original note */ + stop_note_queue[i].val-> + set_length (stop_note_queue[i].val->get_length () - + (stop_note_queue[i].key - +ptr->audio_column_->at_mom ())); + /* stop here instead */ + output_event (ptr->audio_column_->at_mom (), + stop_note_queue[i].val); + break; + } + } + else if (stop_note_queue[i].key < stop_mom) { /* let stopnote in queue be ignored, - new stop note wins */ +new stop note wins */ stop_note_queue[i].ignore_b_ = true; /* don't replay start note, */ play_start = false; Index: lily/staff-performer.cc === RCS file: /cvsroot/lilypond/lilypond/lily/staff-performer.cc,v retrieving revision 1.61 diff -u -p -u -r1.61 staff-performer.cc --- lily/staff-performer.cc 12 Apr 2004 14:52:21 - 1.61 +++ lily/staff-performer.cc 19 Apr 2004 18:08:18 - @@ -62,7 +62,7 @@ Staff_performer::~Staff_performer () void Staff_performer::initialize () { - audio_staff_ = new Audio_staff; + audio_staff_ = new Audio_staff (this); announce_element (Audio_element_
Re: abc2ly and beams
Yes, I noticed all sorts of whitespace mixups in the scripts, I've been using the ActiveState Python editor and it makes finding and fixing this sort of thing very easy. I actually did get a later version from the 2.3 distrubution, but I noticed enough differences in the way that the lilypond code was generated (property and set differences IIRC) that I figured I'd stick with the version that matched the build that I was using. I'll grab the latest version and run it on my Gentoo box (perhaps get it up and running on cygwin) before I delve any deeper. Thanks - Guy Jan Nieuwenhuizen wrote: Guy Gascoigne-Piggford writes: Anyway to cut a long ramble short, I noticed that ABC's idea of beaming wasn't preserved in Lilypond so I've modifed the abc2ly python script from 2.0.1 (the version that I'm running on XP) so that it now supports beams. Thanks! I've included this in 2.3 CVS. Your `patch' included white space differences (fixes, actually), that conflicted with the latest version. I've now fixed all whitespace problems (using TAB for indentation throughout). So, if/before you do any further work, please get this latest version from CVS. Since I expect that I can't send a zip file to this list Indeed. But you can send attachments to the development list (if you subscribe). Next time, please send a unified diff, see http://lilypond.org/web/devel/participating/ Jan. ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: abc2ly and beams
Guy Gascoigne-Piggford writes: > Anyway to cut a long ramble short, I noticed that ABC's idea of > beaming wasn't preserved in Lilypond so I've modifed the abc2ly python > script from 2.0.1 (the version that I'm running on XP) so that it now > supports beams. Thanks! I've included this in 2.3 CVS. Your `patch' included white space differences (fixes, actually), that conflicted with the latest version. I've now fixed all whitespace problems (using TAB for indentation throughout). So, if/before you do any further work, please get this latest version from CVS. > Since I expect that I can't send a zip file to this list Indeed. But you can send attachments to the development list (if you subscribe). Next time, please send a unified diff, see http://lilypond.org/web/devel/participating/ Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: abc2ly and beams
Guy Gascoigne writes: > Yes, I noticed all sorts of whitespace mixups in the scripts, I've > been using the ActiveState Python editor and it makes finding and > fixing this sort of thing very easy. Good. > I actually did get a later version from the 2.3 distrubution, but I > noticed enough differences in the way that the lilypond code was > generated (property and set differences IIRC) that I figured I'd stick > with the version that matched the build that I was using. Ah, ok. > I'll grab the latest version and run it on my Gentoo box (perhaps get > it up and running on cygwin) before I delve any deeper. I guess that the 2.3 version produces correct output for lilypond-2.2 too; which should be available for most platforms by now. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Verses with Different Rhythms
Regarding: > It seems that you use version 2.2, which includes new support > for exactly this situation with different number of syllables > in different verses, using the ignoreMelismata property. Unfortunately, as I added verses to the piece, I'd add more ties and then I'd have to go back through all of the other verses and add ignoreMelimata's in the right places (because there were some places that I wanted the melisma behavior, so I kept turning it off and on). I quickly realized that it is easier to just throw in \skip 's into the Lyrics and and set ignoreMelismata for the whole piece. Thanks for the help! Jean ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Tablature and Slurs
I use slurs in my tabs for fake Hammer and Pulling-Off. But the characters 'H' and 'P' doesn't appears well. They are put on top of the slur, and I would they are under or above the slur. How it is possible ? For any example, you could see this : http://dadgad.org/deus_en-dro_darger-page1.png -- Sébastien Lardière En recherche d'emploi http://seb.ouvaton.org/cv-ls.html> ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Tablature + chords
Hello, it's me again ! I want to make chords on tabs like I play it, with the fingers position that I take. But Lilypond don't care about the strings of tab that I noticed,like : . Is there any way to make it possible ? Some ugly example at : http://dadgad.org/grille-blues-page1.png -- Sébastien Lardière En recherche d'emploi http://seb.ouvaton.org/cv-ls.html> ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
[ot] making patches (was: abc2ly and beams)
On Mon, Apr 19, 2004 at 08:14:19PM +0200, Jan Nieuwenhuizen wrote: > Next time, please send a unified diff, see > http://lilypond.org/web/devel/participating/ Small hint on diffing: I typically have two directories: project (the original sources), and project.local (a copy, probably locally modified). So, I cd to project.local, edit here and there, build, test, make clean, and finally do a quick diff -rq ../project . to see what I've changed (and what object files, executables, etc. didn't have been nuked by make clean), and finally a diff -rNup ../project . > ../project.diffs. [Note that this is only valid for GNU diff] Ciao, Kili -- It compiles -- let's ship it! ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Verses with Different Rhythms
On Monday 19 April 2004 21.14, Jean Connelly wrote: > Regarding: > > It seems that you use version 2.2, which includes new support > > for exactly this situation with different number of syllables > > in different verses, using the ignoreMelismata property. > > Unfortunately, as I added verses to the piece, I'd add more ties and then > I'd have to go back through all of the other verses and add > ignoreMelimata's in the right places (because there were some places that > I wanted the melisma behavior, so I kept turning it off and on). I > quickly realized that it is easier to just throw in \skip 's into the > Lyrics and and set ignoreMelismata for the whole piece. If you want to keep the slurs in the output, it can be a good idea to set melismaBusyProperties to ignore slurs, and then to add slurs wherever it looks good. Erik ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: [ot] making patches (was: abc2ly and beams)
On Monday 19 April 2004 21.50, Matthias Kilian wrote: > On Mon, Apr 19, 2004 at 08:14:19PM +0200, Jan Nieuwenhuizen wrote: > > Next time, please send a unified diff, see > > http://lilypond.org/web/devel/participating/ > > Small hint on diffing: I typically have two directories: project (the > original sources), and project.local (a copy, probably locally modified). > > So, I cd to project.local, edit here and there, build, test, make clean, > and finally do a quick diff -rq ../project . to see what I've changed > (and what object files, executables, etc. didn't have been nuked by make > clean), and finally a diff -rNup ../project . > ../project.diffs. Kili, have you tried 'cvs diff' ? Unless you use a dialup connection I'd find this much easier.. it does exactly what you say, except ../project is substituted by the latest sources from CVS. Erik ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: Can'T compile lily 2.2.0
Am Mittwoch, 14. April 2004 15:52 schrieb Jan Kohnert: > Am Mittwoch, 14. April 2004 09:09 schrieb Jan Nieuwenhuizen: > > Jan Kohnert writes: > > > Hello all, trying to compile lily 2.2.0 I get the following error: > > > Font `cmbxti8'... > > > error: can't find file `f7b6d320.enc' > > > > Are you sure that you are compiling 2.2.0 (and not pre- 2.3 > > development from CVS?) > > I'm pretty sure I tried 2.2.0, downloaded yesterday from the > lily-downloadpage. > > > What version of teTeX do you have? The .enc files are available in > > teTeX 2.0 and up, but I would be surprised if they were needed for > > 2.2.0. We may want to `fix' that. > > [EMAIL PROTECTED]:~> tex --version > TeX (Web2C 7.3.7) 3.14159 > kpathsea version 3.3.7 > > [EMAIL PROTECTED]:~> latex --version > TeX (Web2C 7.3.7) 3.14159 > kpathsea version 3.3.7 > Copyright (C) 1999 D.E. Knuth. > > > Jan. > > Maybe web-doc is included now in all(??), the last that was done, was > building the fonts (Downloaded mftrace 1.0.31). > > Thanks, > Regards Jan Nobody answered since Jan's questions. Is there a way of solving that problem??? Best regards Jan -- OpenPGP public key available: http://home.arcor.de/jan.kohnert/gnupg_publickey.asc Key-Fingerprint: BA8E 11D1 FE7C 9353 7276 5375 486E 9BED 2B03 DF29 ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user
Re: interrupted notes
Michael Welsh Duggan <[EMAIL PROTECTED]> writes: > Mats Bengtsson <[EMAIL PROTECTED]> writes: > >> Michael Welsh Duggan wrote: >>> In the following fragment: >>> << e1 \\ { c4 d e f } >> >>> When played by a pianist (which I should emphasize, I am not), the >>> e4 >>> should interrupt the e1 so that it sounds like: >>> << e2 \\ { c4 d e f } >> >>> What the midi output currently does is this: >>> << e1 \\ { c4 d s f } >> >>> I would like to change Midi_walker::do_start_note to do the former >>> (fairly easy). The question is, should there be an option to do the >>> latter? >> >> Probably! Imagine, for example, that you are typesetting an >> orchestral piece and this particular music is played by two >> flutes, for example. It's common to typeset two flute parts on >> a common stave in a printed score and because of the limitation to >> 16 channels in MIDI, you will typically keep them in the same >> stave also in the LilyPond \score{} for the MIDI output (each >> Staff context is translated into a MIDI channel, by default). > > How about a patch like the following? (Untested. I can't test until > I get home.) There are some things that could be moved around, but > this should provide a general idea. > Now that I have had a chance to go home and do some testing, I have the following patch. Some things could probably be cleaned up, and I welcome comments and criticisms. Here is an example score which demonstrates the change: \score{ \notes << e'1 \\ { c'4 c' e' f' } >> \midi { \context { \StaffContext midiSimultaneousInterrupt = ##t } } } And here is the patch: Index: lily/audio-staff.cc === RCS file: /cvsroot/lilypond/lilypond/lily/audio-staff.cc,v retrieving revision 1.19 diff -u -p -u -p -r1.19 audio-staff.cc --- lily/audio-staff.cc 5 Feb 2004 14:55:17 - 1.19 +++ lily/audio-staff.cc 20 Apr 2004 03:46:51 - @@ -12,6 +12,17 @@ #include "midi-stream.hh" #include "midi-walker.hh" +Audio_staff::Audio_staff (const Performer *performer) +{ + performer_ = performer; +} + +SCM +Audio_staff::internal_get_property (SCM sym) const +{ + return performer_->internal_get_property (sym); +} + void Audio_staff::add_audio_item (Audio_item* l) { Index: lily/midi-item.cc === RCS file: /cvsroot/lilypond/lilypond/lily/midi-item.cc,v retrieving revision 1.75 diff -u -p -u -p -r1.75 midi-item.cc --- lily/midi-item.cc 7 Apr 2004 13:40:30 - 1.75 +++ lily/midi-item.cc 20 Apr 2004 03:46:52 - @@ -239,6 +239,12 @@ Midi_note::get_length () const return m; } +void +Midi_note::set_length (Moment m) +{ + audio_->length_mom_ = m; +} + int Midi_note::get_fine_tuning () const { Index: lily/midi-walker.cc === RCS file: /cvsroot/lilypond/lilypond/lily/midi-walker.cc,v retrieving revision 1.43 diff -u -p -u -p -r1.43 midi-walker.cc --- lily/midi-walker.cc 8 Mar 2004 16:17:40 - 1.43 +++ lily/midi-walker.cc 20 Apr 2004 03:46:52 - @@ -38,6 +38,7 @@ Midi_walker::Midi_walker (Audio_staff* a track_ = track; index_= 0; items_ = &audio_staff->audio_items_; + staff_ = audio_staff; last_mom_ = 0; } @@ -60,13 +61,44 @@ Midi_walker::do_start_note (Midi_note* n bool play_start = true; for (int i=0; i < stop_note_queue.size (); i++) { - /* if this pith already in queue */ + /* if this pitch already in queue */ if (stop_note_queue[i].val->get_pitch () == note->get_pitch ()) { - if (stop_note_queue[i].key < stop_mom) + /* If the two notes do not start simultanously, but +intersect, and midiSimultaneousInterrupt is set, then the +later note should interrupt the first. */ + if ((note->audio_->audio_column_->at_mom () + != stop_note_queue[i].val->audio_->audio_column_->at_mom ()) + && ly_scm2bool (staff_->internal_get_property + (ly_symbol2scm ("midiSimultaneousInterrupt" + { + /* Simultanous notes are handled by interruption */ + if (stop_note_queue[i].key > ptr->audio_column_->at_mom ()) + { + /* Change length of original note */ + Moment new_length = stop_note_queue[i].val->get_length () - + (stop_note_queue[i].key - + ptr->audio_column_->at_mom ()); + if (new_length == 0) + { + /* simultaneous notes. +don't play the start note */ + delete note; + note = 0; + break; + } + + stop_note_queue[i].val->set_length (new_length); + /* stop he
fontsize and 'boldness'
Hi, Working with lilypond 2.2.0 I noticed that the default fontsize of the texts (at least Lyrics, but other text as well?) has changed. How do I change that? What I also noticed is that the letters are 'fatter'. In the hymne book I am working on, this results in a huge difference between lyrics in the music and verses added to it with LaTeX. Can someone tell me how I can change that. Perhaps in standard LaTeX text a bit more and in lilypond a bitt less. I use LaTeX with the follwing packages \usepackage{geometry,ifthen,graphicx,amssymb,extsizes} The rest is standard LaTeX text. in lily I use \override Score.LyricText #'font-size = #3 Thanks, Ruud van Silfhout ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user