Re: Function to add a drone staff?

2015-04-27 Thread Paul Morris
I've added this "dronify" snippet to the LSR, for future reference: http://lsr.di.unimi.it/LSR/Item?u=1&id=997 -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Function-to-add-a-drone-staff-tp174261p175515.html Sent from the User mailing list ar

Re: Function to add a drone staff?

2015-04-14 Thread Gilles
Hello. On Tue, 14 Apr 2015 10:51:49 -0700 (MST), Paul Morris wrote: Gilles Sadowski wrote It works almost fine: no more stops between bars. However I sometimes stumbled upon another problem: "dronified" full measure rests ("R") generate a bar check warning. It seems wrong because when I cha

Re: Function to add a drone staff?

2015-04-14 Thread Paul Morris
(music-is-of-type? m 'rest-event) (music-is-of-type? m 'multi-measure-rest)) ;; ...should there be more types of events here? (set! prev-note-or-rest m)) m) melody))) -- View this message in context: http://lilypond.1069038.n5.nabble.com

Re: Function to add a drone staff?

2015-04-13 Thread Gilles
Hi. On Sat, 11 Apr 2015 22:07:43 -0700 (MST), Paul Morris wrote: Gilles Sadowski wrote It happens when you use bar checks! The sound is continuous without them but it would be quite annoying to encode without their help for spotting mistakes... [I use version 2.18.2.] In addition, the midi v

Re: Function to add a drone staff?

2015-04-12 Thread Paul Morris
should there be more types of events here? (set! prev-note-or-rest m)) m) melody))) melody = \relative f' { c4 d r e | \grace c f r g a | b c r e | f r g a | b } \score { << \melody \dronify g \melody >> \layout {} \midi

Re: Function to add a drone staff?

2015-04-11 Thread Paul Morris
gs, modifying the musical input before LilyPond converts it into visual graphics (and/or midi), while overriding and the like happens on the output side, changing aspects of graphical items, layout, etc. (e.g. grobs)) Cheers, -Paul -- View this message in context: http://lilypond.1069038.n5.nab

Re: Function to add a drone staff?

2015-04-11 Thread Paul Morris
et midiInstrument = "accordion" \set midiMinimumVolume = #0.2 \set midiMaximumVolume = #0.3 % \displayMusic \dronify g \melody } >> \midi {} } -- View this message in context: http://lilypond.1069038.n5.nabble.com/Function-to-add-a-drone-staff-tp17426

Re: Function to add a drone staff?

2015-04-11 Thread Simon Albrecht
Am 11.04.2015 um 21:04 schrieb Gilles: Hello. On Sat, 11 Apr 2015 11:19:31 -0700 (MST), Paul Morris wrote: Gilles Sadowski wrote It works but the sound is still cut after every bar: It looks like no tie was added to the last note of a bar. What is the advantage of using "\makeOctaves" wrt hav

Re: Function to add a drone staff?

2015-04-11 Thread Gilles
Hello. On Sat, 11 Apr 2015 11:19:31 -0700 (MST), Paul Morris wrote: Gilles Sadowski wrote It works but the sound is still cut after every bar: It looks like no tie was added to the last note of a bar. What is the advantage of using "\makeOctaves" wrt having two "\dronify"? Hi Gilles, You'r

Re: Function to add a drone staff?

2015-04-11 Thread Paul Morris
{} \midi {} } -- View this message in context: http://lilypond.1069038.n5.nabble.com/Function-to-add-a-drone-staff-tp174261p174388.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Function to add a drone staff?

2015-04-09 Thread Paul Morris
c4 r c8 d8 r4 g2 r4 b4 } << \melody \makeOctaves #1 \dronify g \melody >> -- View this message in context: http://lilypond.1069038.n5.nabble.com/Function-to-add-a-drone-staff-tp174261p174293.html Sent from the User mailing list archive at Nabble.com. __

Re: Function to add a drone staff?

2015-04-09 Thread Sven Axelsson
(set! (ly:music-property m 'pitch) drone) > m))) > melody) >melody) > > melody = \relative f' { > c4 r c8 d8 r4 > g2 r4 b4 > } > > << > \melody > \dronify g' \melody > \dronify g \melody >>> > >

Re: Function to add a drone staff?

2015-04-09 Thread Paul Morris
\melody \dronify g' \melody \dronify g \melody >> -- View this message in context: http://lilypond.1069038.n5.nabble.com/Function-to-add-a-drone-staff-tp174261p174278.html Sent from the User mailing list archive at Nabble.com. ___ l

Function to add a drone staff?

2015-04-09 Thread Gilles
Hi. Is there a way (i.e. a function) to automatically add a staff for a bagpipe's drone note(s)? Up to now, I was adding a staff by hand (with a tag so it would not appear on the printed score). But it is more complicated than it could be since the drone does not change, plays along the melody