Re: Has anyone in this group ever worked on the midi internals?

2016-04-02 Thread Michael Welsh Duggan
s, and fills them with Audio_items. Audio_items include dynamics, keys, notes, instruments, etc. The Midi_walker (called from Audio_staff::output) walks through the audio_items and processes them to produce a Midi_track (See midi-chunk). Hopefully some part of this will help you get started. --

Re: windows lilypond-book.py

2012-01-14 Thread Michael Welsh Duggan
ctory is very small. You aren't draining the pipe. Dir is probably blocked on write, since the pipe is full. It won't exit unless you read the data from proc.stdout. Maybe insert a: proc.stdout.readlines() in there before the wait(). -- Michael Welsh Duggan (m...@md5i.com)

Re: make fails for staging branch

2011-12-23 Thread Michael Welsh Duggan
Michael Welsh Duggan writes: > You want to look in the "Static Usage" node under "Rules". I should have said "Static Usage" under "Static Pattern" under "Rules". -- Michael Welsh Duggan (m...@md5i.com) ___

Re: make fails for staging branch

2011-12-23 Thread Michael Welsh Duggan
nd rule then makes "$(outdir)/foo.html" depend upon "$(outdir)/foo.txt". (As a side-note, this was reasonably difficult to find. I ended up looking at the make sources to find out that this was called a "static pattern rule.") -- Michael Welsh Duggan (m...@md5i.com)

Question about tabs in source files

2011-12-19 Thread Michael Welsh Duggan
I seem to recall that spaces were going to be used instead of tabs wherever possible in source files. Is there a reason that parser.yy uses tabs instead of spaces? -- Michael Welsh Duggan (m...@md5i.com) ___ lilypond-devel mailing list lilypond

Re: GOP-PROP 4: lessons from 2.14

