Re: lilypond-user Digest, Vol 130, Issue 192

2013-09-30 Thread Dossy Shiobara
Mark Knoop  wrote:
> Whether or not you need to do this for the layout you require, you can
> always have a separate score block for midi output. i.e. just append to
> your file something like:

I actually ended up doing just that -- except I had to use "s2.*4" to
avoid the barcheck error.  :-)  Minor annoyance is that the MIDI file
gets written out as "-1.midi" instead of just ".midi" but I'm happy
renaming the thing to get what I want ;-)

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MIDI output of multiple scores into a single MIDI file?

2013-09-29 Thread Dossy Shiobara

On 9/29/13 8:34 PM, Thomas Morley wrote:
> Hi Dossy,
>
> what David wrote may be illustrated by this example
> [...]

Thanks!   This is interesting ... the voice staff is rendered above the
chord name and fretboards.  In the arrangement I'm working on, I want
the chord names, then freboards, then the voice staff and then the piano
accompaniment.  Specifically, this is right out of my .ly file:

\book {
  \score {
\new PianoStaff <<
  \new Staff \PianoRHMusicIntro
  \new Staff \PianoLHMusicIntro
>>
  }

  \score {
<<
  \set Score.currentBarNumber = #5
  \new ChordNames \GuitarChords
  \new FretBoards \GuitarChords
  \new Voice = "melody" \VoiceMusic
  \new Lyrics \lyricsto melody \VoiceLyrics
  \new PianoStaff <<
\new Staff \PianoRHMusic
\new Staff \PianoLHMusic
  >>
>>
%\layout { \context { \RemoveEmptyStaffContext } }
  }
}

This (visually) gives me *exactly* what I want.  Your example, even if I
rearrange the order of the elements so that ChordNames is first, then
FretBoards, etc., it still renders the first Voice staff first ...

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MIDI output of multiple scores into a single MIDI file?

2013-09-29 Thread Dossy Shiobara

On 9/29/13 5:29 PM, Federico Bruni wrote:
> are you  sure you need to organize it in \score blocks?
> can you use variables instead (and one \score block)?
One \score is a 4-bar PianoStaff intro only, then the second \score is
the rest of the arrangement, that contains ChordNames, FretBoards, a
Voice with Lyrics, and a PianoStaff for the accompaniment.

When I tried to do this as a single score, I put skips in all the parts
other than the PianoStaff for the intro 4-bar section, and used
\RemoveEmptyStaffContext to try and "hide" all the other parts, but
while they didn't visibly engrave anything, they created a lot of
padding between the header and the first system which I just couldn't
figure out how to get rid of.

Creating this as two scores visibly creates the visual look I'm looking
for (no unnecessary padding, etc.) but I just learned that I can't
create a single MIDI file from them.

Really, LP should let me specify a \midi section at the \book level and
have it generate a MIDI file for all \score's contained in the \book.  :-/

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: MIDI output of multiple scores into a single MIDI file?

2013-09-29 Thread Dossy Shiobara
And that also (necessarily) means that if I need to organize the
arrangement in multiple \score blocks, there's no way for me to generate
a single MIDI file from them using LilyPond alone?


On 9/29/13 4:58 PM, Federico Bruni wrote:
> 2013/9/29 Dossy Shiobara mailto:do...@panoptic.com>>
>
> Using Lilypond 2.16, is it possible to generate a single MIDI file
> containing multiple \scores?  If I put a \midi section inside each
> score, I get separate MIDI files ... but if I put the \midi section
> outside the \scores, I get *no* MIDI files.
>
>
> Hi Dossy
>
> From: http://lilypond.org/doc/v2.16/Documentation/notation/midi-block
> MIDI output is created only when a \midi block is included within a
> score block defined with a \score command.
>
> Read here:
> https://lists.gnu.org/archive/html/lilypond-user/2011-11/msg00218.html
>

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


MIDI output of multiple scores into a single MIDI file?

2013-09-29 Thread Dossy Shiobara
Using Lilypond 2.16, is it possible to generate a single MIDI file
containing multiple \scores?  If I put a \midi section inside each
score, I get separate MIDI files ... but if I put the \midi section
outside the \scores, I get *no* MIDI files.

e.g. --

\version
"2.16.0"   


\score
{
  \new Staff {c d e
f}  
}   



\score
{
  \new Staff {e f g
a}  
}   



\layout
{}  
\midi
{}

$ lilypond test.ly
GNU LilyPond 2.16.2
Processing `test.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test.ps'...
Converting to `./test.pdf'...
Success: compilation successfully completed

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multiple tensions in Chord Mode

2012-05-28 Thread Dossy Shiobara
On 5/28/12 9:48 AM, Louis Guillaume wrote:
>   In chord mode:
>
> c:7.9-.9+
>
>   In regular markup:
>
> 
>
> Both of these produce a chord symbol AND chord without the flat-nine.
> It seems to only accommodate one 9th, and uses the last one encountered.
>
> Is there a way to do work around this?
What about using the alternate note names?  Could you do this:

  

for example, if des' == cis', right?

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: help needed for new church hymnbook / hulp gevraagd voor nieuw liedboek

2012-05-10 Thread Dossy Shiobara
On 5/10/12 5:58 AM, Wilbert Berendsen wrote:
> The music engraving is done using LilyPond.

What format is the source material in?  Hand-written scores?  How will
this material be provided to those who are selected to join the
engraving team?

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: (somewhat OT:) lilypond calling bash script questions

2012-05-09 Thread Dossy Shiobara
This may or may not do exactly what you want:

find [0-9]* -name '*.ly' -print | while read f; do
cd `dirname $f`
lilypond `basename $f`
done

On 5/9/12 9:39 AM, Christopher Webster wrote:
> /How can I sequentially cd to all subdirectories that start with a number?/

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Beamed rests

2012-04-04 Thread Dossy Shiobara

  
  
How's this:

\version "2.14.2"
\score {
  \new Staff {
    \clef "bass"
    \relative c <<
  { \voiceThree s16 s32 fis16\rest s } \\
  { \voiceFour a16[ 
  \once \override Rest #'transparent = ##t r8
  a16] }
    >>
  }
    }
    





-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *

  

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pitch with null duration?

2012-04-04 Thread Dossy Shiobara
Good point.  I've moved the #'ignore-collisions to before the chord that
matters and applied \once to it.  Thanks for the tip.

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pitch with null duration?

2012-04-04 Thread Dossy Shiobara
Oh, interesting -- coming from a traditional TeX background, LilyPond
really confuses me.  Is \override inside a \new Voice not confined to
the scope of that Voice?


On 4/4/12 10:53 AM, Phil Holmes wrote:
> I'd suggest not permanently overriding collision detection - in any
> complex score this is likely to lead to collisions.  \once \override
> where appropriate is safer. 

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pitch with null duration?

2012-04-04 Thread Dossy Shiobara
Someone on IRC suggested a separate voice with hidden notes, just for
the slurs.  I ended up going with this approach because it yielded the
best visual result:

  \new Voice = "intro_slurs" {
\hideNotes
\override NoteColumn #'ignore-collision = ##t
\relative c' {
  \key f \major
  1 ~ | 4
}
  }

Then, the other voices just started out with a { s1 | } ...


On 4/2/12 11:02 PM, Dossy Shiobara wrote:
> I know how to make a pitch transparent (e.g., \override Rest
> #'transparent = ##t) but is there a way to specify a pitch with a null
> duration (e.g., like "g0" or somesuch)?
>
> The behavior I'm looking for is to start out a measure with a slur to
> the first note, as this is a continuation of a previous measure from a
> note that is slurred to the note that I'm interested in, that I am *not*
> including in my LilyPond document.
>
> The behavior of this "null duration pitch" would be very similar to the
> transparent pitch above, except:
>
> 1) It has no horizontal spacing.
>
> 2) It has no duration, thus doesn't generate annoying barcheck warnings,
> or otherwise screw up matching notes to lyrics, etc.
>
> If I haven't adequately explained myself, please ask questions and I
> will try to provide a better explanation and examples.  If this is in
> the documentation, I couldn't find it; I'm sorry.
>
> Thanks,
>
> Dossy
>

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Pitch with null duration?

2012-04-03 Thread Dossy Shiobara
I know how to make a pitch transparent (e.g., \override Rest
#'transparent = ##t) but is there a way to specify a pitch with a null
duration (e.g., like "g0" or somesuch)?

The behavior I'm looking for is to start out a measure with a slur to
the first note, as this is a continuation of a previous measure from a
note that is slurred to the note that I'm interested in, that I am *not*
including in my LilyPond document.

The behavior of this "null duration pitch" would be very similar to the
transparent pitch above, except:

1) It has no horizontal spacing.

2) It has no duration, thus doesn't generate annoying barcheck warnings,
or otherwise screw up matching notes to lyrics, etc.

If I haven't adequately explained myself, please ask questions and I
will try to provide a better explanation and examples.  If this is in
the documentation, I couldn't find it; I'm sorry.

Thanks,

Dossy

-- 
Dossy Shiobara |  "He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on." (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user