Re: Simultaneous drum voices not playing in MIDI.

2013-09-30 Thread Alexander Wallace
Thank you very much, that works!

On Sep 30, 2013, at 2:26 AM, Eluze wrote:

 Alexander Wallace wrote
 Hi All the following looks good in PDF but produces no midi output. Can
 you help me guess what I'm doing wrong?
 
 try to initialize voices fully:
 
 unoM = \new DrumVoice \drummode {
  \voiceOne 
  …
 
 Eluze
 
 
 
 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/Simultaneous-drum-voices-not-playing-in-MIDI-tp151632p151635.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


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


Re: variables tied with slurs

2013-09-29 Thread Alexander Wallace
Not exaclty, that puts the A patternse in different staffs and there is no tie 
between them... 

Thanks for the response though, and sorry it took me so long to get back to 
this.

On Sep 27, 2013, at 12:05 AM, Urs Liska wrote:

 Does
 
 A = \drums { sn8 sn8~ }
 
 { \A \A }
 
 Do what you want?
 
 
 
 Alexander Wallace a...@rwmotloc.com schrieb:
 Hi all, 
 
 For study purposes, i want to do 128 rithmic patterns composed of 7 basic 
 rithmic patterns combined via a tie.
 
 Rather than writing the 128 patterns separately I'd love to write the basic 7 
 as variables and then just reuse them.
 
 Say that I write:
 
 A = \drums { sn8 sn8 } 
 
 How could I write the equivalent of 
 
 \drums { sn8 sn8 ~ sn8 sn8 }
 
 using variables?
 
 This doesn't work:
 
 { \A ~ \A }
 
 Is there any way?
 
 Thank you so much in advance.
 
 
 
 
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user
 
 -- 
 Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

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


Re: variables tied with slurs

2013-09-29 Thread Alexander Wallace
This is an interesting approach and it seems like I should be able to do what I 
want with it... I'm not entirely sure I understand why it works though, why the 
simultaneous rests create the tie on the snares ? I'm too new to both lilypond 
and music so please forgive my naiveness.

I would just need to figure out how to put all the rests in a variable too so 
that I would not have to have them explicitly typed so many times:

Thank you so much for your response!

Here is sort of how it would go:

% for a DrumVoice

A = \drummode { sn8 sn8 }
B = \drummode { sn8. sn16 }
C = \drummode { sn16 sn8. }

\score {
\new DrumStaff {

\new DrumVoice {
\time 2/4
 { \A \A | s2 |\A \B | s2 |\A \C } { s8 s~ s s | s2 | s8 s~ s s | s2 | s8 s~ 
s s } 
}
}
\layout { }
\midi { }
}



On Sep 27, 2013, at 1:39 AM, Jan-Peter Voigt wrote:

 Hello Alexander,
 
 the \drums command implicitly creates a new DrumStaff, so I recommend using 
 \drummode for this purpose.
 If you have basic patterns, which shall receive random ties, you can create 
 SimultaneousMusic with a   construct and overlay the patterns with the 
 needed ties:
 
 --snip--
 
 % for a normal Voice
 A = \relative { c8 c }
 \new Staff \new Voice  { \A \A } { s8 s~ s s } 
 
 % for a DrumVoice
 B = \drummode { sn8 sn }
 \new DrumStaff \new DrumVoice  { \B \B } { s8 s~ s s } 
 
 --snip--
 
 HTH
 Cheers, Jan-Peter
 
 Am 27.09.2013 05:23, schrieb Alexander Wallace:
 Hi all,
 
 For study purposes, i want to do 128 rithmic patterns composed of 7 basic 
 rithmic patterns combined via a tie.
 
 Rather than writing the 128 patterns separately I'd love to write the basic 
 7 as variables and then just reuse them.
 
 Say that I write:
 
 A = \drums { sn8 sn8 }
 
 How could I write the equivalent of
 
 \drums { sn8 sn8 ~ sn8 sn8 }
 
 using variables?
 
 This doesn't work:
 
 { \A ~ \A }
 
 Is there any way?
 
 Thank you so much in advance.
 
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: variables tied with slurs

2013-09-29 Thread Alexander Wallace
Indeed that works!  Awesome! Thanks!

On Sep 27, 2013, at 3:46 AM, Peter Bjuhr wrote:

 
 On 09/27/2013 07:05 AM, Urs Liska wrote:
 Does
 
 A = \drums { sn8 sn8~ }
 
 { \A \A }
 
 Do what you want?
 
 I was curious of this, but Urs is right it does work. There are no obstacles 
 in ending with a tie. Apparently it is just ignored:
 
 \version 2.17.26
 
 % How could I write the equivalent of
 \drums { sn8 sn8 ~ sn8 sn8 }
 %using variables?
 
 % This does work!
 A = \drummode { sn8 sn8 ~ }
 
 \score {
 \new DrumStaff
 { \A \A }
 }
 
 %end with a tie
 { b'4 a' g' b' ~ }
 
 Best
 Peter
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Simultaneous drum voices not playing in MIDI.

2013-09-29 Thread Alexander Wallace
Hi All the following looks good in PDF but produces no midi output. Can you 
help me guess what I'm doing wrong?

Thanks!

\version 2.16.2

t = \drummode { \times 2/3 { sn4 sn sn } }
tp = \drummode { \times 2/3 { bd4 bd bd } }

unoM = \drummode {
  \time 2/4
  \t | \t | \t | sn4 sn | sn sn | \t | sn sn | \t |
  sn sn | \t | sn sn | sn sn8 sn | \t | sn8 sn sn4 | sn sn | \t | sn r \bar |.
}
unoP = \drummode {
  \time 2/4
  bd4 bd | bd bd | bd bd | \tp  | \tp | bd bd | \tp | bd bd |
  \tp | bd bd | \tp | bd bd | bd bd | bd bd8 bd | \tp | bd4 bd | bd r |
}
uno = \drums {  \unoM \\ \unoP   }

\score { \uno \header { piece=Ejercicio 1 } \layout { } \midi { } }


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


variables tied with slurs

2013-09-26 Thread Alexander Wallace
Hi all, 

For study purposes, i want to do 128 rithmic patterns composed of 7 basic 
rithmic patterns combined via a tie.

Rather than writing the 128 patterns separately I'd love to write the basic 7 
as variables and then just reuse them.

Say that I write:

A = \drums { sn8 sn8 } 

How could I write the equivalent of 

\drums { sn8 sn8 ~ sn8 sn8 }

using variables?

This doesn't work:

{ \A ~ \A }

Is there any way?

Thank you so much in advance.



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


Re: Pdf point and click on Mac OS

2013-09-02 Thread Alexander Wallace
Thank you. I did get emacs to work via a small Applescript app to handle the 
edittext protocol click... thanks!

 Original message 
From: Paul Morris p...@paulwmorris.com 
Date: 08/31/2013  7:32 PM  (GMT-06:00) 
To: lilypond-user@gnu.org 
Subject: Re: Pdf point and click on Mac OS 
 
It works in Frescobaldi on a mac.  That might be your best bet, and you'd get
all the other great benefits of using Frescobaldi:
http://www.frescobaldi.org/

The downside is that installing it on the mac is not a simple process, but
there is a good guide:
https://github.com/wbsoft/frescobaldi/wiki/Frescobaldi-Mac-OS-X-install-guide

And now a portfile for MacPorts that might be worth trying first (instead of
the guide):
https://github.com/dliessi/ports

Discussion about the portfile:
http://lilypond.1069038.n5.nabble.com/frescobaldi-on-mac-tp139401p149512.html





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Pdf-point-and-click-on-Mac-OS-tp150009p150032.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
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Pdf point and click on Mac OS

2013-08-31 Thread Alexander Wallace
Hi all, 

I've seen a number of things on google about making PDF point an click work on 
the Mac. None seem to me like an official way of dealing with it.

Is there a well documented way to do it?

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


Docs for Lylipond Emacs mode?

2013-08-27 Thread Alexander Wallace
Hi all? Aside from this: 
http://www.lilypond.org/doc/v2.17/Documentation/usage/text-editor-support#emacs-mode

Is there any documentation on all the features, shortcuts and what not of the 
Emacs mode for Lilypond?

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


Re: Docs for Lylipond Emacs mode?

2013-08-27 Thread Alexander Wallace
Glen, this info helps a lot. I'll come back to with specifics if there is 
something i can not figure out.

Thanks!



 Original message 
From: Glen Larsen glenl@gmail.com 
Date: 08/27/2013  6:55 PM  (GMT-06:00) 
To: Alexander Wallace a...@rwmotloc.com 
Cc: lilypond-user lilypond-user@gnu.org 
Subject: Re: Docs for Lylipond Emacs mode? 
 
The best place to look is within emacs: with a .ly file loaded get help on the 
mode ( c-h m ). At least that will give you a list of the key-strokes that will 
do something LilyPond-ish. By far what I use the most is 'C-c C-l' to compile a 
LilyPond file and provide messages from the compilation in a buffer (in 
compilation mode) where I can then mouse-click to get to the position of 
failure. Typing 'C-c b' or a bar-check character ('|') also gives a beat count 
in the measure, if you hadn't noticed.

Most of the other editing sugar I like is basic emacs : auto-fill'ing comments, 
auto-indenting code, multiple windows and buffers, syntax highlighting, etc.

-glen


On Tue, Aug 27, 2013 at 4:22 PM, Alexander Wallace a...@rwmotloc.com wrote:
Hi all? Aside from this: 
http://www.lilypond.org/doc/v2.17/Documentation/usage/text-editor-support#emacs-mode

Is there any documentation on all the features, shortcuts and what not of the 
Emacs mode for Lilypond?

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

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


Re: Phrasing slurs across clefs

2013-08-26 Thread Alexander Wallace
Awesome! That worked

What's really great is that i can be done. I'm really liking lillypond!   I'm a 
software developer studying music, so Lilly was really attractive the moment I 
saw it, but I wasn't sure the language exposed all these things to customize 
the scores...

Thanks a lot!

On Aug 26, 2013, at 4:25 AM, Urs Liska wrote:

 \shape PhrasingSlur #'((0 .
   3)(4 . -1)(1 . 5)(0 . -3)) 

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


Re: Phrasing slurs across clefs

2013-08-26 Thread Alexander Wallace
What I said about the notes not being well centered was just an effect of the 
pdf viewer when on certain zoom, it works great after all!

Thanks a lot again!

On Aug 25, 2013, at 11:00 PM, David Kastrup wrote:

 Alexander Wallace a...@rwmotloc.com writes:
 
 Hi All, 
 
 Is it possible to have a phrasing slur that starts in a note on the G
 cleff and end in a note in the F clef?
 
 I'm copying this simple Ode to Joy transcription that has it (for
 school) and I can't quite get it...
 
 
 I want the second phrasing slur to go to the last E (me) in the F clef 
 
 Can it be done?
 
 Well, this slur needs some shaping (by the way: phrasing slurs should be
 \( ... \), and that's not entirely academical once lyrics come into
 play).  But other than that:
 
 \version 2.16.2
 \language espanol
 
 right = \relative do' {
 re4_\mp^( re mi do | re mi8 fa mi4 do) | re( mi8 fa mi4 re | do4 re
 \change Staff = left sol,,2)  | \break
 }
 
 left = \relative do {
 sol1 | fa | sol2 fas | la4 fas \change Staff = right r2 |
 }
 
 \score {
 \new PianoStaff \with {
 instrumentName = Piano
 } 
 \new Staff = right \with {
 midiInstrument = acoustic grand
 } \right
 \new Staff = left \with {
 midiInstrument = acoustic grand
 } { \clef bass \left }
 
 }
 
 
 -- 
 David Kastrup
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Intro and help with mp. cresc.

2013-08-25 Thread Alexander Wallace
Hi All, 

I am very new to music and just started playing with Lilypond today.

I'm really liking it so far, but I'm having problems doing a couple of 
things... 

I can't add a 'mp cresc.' label to my notes 

Here's an example:

\version 2.16.2
\relative c'
{
% can't have mp cresc...
d4_\mp-2^( d\cresc e c | d e8 f e4 c) | d( e8 f e4 d c4 d r2)| \break

}

or simpler:

\version 2.16.2
\relative c'
{
% can't have mp cresc...
d4_\mp d\cresc e c
}

Thanks in advance for your attention and help.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Intro and help with mp. cresc.

2013-08-25 Thread Alexander Wallace
Hi All, 

I am very new to music and just started playing with Lilypond today.

I'm really liking it so far, but I'm having problems doing a couple of 
things... 

I can't add a 'mp cresc.' label to my notes 

Here's an example:

\version 2.16.2
\relative c'
{
% can't have mp cresc...
d4_\mp-2^( d\cresc e c | d e8 f e4 c) | d( e8 f e4 d c4 d r2)| \break

}

or simpler:

\version 2.16.2
\relative c'
{
% can't have mp cresc...
d4_\mp d\cresc e c
}

Thanks in advance for your attention and help.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Phrasing slurs across clefs

2013-08-25 Thread Alexander Wallace
Hi All, 

Is it possible to have a phrasing slur that starts in a note on the G cleff and 
end in a note in the F clef? 

I'm copying this simple Ode to Joy transcription that has it (for school) and I 
can't quite get it... 

Here is what I have:

\version 2.16.2
\language espanol

right = \relative do' {
re4_\mp^( re mi do | re mi8 fa mi4 do) | re( mi8 fa mi4 re | do4 re r2)| \break
}

left = \relative do {
sol1 | fa | sol2 fas | la4 fas sol2 |
}

\score {
\new PianoStaff \with {
instrumentName = Piano
} 
\new Staff = right \with {
midiInstrument = acoustic grand
} \right
\new Staff = left \with {
midiInstrument = acoustic grand
} { \clef bass \left }

}
}


I want the second phrasing slur to go to the last E (me) in the F clef 

Can it be done?

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


Re: Intro and help with mp. cresc.

2013-08-25 Thread Alexander Wallace
Thanks a lot for your response, Nick Payne... 

I am getting a Syntax error, I need to study a bit about tweak and then 
construct your solution in a way that matches my version of Lily. I don't think 
I have the patch that can deal with . for object properties:

Processing 
`/var/folders/Xz/XzbFT1b8F2CmxVflynxGhE+++TI/-Tmp-/frescobaldi-asYWrk/tmpwoxO2b/document.ly'
Parsing...
/var/folders/Xz/XzbFT1b8F2CmxVflynxGhE+++TI/-Tmp-/frescobaldi-asYWrk/tmpwoxO2b/document.ly:3:28:
 error: syntax error, unexpected '.'
mpCresc = \tweak DynamicText
.self-alignment-X #LEFT
/var/folders/Xz/XzbFT1b8F2CmxVflynxGhE+++TI/-Tmp-/frescobaldi-asYWrk/tmpwoxO2b/document.ly:6:0:
 error: syntax error, unexpected MUSIC_FUNCTION, expecting '='

Thanks again!

On Aug 25, 2013, at 6:27 PM, Nick Payne wrote:

 On 26/08/13 08:24, Alexander Wallace wrote:
 Hi All,
 
 I am very new to music and just started playing with Lilypond today.
 
 I'm really liking it so far, but I'm having problems doing a couple of 
 things...
 
 I can't add a 'mp cresc.' label to my notes
 
 \version 2.16.2
 \relative c'
 {
 % can't have mp cresc...
 d4_\mp d\cresc e c
 }
 
 You could use something like so:
 
 \version 2.16.2
 
 mpCresc = \tweak DynamicText.self-alignment-X #LEFT
 #(make-dynamic-script (markup #:dynamic mp #:normal-text #:italic cresc.))
 
 \relative c'
 {
  d4_\mpCresc d e c
 }
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

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


Re: Intro and help with mp. cresc.

2013-08-25 Thread Alexander Wallace
Oh, wow, so I just needed to indicate where I needed the crecendo to go to (the 
\f)... 

That renders exactly what I wanted (a text cresc.).

Thanks a lot! 


On Aug 25, 2013, at 8:56 PM, rachael.thomas.carl...@gmail.com wrote:

 \version 2.16.2
 \relative c'
 {
 % can't have mp cresc...
 d4_\mp d\cresc e c
 }

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


Re: Phrasing slurs across clefs

2013-08-25 Thread Alexander Wallace
Thank you so much for your response... 

It now looks a lot better, although the slur does not make it to the F saff...

Also, now the last system has the notes a shifted up a few pixels, they don't 
quite draw in the middle of the space/line.

Here is my whole file:

Thanks again!

\version 2.16.2
\language espanol

\header {
title = Ode to Joy
subtitle = from Symphony No. 9
instrument = Piano
composer = Ludwig van Beethoven
arranger = arr. by James Bastien
meter = Spiritoso
tagline = Ejercicio I - Informática - Alexander Wallace
}

global = {
\key do \major
\time 4/4
\override Slur #'positions = #'(10 . 10)
}

right = \relative do' {
\global
mi_\f-3^\( mi fa sol | sol fa mi re | do do re mi | mi4. re8 re2\) | \break
mi4^\( mi fa sol | sol fa mi re | do do re mi | re4. do8 do2\) | \break
re4_\mp-2^\( re\cresc mi do | re mi8 fa mi4 do\) | re^\( mi8 fa mi4 re | do4 re 
\change Staff = left \set fingeringOrientations = #'(down) sol,-22 \)| 
\break
\change Staff = right mi'4_\f-3^( mi fa sol | sol fa mi re | do do re mi | 
re4. do8 do2) \bar |.
}

left = \relative do {
\global
\set fingeringOrientations = #'(down)
do-51 | re1 | mi2 fa | sol fa |
do1 | re | mi2 fa | sol do, mi |
sol'-31 | fa | sol-32 fas-2 | la-14 fas-3 \change Staff = right r2 |
\change Staff = left do-51 | re | mi2 fa | sol do, mi |
}

\score {
\new PianoStaff \with {
instrumentName = Piano
} 
\new Staff = right \with {
midiInstrument = acoustic grand
} \right
\new Staff = left \with {
midiInstrument = acoustic grand
} { \clef bass \left }

\layout { }
\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 120 4)
}
}
}



On Aug 25, 2013, at 11:00 PM, David Kastrup wrote:

 Alexander Wallace a...@rwmotloc.com writes:
 
 Hi All, 
 
 Is it possible to have a phrasing slur that starts in a note on the G
 cleff and end in a note in the F clef?
 
 I'm copying this simple Ode to Joy transcription that has it (for
 school) and I can't quite get it...
 
 
 I want the second phrasing slur to go to the last E (me) in the F clef 
 
 Can it be done?
 
 Well, this slur needs some shaping (by the way: phrasing slurs should be
 \( ... \), and that's not entirely academical once lyrics come into
 play).  But other than that:
 
 \version 2.16.2
 \language espanol
 
 right = \relative do' {
 re4_\mp^( re mi do | re mi8 fa mi4 do) | re( mi8 fa mi4 re | do4 re
 \change Staff = left sol,,2)  | \break
 }
 
 left = \relative do {
 sol1 | fa | sol2 fas | la4 fas \change Staff = right r2 |
 }
 
 \score {
 \new PianoStaff \with {
 instrumentName = Piano
 } 
 \new Staff = right \with {
 midiInstrument = acoustic grand
 } \right
 \new Staff = left \with {
 midiInstrument = acoustic grand
 } { \clef bass \left }
 
 }
 
 
 -- 
 David Kastrup
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


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