2011-06-29 Thread Michael Welsh Duggan
Oh, and thank you, Graham, for putting so much effort into organizing Lilypond development. One of the lessons learned IMO, though you may not like it, is that active leaders are necessary to push along a project of this size. -- Michael Welsh Duggan (m...@md5i.

Re: GOP-PROP 1: python formatting

2011-06-05 Thread Michael Welsh Duggan
sistency (both within Lilypond's sources, and within code editors in general), I would modify Lilypond's version of PEP-8 to be the slightly more strict: Never use tabs for indentation. Only use spaces. -- Michael Welsh Duggan (m...@md5i.com) ___

Re: Overlapping notes and midi output

2011-03-12 Thread Michael Welsh Duggan
note); } } @@ -137,7 +146,7 @@ Midi_walker::do_stop_notes (int max_ticks) } int stop_ticks = e.key; - Midi_note *note = e.val; + Midi_note *note = e.val.second; output_event (stop_ticks, note); } -- Michael Welsh Duggan (m...@md5i.com) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Difficulties with `make check'

2009-11-26 Thread Michael Welsh Duggan
s what allows my mail reader (gnus) to realize that this is a URL, and allow me to click on it to bring it up in an external browser. -- Michael Welsh Duggan (m...@md5i.com) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mail

Re: fontforge-20070501

2007-05-26 Thread Michael Welsh Duggan
/buildscripts/pfx2ttf.fontforge @@ -20,7 +20,7 @@ SelectIf("trademark", "trademark", \ "afii61352", "afii61352", \ "ij", "ij", \ "IJ", "IJ"); -RemoveATT(&quo

Re: LilyPond suggestions

2007-01-04 Thread Michael Welsh Duggan
Michael Welsh Duggan <[EMAIL PROTECTED]> writes: > It looks to me like drummode is undocumented. You can use the listed > example and the contents of .../ly/drumpitch-init.ly in order to > figure out what is happening. In particular, use the value of > drumPitchNames in order

Re: LilyPond suggestions

2007-01-04 Thread Michael Welsh Duggan
3 offset from center The position is mapped from the center of the staff. On a 5-line staff, the positions are notated like this: 5 - 4 3 - 2 1 - 0 -1 - -2 -3 - -4 -5 On a 2-line staff, they are notate

A few cleanups

2006-12-28 Thread Michael Welsh Duggan
Included is a patch that cleans up a (very) few comments, useless code, and the like. >From 720134e89a6e2f25b2bc0859382180e181e03989 Mon Sep 17 00:00:00 2001 From: Michael Welsh Duggan <[EMAIL PROTECTED](none)> Date: Fri, 8 Dec 2006 19:11:17 -0500 Subject: [PATCH] Various code cleanups

A couple of git questions

2006-12-08 Thread Michael Welsh Duggan
aster into which I merge (pull) the other branches (patchsets?), and from which I build. My questions are twofold... 1) Does this seem a reasonable system to use? 2) How does one use git to create a patch between a branch and master, with the intention of submitting it here? -- Michael

Re: Problems using git on savannah

2006-11-26 Thread Michael Welsh Duggan
unexpected EOF fetch-pack from 'git://git.sv.gnu.org/srv/git/lilypond.git#master' failed. -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Problems using git on savannah

2006-11-26 Thread Michael Welsh Duggan
7;git://git.sv.gnu.org/srv/git/lilypond.git' failed. Am I missing a step, or doing anything else wrong? -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: draft release announcement

2006-10-30 Thread Michael Welsh Duggan
Make sure the URL in the message: http://lilypond.org/doc/v2.8/Documentation/topdocs/NEWS.html points to the NEWS for the 2.10 release. -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http

Re: Input variables and Scheme

2006-10-09 Thread Michael Welsh Duggan
Michael Welsh Duggan <[EMAIL PROTECTED]> writes: > Michael Welsh Duggan <[EMAIL PROTECTED]> writes: > >> Michael Welsh Duggan <[EMAIL PROTECTED]> writes: >> >>> Michael Welsh Duggan <[EMAIL PROTECTED]> writes: >>> >>>

Re: Event streams

2006-09-22 Thread Michael Welsh Duggan
Erik Sandberg <[EMAIL PROTECTED]> writes: > On Thursday 21 September 2006 20:10, Michael Welsh Duggan wrote: >> I am interested in the code necessary to output the event streams, as >> in your Master's thesis. I am looking at event streams with repect to >> us

Event streams

2006-09-21 Thread Michael Welsh Duggan
ression music global))) #(test #{ 4 << a \\ b >> #}) -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Problem with slurs, removing stem engraver

2005-12-13 Thread Michael Welsh Duggan
ark \markup {Antiphon \hspace #2 \italic{"Cf. Isaiah 35 : 4"} } e4 fs a a gs a( b gs) e4. \barOne e4( fs) a( a) \barTwo a( gs) a( b a4.) \bar "|" b4( a b) b cs a( b a4.) \barTwo fs4 a gs e4. e \bar "||" } text = \lyricmode { Say to those who are fright --

Debugging hints

2005-11-25 Thread Michael Welsh Duggan
. Any suggestions, tips, tricks, war stories, or gdbinit files from any other LilyPond debuggers? -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Vaticana ligatures / spacing / other...

2005-11-16 Thread Michael Welsh Duggan
of setting text. Punctum-mora stacking: Punctum-mora (dots) should stack nicely. Accidental engraving: Should act as mentioned in the TODO in coherent-ligature-engraver.cc. -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypon

Re: Stemless music with slurs

2005-11-16 Thread Michael Welsh Duggan
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Michael Welsh Duggan wrote: >> Better and better. But the shorter slurs now look very odd. See, for >> example, the first two instances. Note: I am not specifically >> requesting support to make this better. In the b

Re: Stemless music with slurs

2005-11-15 Thread Michael Welsh Duggan
Juergen Reuter <[EMAIL PROTECTED]> writes: > Here's what my approach, as described, yields (see attachment). That does, indeed, look very nice. I will probably move to your solution until a better one comes along. Thank you very much. > On Tue, 15 Nov 2005, Michael W

Re: Stemless music with slurs

2005-11-15 Thread Michael Welsh Duggan
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Michael Welsh Duggan wrote: >> Mats Bengtsson <[EMAIL PROTECTED]> writes: >> >>>If you want to remove the stems completely but not the engraver, it should >>>work to set >>>\override Staff.Stem

Re: Stemless music with slurs

2005-11-15 Thread Michael Welsh Duggan
Hans Forbrich <[EMAIL PROTECTED]> writes: > On November 15, 2005 11:30 am, Michael Welsh Duggan wrote: >> >> Godd idea, but it doesn't work in practice. The stems are gone, but >> slurs still avoid them as if they were there, probably due to the same >>

Re: Stemless music with slurs

2005-11-15 Thread Michael Welsh Duggan
barOne a8 f g a c( d c) c4. \barTwo f,8( g) a( g) a f( g f4.) \bar "||" } text = \lyricmode { The Lord will reign for e -- ver; and will give his peo -- ple the gift of peace. } \score { << \new Staff { \cha

Stemless music with slurs

2005-11-14 Thread Michael Welsh Duggan
engraver" } } } I have traced this to Slur_score_state::get_bound_info, where the following segfaults: extremes[d].stem_ = Note_column::get_stem (extremes[d].note_column_); extremes[d].stem_dir_ = get_grob_direction (extremes[d].stem_); I would like to fix this, but

Re: Ritardandi and Accelerandi for MIDI

2005-08-30 Thread Michael Welsh Duggan
Michael Welsh Duggan <[EMAIL PROTECTED]> writes: > Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > >> Michael Welsh Duggan wrote: >>> My only problem with this is the following: It doesn't appear to >>> allow a crescendo to happen throught a single

Re: Ritardandi and Accelerandi for MIDI

2005-08-30 Thread Michael Welsh Duggan
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Michael Welsh Duggan wrote: >> My only problem with this is the following: It doesn't appear to >> allow a crescendo to happen throught a single note without some extra >> hackery added. It would be better (IMHO) i

Re: Ritardandi and Accelerandi for MIDI

2005-08-29 Thread Michael Welsh Duggan
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Michael Welsh Duggan wrote: >> Desiring to have my midi outputs support gradual tempo changes, I >> hacked up the following file, which I present for discussion. I would >> be especially grateful for suggestions on how to

Ritardandi and Accelerandi for MIDI

2005-08-28 Thread Michael Welsh Duggan
;SequentialMusic 'elements (append (tempo-change start) elts)) music)) (let ((tempo (+ start (/ (* (- end start) count) intervals (loop (- count 1) (add-patch quantum temp

Re: Lily 2.7.7 and MIDI

2005-08-28 Thread Michael Welsh Duggan
Michael Welsh Duggan <[EMAIL PROTECTED]> writes: > Here is an additional patch needed for proper tempi: and another: Index: lily/tempo-performer.cc === RCS file: /cvsroot/lilypond/lilypond/lily/tempo-performer.cc,v r

Re: Lily 2.7.7 and MIDI

2005-08-28 Thread Michael Welsh Duggan
/ one_beat_mom).main_part_; + return beats_per_min.to_int(); } void -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Lily 2.7.7 and MIDI

2005-08-28 Thread Michael Welsh Duggan
Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > Michael Welsh Duggan wrote: > >> I've been looking into this. The problem is twofold: 1) Time >> offsets devolve into "1"s (instead of "384"s). This is due to >>the addition of

Re: Lily 2.7.7 and MIDI

2005-08-26 Thread Michael Welsh Duggan
pond/ChangeLog,v retrieving revision 1.4089 diff -u -p -u -r1.4089 ChangeLog --- ChangeLog 26 Aug 2005 00:42:38 - 1.4089 +++ ChangeLog 26 Aug 2005 19:21:03 - @@ -1,3 +1,7 @@ +2005-08-26 Michael Welsh Duggan <[EMAIL PROTECTED]> + + * flower/rational.cc

Re: When C++, and when scheme

2005-02-19 Thread Michael Welsh Duggan
need them, > let them bubble up from the Grob class. Sounds good. So for the meantime, I am running without interfaces. I do have one more question. I am also running without Object_keys for now, as I have not yet been able to determine for what purpose they are used. Is there a good reason to include these? -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: When C++, and when scheme

2005-02-19 Thread Michael Welsh Duggan
Michael Welsh Duggan <[EMAIL PROTECTED]> writes: > Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: > >> [EMAIL PROTECTED] writes: >>> Han-Wen Nienhuys <[EMAIL PROTECTED]> writes: >>> > * Then I add simple constructions, such as stress on the 1st

Re: When C++, and when scheme

2005-02-15 Thread Michael Welsh Duggan
t; Don't know if its a good idea, though. No, that sounds similar to some ideas I had. The major bit I am unsure about is if the heavyweight event interface is necessary. -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: When C++, and when scheme

2005-02-15 Thread Michael Welsh Duggan
's ancient code, and as such a bad place to start > from. I definitely agree with that last. I've already started creating a set of framework Scheme functions for output to MIDI file format. -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

When C++, and when scheme

2005-02-14 Thread Michael Welsh Duggan
generically, when do you think objects should be in C++, and when in Scheme? If I stick with C++ objects (which I am loathe to do without a good reason), I will need to write a set of scheme accessor methods, regardless. -- Michael Welsh Duggan ([EMAIL PROTECTED

Re: MIDI restructuring

2005-02-12 Thread Michael Welsh Duggan
eaquainted myself with the way translators work, and am considering what modifications are needed to Audio_elements in order to everything I would like. More details as I work them out. -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Score_engraver question

2005-02-12 Thread Michael Welsh Duggan
? -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Lilypond 2.5.11 uploaded to Mandrakelinux

2005-02-07 Thread Michael Welsh Duggan
rder to avoid contaminating the building > machine. Actually, if you look at debian/rules, you will see a way to do it. make install prefix=pseudoroot -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Some clean up, maybe

2005-02-06 Thread Michael Welsh Duggan
Moment delayed_until_mom_; int transposing_; Audio_note* tied_; }; -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Patch: tie-ing enharmonic variants

2005-01-31 Thread Michael Welsh Duggan
technically more correct than a tie. > >>Finally, as I said, I feel that it is a Bad Thing to refuse to >>generate ties that were explicitly requested, because that means that >>best practices in choral notation cannot be followed. >> >> > I think my answer

Re: pending LilyPond removal from debian release ?

2004-06-22 Thread Michael Welsh Duggan
putFile=%s -dNOPAUSE -r%d %s -c quit''' % (output_file, + cmd = r'''gs -s -sDEVICE=pnggray -dNOCACHE -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -q -sOutputFile=%s -dNOPAUSE -r%d %s -c quit''' % (output_file,

Re: GC question

2004-05-23 Thread Michael Welsh Duggan
now, so I suspect I am >> overlooking something very simple.) > > Have a look at the smobify_self() function. (ly-smobs.hh/icc) I understand. My mind hasn't been working very well, I am afraid. How do these grobs get garbage collected once we are done

Re: GC question

2004-05-23 Thread Michael Welsh Duggan
icc) >> >> I understand. My mind hasn't been working very well, I am afraid. >> How do these grobs get garbage collected once we are done with them? > > System::typeset_grob() unprotects them, and the grobs perish with the > System. Thank you. This is precisely

GC question

2004-05-23 Thread Michael Welsh Duggan
How are grobs created by make_item from within perfomers protected from GC? I couldn't find any container object which calls their mark_smob function. (I'm rather tired right now, so I suspect I am overlooking something very simple.) -- Michael Welsh Duggan ([EMAIL

Base class for grobs and music_elements

2004-05-05 Thread Michael Welsh Duggan
would anyone else be able to come up with a better name? -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel

A few minor patches

2004-05-01 Thread Michael Welsh Duggan
{ + systems = s; + /* Ugh. */ + Music_output *output = g->get_output (); + if (Paper_score *ps = dynamic_cast (output)) + *paper = ps->paper_; + } } } } -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list

Translator function descriptions?

2004-04-30 Thread Michael Welsh Duggan
estep finalize -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel

Translator function descriptions?

2004-04-30 Thread Michael Welsh Duggan
estep finalize -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel

Re: MIDI restructuring

2004-04-25 Thread Michael Welsh Duggan
e amounts of time to devote to this) I will have a midi-output.scm library and enough glue code to produce something similar to what the current code does. -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel

Re: midi performance hacking

2004-04-19 Thread Michael Welsh Duggan
in track zero. http://www.borg.com/~jglatt/tech/midifile/tempo.htm> reads: In format 1, the very first MTrk should consist of only the tempo (and time signature) events so that it could be read by some device capable of generating a "tempo map". It is best not to place MIDI eve

midi performance hacking

2004-04-18 Thread Michael Welsh Duggan
\PianoStaffContext \type "Staff_performer" \consists "Key_performer" \consists "Tempo_performer" \consists "Time_signature_performer" } } } -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ Lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel

MIDI restructuring

2004-04-18 Thread Michael Welsh Duggan
em interesting to me. -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ Lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel

gs bugs, or lilypond bugs

2004-04-13 Thread Michael Welsh Duggan
ot;, line 130, in exit raise _ ('Exiting (%d)...') % i Exiting (6)... make[4]: *** [out-www/music-glossary.texi] Error 1 rm out-www/music-glossary.texi make[4]: Leaving directory `/usr/local/src/lilypond/Documentation/user' make[3]: *** [WWW] Error 2 make[3]

gh deprecation

2004-04-06 Thread Michael Welsh Duggan
I have a lilypond tree in which I have replaced all gh_ calls by ly_ or scm_ calls. (And all ly_ calls have been converted to use the scm_ API.) I tried to send it here as a patch, but I am afraid it was much too large. Would you be interested in said patch? -- Michael Welsh Duggan ([EMAIL

Piano Pedal performace across a PianoStaff

2004-04-06 Thread Michael Welsh Duggan
cessary to make something like this work? I am willing to code it, but I would appreciate a push in the right direction. -- Michael Welsh Duggan ([EMAIL PROTECTED]) ___ Lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel