Re: Adjust midi volume mix between chord progression and melody

2023-07-05 Thread Jean Abou Samra
Hi,


This question seems to have found an answer here:
https://music.stackexchange.com/questions/130684/lilypond-midi-volume-mix-between-chord-progression-and-melody

(On any forum, it's usually considered polite to link cross-posts so that people
can notice your question has already been answered and avoid effort
duplication.)

Best,
Jean





signature.asc
Description: This is a digitally signed message part


Adjust midi volume separately for chord progression

2023-07-04 Thread Carey Bunks
Hi!

I'm writing python code to automatically annotate jazz solo transcriptions 
(with their corresponding chord progressions) and to produce midi output using 
Lilypond. I'd like to instruct Lilypond to lower the volume of the chord 
progression with respect to the melody, but haven't been able to find a 
solution. Any advice would be welcome!

Here is a sample of my Lilypond code:

\include "swing.ly"

\version "2.24.1"\language "english"

\header { title = "Untitled Tune I"

 composer = "Charlie Christian"}



chord_progression = \chords { \set chordChanges = ##t

 df1 df1 df1 df1 gf1:7 gf1:7 df1 df1 af1:7 af1:7 df1 af1:7 }



melody = \fixed c'

{\clef treble\numericTimeSignature \time 4/4 \override NoteHead.color = 
orangered  df'8  \override NoteHead.color = orangered  df'8  \override 
NoteHead.color = #black  r4  \override NoteHead.color = #black  r4  \override 
NoteHead.color = orangered  df'4  \override NoteHead.color = orangered  df'4  
\override NoteHead.color = #black  r4  \override NoteHead.color = #black  r4  
\override NoteHead.color = orangered  df'4  \override NoteHead.color = 
orangered  df'1  \override NoteHead.color = #black  r2  \override 
NoteHead.color = orangered  df'8  \override NoteHead.color = orangered  f'8  
\override NoteHead.color = #black  gf'8  \override NoteHead.color = orangered  
f'8  \override NoteHead.color = orangered  gf'8  \override NoteHead.color = 
#black  f'8  \override NoteHead.color = orangered  gf'8  \override 
NoteHead.color = #black  f'8  \override NoteHead.color = orangered  gf'8  
\override NoteHead.color = #black  f'8  \override NoteHead.color = orangered  
gf'8  \override NoteHead.color = #black  f'8  \override NoteHead.color = 
orangered  gf'8  \override NoteHead.color = #black  f'8  \override 
NoteHead.color = orangered  gf'8  \override NoteHead.color = #black  f'8  
\override NoteHead.color = orangered  gf'8  \override NoteHead.color = #black  
af'8  \override NoteHead.color = orangered  gf'8  \override NoteHead.color = 
#black  f'8  \override NoteHead.color = orangered  df'8  \override 
NoteHead.color = #black  bf8  \override NoteHead.color = orangered  af4  
\override NoteHead.color = #black  c'8  \override NoteHead.color = orangered  
df'4 df'8  \override NoteHead.color = orangered  df'4  \override NoteHead.color 
= #black  r8  \override NoteHead.color = orangered  af'8  \override 
NoteHead.color = #black  ef''32  \override NoteHead.color = #black  e''16 e''32 
 \override NoteHead.color = #black  ef''8  \override NoteHead.color = orangered 
 df''8  \override NoteHead.color = #black  bf'8  \override NoteHead.color = 
orangered  af'8  \override NoteHead.color = orangered  gf'8  \override 
NoteHead.color = #black  e'8  \override NoteHead.color = #black  f'8  \override 
NoteHead.color = orangered  af'8  \override NoteHead.color = #black  bf'8  
\override NoteHead.color = #black  r8  \override NoteHead.color = #black  df''8 
 \override NoteHead.color = #black  df''4  \override NoteHead.color = #black  
b'8  \override NoteHead.color = #black  bf'8  \override NoteHead.color = 
orangered  af'8  \override NoteHead.color = #black  e'8  \override 
NoteHead.color = #black  f'8  \override NoteHead.color = orangered  af'8  
\override NoteHead.color = orangered  f'8  \override NoteHead.color = orangered 
 df'8  \override NoteHead.color = #black  bf4  \override NoteHead.color = 
orangered  df'8  \override NoteHead.color = orangered  f'8  \override 
NoteHead.color = orangered  af'4  \override NoteHead.color = #black  df''4 
df''8  \override NoteHead.color = #black  f''8  \override NoteHead.color = 
#black  r2}



\score {

\tripletFeel 8

<<

\new ChordNames { \chord_progression }

\new Staff  \with { instrumentName = "Chorus 1" }

 { \melody }

 >>

\layout { }

\midi { \tempo 4 = 192 }

}









Adjust midi volume mix between chord progression and melody

2023-07-04 Thread Carey Bunks
Apologies for the SPAM, but it would seem that the server has removed the code 
snippet from my first post, so sending again.
Hi!
I'm writing python code to automatically annotate jazz solo transcriptions 
(with their corresponding chord progressions) and to produce midi output using 
Lilypond. I'd like to instruct Lilypond to lower the volume of the chord 
progression with respect to the melody, but haven't been able to find a 
solution. Any advice would be welcome!
Here is a sample of my Lilypond code:

\include "swing.ly"
\version "2.24.1"\language "english"
\header { title = "Untitled Tune I"
composer = "Charlie Christian"
tagline = "Transcription by C. Bunks" }

chord_progression = \chords { \set chordChanges = ##t
 df1 df1 df1 df1 gf1:7 gf1:7 df1 df1 af1:7 af1:7 df1 af1:7 }

melody = \fixed c'
{\clef treble\numericTimeSignature \time 4/4 \override NoteHead.color = 
orangered  df'8  \override NoteHead.color = orangered  df'8  \override 
NoteHead.color = #black  r4  \override NoteHead.color = #black  r4  \override 
NoteHead.color = orangered  df'4  \override NoteHead.color = orangered  df'4  
\override NoteHead.color = #black  r4  \override NoteHead.color = #black  r4  
\override NoteHead.color = orangered  df'4  \override NoteHead.color = 
orangered  df'1  \override NoteHead.color = #black  r2  \override 
NoteHead.color = orangered  df'8  \override NoteHead.color = orangered  f'8  
\override NoteHead.color = #black  gf'8  \override NoteHead.color = orangered  
f'8  \override NoteHead.color = orangered  gf'8  \override NoteHead.color = 
#black  f'8  \override NoteHead.color = orangered  gf'8  \override 
NoteHead.color = #black  f'8  \override NoteHead.color = orangered  gf'8  
\override NoteHead.color = #black  f'8  \override NoteHead.color = orangered  
gf'8  \override NoteHead.color = #black  f'8  \override NoteHead.color = 
orangered  gf'8  \override NoteHead.color = #black  f'8  \override 
NoteHead.color = orangered  gf'8  \override NoteHead.color = #black  f'8  
\override NoteHead.color = orangered  gf'8  \override NoteHead.color = #black  
af'8  \override NoteHead.color = orangered  gf'8  \override NoteHead.color = 
#black  f'8  \override NoteHead.color = orangered  df'8  \override 
NoteHead.color = #black  bf8  \override NoteHead.color = orangered  af4  
\override NoteHead.color = #black  c'8  \override NoteHead.color = orangered  
df'4 df'8  \override NoteHead.color = orangered  df'4  \override NoteHead.color 
= #black  r8  \override NoteHead.color = orangered  af'8  \override 
NoteHead.color = #black  ef''32  \override NoteHead.color = #black  e''16 e''32 
 \override NoteHead.color = #black  ef''8  \override NoteHead.color = orangered 
 df''8  \override NoteHead.color = #black  bf'8  \override NoteHead.color = 
orangered  af'8  \override NoteHead.color = orangered  gf'8  \override 
NoteHead.color = #black  e'8  \override NoteHead.color = #black  f'8  \override 
NoteHead.color = orangered  af'8  \override NoteHead.color = #black  bf'8  
\override NoteHead.color = #black  r8  \override NoteHead.color = #black  df''8 
 \override NoteHead.color = #black  df''4  \override NoteHead.color = #black  
b'8  \override NoteHead.color = #black  bf'8  \override NoteHead.color = 
orangered  af'8  \override NoteHead.color = #black  e'8  \override 
NoteHead.color = #black  f'8  \override NoteHead.color = orangered  af'8  
\override NoteHead.color = orangered  f'8  \override NoteHead.color = orangered 
 df'8  \override NoteHead.color = #black  bf4  \override NoteHead.color = 
orangered  df'8  \override NoteHead.color = orangered  f'8  \override 
NoteHead.color = orangered  af'4  \override NoteHead.color = #black  df''4 
df''8  \override NoteHead.color = #black  f''8  \override NoteHead.color = 
#black  r2}

\score {
\tripletFeel 8
<<
\new ChordNames { \chord_progression }
\new Staff  \with { instrumentName = "Chorus 1" }
 { \melody }
>>
\layout { }
\midi { \tempo 4 = 192 }
}



Re: Midi volume?

2021-03-27 Thread David Kastrup
Aaron Hill  writes:

> On 2021-03-27 1:13 pm, David Kastrup wrote:
>> When I do
>> the result of
>> lilymidi --pretty /tmp/test.midi
>> [...]
>> No volume change.  What am I missing?
>
> That's odd.  When I compiled your file, I got a MIDI that does have
> velocities ranging from 86 to 101.
>
> For reference, I am using 2.22.0 to compile.

lilymidi --pretty shows the note numbers but omits the velocities.  Doh.
Need to restart my analysis from scratch: it's likely that my minimal
example is fine and only the "real" thing has the problem.

-- 
David Kastrup



Re: Midi volume?

2021-03-27 Thread Aaron Hill

On 2021-03-27 1:13 pm, David Kastrup wrote:

When I do
the result of
lilymidi --pretty /tmp/test.midi
[...]
No volume change.  What am I missing?


That's odd.  When I compiled your file, I got a MIDI that does have 
velocities ranging from 86 to 101.


For reference, I am using 2.22.0 to compile.


-- Aaron Hill

test.midi
Description: MIDI audio


Midi volume?

2021-03-27 Thread David Kastrup

When I do

\score {
  \drums {
sn4\mf\< 4 4 4\ff
  }
  \midi { }
}
  
the result of

lilymidi --pretty /tmp/test.midi

is

Filename: /tmp/test.midi
MIDI format:  1 (one or more simultaneous tracks)
Divisions:1536 per whole note
#Tracks:  2

Track 1:
Time 0:
Track name: 
Text:   creator: 
Text:   GNU LilyPond 2.23.2   
Time signature: 4/4, metronome 3/16
Tempo:  100 msec/quarter
Time 1536: 
End of Track

Track 2:
Time 0:
Program Change: Channel 9, 0
Program Change: Channel 9, 0
Instrument: drums
Note on: Channel 9, D2.1665(38)
Time 384: 
Note off: Channel 9, D2.1665(38)
Note on: Channel 9, D2.1665(38)
Time 768: 
Note off: Channel 9, D2.1665(38)
Note on: Channel 9, D2.1665(38)
Time 1152: 
Note off: Channel 9, D2.1665(38)
Note on: Channel 9, D2.1665(38)
Time 1536: 
Note off: Channel 9, D2.1665(38)
End of Track



No volume change.  What am I missing?

-- 
David Kastrup


Re: midi volume single note

2017-11-14 Thread Caagr98
You could also generate it dynamically at runtime, with something like this 
(please note that I haven't tested it):

gradual = #(define-music-function (f mus) (procedure? ly:music?)
  (make-simulaneous-music
(list mus (make-sequential-music
(let ((len (lambda (l) (ly:music-length (make-sequential-music 
l
  (l '()))
  (do () ((ly:moment On 14 November 2017 at 11:30, David Kastrup  > wrote:
> 
> Gianmaria Lari > 
> writes:
> 
> > On 13 November 2017 at 13:31, Caagr98  > wrote:
> >
> >> I was thinking of something like this:
> >>
> >> <<
> >>   { c'1 }
> >>   { s8 \set Voice.midiExpression=#0.5 s2.. Voice.midiExpression=#1 }
> >> >> c'1
> >>
> >> That is, simultaneously: a) play a note, b) wait a short while, reduce
> >> volume, wait until rest of the note is finished (2.. is 7/8 of a 
> measure),
> >> then reset to normal.
> >>
> >
> > Thank you, perfect
> >
> > In case other people need it, here it is a complete example where c1 
> note
> > is played reducing volume from maximum to minimum in step of 1/32.
> >
> > \version "2.19.80"
> > right = \fixed c'' { c1 }
> >
> > dynamics = {
> > s32 \set Voice.midiExpression=#1
> > s32 \set Voice.midiExpression=#0.96774
> > s32 \set Voice.midiExpression=#0.93548
> > s32 \set Voice.midiExpression=#0.90323
> [...]
> > }
> >
> > \score {
> >   \new Staff \with { midiInstrument = "accordion"}
> >   \new Voice <<\right \dynamics>>
> >   \midi {}
> >   \layout {}
> > }
> 
> Well, that calls for something programmatic I think.
> 
> 
> Well, I was hoping that a nice guy pop up with your nice lily/scheme code:)  
> Thanks !!!
> 
> P.S.
> I didn't wrote the long list of "s32 \set Voice.midiExpression=#x" by 
> hand; I wrote some lines of code to generate them programmatically (much less 
> practical then your code but better than write them by hand). Here it is the 
> function I used:
> 
>         public string setVolume(float duration, int resolution, float 
> volumeStart, float volumeEnd)
>         {
>             int steps = (int)((1 / duration) / (1 / (float)resolution));
>             float val = (volumeStart - volumeEnd) / (steps - 1);
>             string s = "";
>             for (int i = 1; i <= steps; i++)
>             {
>                 s += "s" + resolution.ToString()+ " " + "\\set 
> Voice.midiExpression=#";
>                 s += Math.Round(volumeStart, 5).ToString() + "\n";
>                 volumeStart -= val;
>             }
>             return s;
>         }
> 

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


Re: midi volume single note

2017-11-14 Thread Gianmaria Lari
On 14 November 2017 at 11:30, David Kastrup  wrote:

> Gianmaria Lari  writes:
>
> > On 13 November 2017 at 13:31, Caagr98  wrote:
> >
> >> I was thinking of something like this:
> >>
> >> <<
> >>   { c'1 }
> >>   { s8 \set Voice.midiExpression=#0.5 s2.. Voice.midiExpression=#1 }
> >> >> c'1
> >>
> >> That is, simultaneously: a) play a note, b) wait a short while, reduce
> >> volume, wait until rest of the note is finished (2.. is 7/8 of a
> measure),
> >> then reset to normal.
> >>
> >
> > Thank you, perfect
> >
> > In case other people need it, here it is a complete example where c1 note
> > is played reducing volume from maximum to minimum in step of 1/32.
> >
> > \version "2.19.80"
> > right = \fixed c'' { c1 }
> >
> > dynamics = {
> > s32 \set Voice.midiExpression=#1
> > s32 \set Voice.midiExpression=#0.96774
> > s32 \set Voice.midiExpression=#0.93548
> > s32 \set Voice.midiExpression=#0.90323
> [...]
> > }
> >
> > \score {
> >   \new Staff \with { midiInstrument = "accordion"}
> >   \new Voice <<\right \dynamics>>
> >   \midi {}
> >   \layout {}
> > }
>
> Well, that calls for something programmatic I think.
>

Well, I was hoping that a nice guy pop up with your nice lily/scheme
code:)  Thanks !!!

P.S.
I didn't wrote the long list of "s32 \set Voice.midiExpression=#x" by
hand; I wrote some lines of code to generate them programmatically (much
less practical then your code but better than write them by hand). Here it
is the function I used:

public string setVolume(float duration, int resolution, float
volumeStart, float volumeEnd)
{
int steps = (int)((1 / duration) / (1 / (float)resolution));
float val = (volumeStart - volumeEnd) / (steps - 1);
string s = "";
for (int i = 1; i <= steps; i++)
{
s += "s" + resolution.ToString()+ " " + "\\set
Voice.midiExpression=#";
s += Math.Round(volumeStart, 5).ToString() + "\n";
volumeStart -= val;
}
return s;
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi volume single note

2017-11-14 Thread David Kastrup
Gianmaria Lari  writes:

> On 13 November 2017 at 13:31, Caagr98  wrote:
>
>> I was thinking of something like this:
>>
>> <<
>>   { c'1 }
>>   { s8 \set Voice.midiExpression=#0.5 s2.. Voice.midiExpression=#1 }
>> >> c'1
>>
>> That is, simultaneously: a) play a note, b) wait a short while, reduce
>> volume, wait until rest of the note is finished (2.. is 7/8 of a measure),
>> then reset to normal.
>>
>
> Thank you, perfect
>
> In case other people need it, here it is a complete example where c1 note
> is played reducing volume from maximum to minimum in step of 1/32.
>
> \version "2.19.80"
> right = \fixed c'' { c1 }
>
> dynamics = {
> s32 \set Voice.midiExpression=#1
> s32 \set Voice.midiExpression=#0.96774
> s32 \set Voice.midiExpression=#0.93548
> s32 \set Voice.midiExpression=#0.90323
[...]
> }
>
> \score {
>   \new Staff \with { midiInstrument = "accordion"}
>   \new Voice <<\right \dynamics>>
>   \midi {}
>   \layout {}
> }

Well, that calls for something programmatic I think.

\version "2.19.80"

right = \fixed c'' { c1 }

withExpr =
#(define-music-function (steps start end music)
   (index? number? number? ly:music?)
   (let ((len (ly:make-duration 0 0
			(/ (ly:moment-main (ly:music-length music))
			   (1+ steps)
 #{ \context Bottom
	<< #music
	   { #@(append
  (map
	   (lambda (v)
		 #{ \set midiExpression = #v  \skip #len #})
	   (iota steps start (/ (- end start) (1+ steps
	  (list #{ \set midiExpression = #end #})) }
	>>
 #}))

\score {
  \new Staff \with { midiInstrument = "accordion"}
  \displayLilyMusic \new Voice { \withExpr 32 1 0 \right }
  \midi {}
  \layout {}
}


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


Re: midi volume single note

2017-11-14 Thread Gianmaria Lari
On 13 November 2017 at 13:31, Caagr98  wrote:

> I was thinking of something like this:
>
> <<
>   { c'1 }
>   { s8 \set Voice.midiExpression=#0.5 s2.. Voice.midiExpression=#1 }
> >> c'1
>
> That is, simultaneously: a) play a note, b) wait a short while, reduce
> volume, wait until rest of the note is finished (2.. is 7/8 of a measure),
> then reset to normal.
>

Thank you, perfect

In case other people need it, here it is a complete example where c1 note
is played reducing volume from maximum to minimum in step of 1/32.

\version "2.19.80"
right = \fixed c'' { c1 }

dynamics = {
s32 \set Voice.midiExpression=#1
s32 \set Voice.midiExpression=#0.96774
s32 \set Voice.midiExpression=#0.93548
s32 \set Voice.midiExpression=#0.90323
s32 \set Voice.midiExpression=#0.87097
s32 \set Voice.midiExpression=#0.83871
s32 \set Voice.midiExpression=#0.80645
s32 \set Voice.midiExpression=#0.77419
s32 \set Voice.midiExpression=#0.74194
s32 \set Voice.midiExpression=#0.70968
s32 \set Voice.midiExpression=#0.67742
s32 \set Voice.midiExpression=#0.64516
s32 \set Voice.midiExpression=#0.6129
s32 \set Voice.midiExpression=#0.58065
s32 \set Voice.midiExpression=#0.54839
s32 \set Voice.midiExpression=#0.51613
s32 \set Voice.midiExpression=#0.48387
s32 \set Voice.midiExpression=#0.45161
s32 \set Voice.midiExpression=#0.41936
s32 \set Voice.midiExpression=#0.3871
s32 \set Voice.midiExpression=#0.35484
s32 \set Voice.midiExpression=#0.32258
s32 \set Voice.midiExpression=#0.29032
s32 \set Voice.midiExpression=#0.25806
s32 \set Voice.midiExpression=#0.22581
s32 \set Voice.midiExpression=#0.19355
s32 \set Voice.midiExpression=#0.16129
s32 \set Voice.midiExpression=#0.12903
s32 \set Voice.midiExpression=#0.09677
s32 \set Voice.midiExpression=#0.06452
s32 \set Voice.midiExpression=#0.03226
s32 \set Voice.midiExpression=#0
}

\score {
  \new Staff \with { midiInstrument = "accordion"}
  \new Voice <<\right \dynamics>>
  \midi {}
  \layout {}
}

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


Re: Fw: midi volume single note

2017-11-13 Thread Martin Tarenskeen




 Note-off velocity
 you may forget, this is rarely used or supported in the MIDI
 world.



Well, it is used and supported on my Roland FR-1b Midi accordion.  The
faster you let go of a button, the more of a "plop" it will produce.



Actually, I think it is fairly important for getting a realistic sound
on releasing a note on a harpsichord


Interesting examples :-)

--

MT

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


Re: Fw: midi volume single note

2017-11-13 Thread David Kastrup
"m.tarensk...@zonnet.nl" <m.tarensk...@zonnet.nl> writes:

> Verzonden vanaf mijn Huawei mobiele telefoon
>
>  Oorspronkelijk bericht ----
> Onderwerp: Re: midi volume single note
> Van: m.tarensk...@zonnet.nl
> Aan: Caagr98 
> Cc: 
>
>  In MIDI "volume" affects all notes on the same MIDI
>  channel. "velocity" can be used on single notes, but is set at the
>  beginning (note-on) or ending (note-off) of a note. Note-off velocity
>  you may forget, this is rarely used or supported in the MIDI
>  world.

Well, it is used and supported on my Roland FR-1b Midi accordion.  The
faster you let go of a button, the more of a "plop" it will produce.
You can adjust the level of button noise, though, including switching it
off.  It's not that much use for musical purposes.  More like training
for the real thing.

-- 
David Kastrup

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


Fw: midi volume single note

2017-11-13 Thread m.tarensk...@zonnet.nl
<<< text/html; charset=utf-8: Unrecognized >>>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi volume single note

2017-11-13 Thread Caagr98
I was thinking of something like this:

<<
  { c'1 }
  { s8 \set Voice.midiExpression=#0.5 s2.. Voice.midiExpression=#1 }
>> c'1

That is, simultaneously: a) play a note, b) wait a short while, reduce volume, 
wait until rest of the note is finished (2.. is 7/8 of a measure), then reset 
to normal.

On 11/13/17 13:25, Gianmaria Lari wrote:
> 
> On 13 November 2017 at 11:21, Caagr98  > wrote:
> 
> You can change `Voice.midiExpression` (0≤x≤1) in the middle of a note, 
> which changes dynamics/volume. I don't know whether you can do that to one 
> specific note without affecting other simultaneous ones, but you can just 
> create a new voice for that.
> 
> 
> I have no idea how to do that. Can you give more information or a small 
> example?

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


Re: midi volume single note

2017-11-13 Thread Gianmaria Lari
On 13 November 2017 at 11:21, Caagr98  wrote:

> You can change `Voice.midiExpression` (0≤x≤1) in the middle of a note,
> which changes dynamics/volume. I don't know whether you can do that to one
> specific note without affecting other simultaneous ones, but you can just
> create a new voice for that.
>

I have no idea how to do that. Can you give more information or a small
example?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi volume single note

2017-11-13 Thread Caagr98
You can change `Voice.midiExpression` (0≤x≤1) in the middle of a note, which 
changes dynamics/volume. I don't know whether you can do that to one specific 
note without affecting other simultaneous ones, but you can just create a new 
voice for that.

On 11/13/17 11:16, Gianmaria Lari wrote:
> 
> 
> On 13 November 2017 at 10:57, bb <bb-543...@telecolumbus.net 
> <mailto:bb-543...@telecolumbus.net>> wrote:
> 
> Changes in the MIDI volume take place only on starting a note, so 
> crescendi and decrescendi cannot affect the volume of a single note.
> 
> http://lilypond.org/doc/v2.18/Documentation/notation/creating-midi-files.html 
> <http://lilypond.org/doc/v2.18/Documentation/notation/creating-midi-files.html>
> 
> 
> That's why I also asked  about some existing escamotage. :)
> 
> Thank you,
> g.
> 
> 
> ___
> 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: midi volume single note

2017-11-13 Thread Gianmaria Lari
On 13 November 2017 at 10:57, bb <bb-543...@telecolumbus.net> wrote:

> Changes in the MIDI volume take place only on starting a note, so
> crescendi and decrescendi cannot affect the volume of a single note.
> http://lilypond.org/doc/v2.18/Documentation/notation/
> creating-midi-files.html
>
>
That's why I also asked  about some existing escamotage. :)

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


Re: midi volume single note

2017-11-13 Thread bb
Changes in the MIDI volume take place only on starting a note, so
crescendi and decrescendi cannot affect the volume of a single note.
http://lilypond.org/doc/v2.18/Documentation/notation/creating-midi-files.html

Regards

Am 13.11.2017 um 08:38 schrieb Gianmaria Lari:
>
> \version "2.19.80"
> right = \relative c'' { c1 ~ c1 }
> dynamics = { s4\f\> s4 s4 s4
>              s4 s4 s4 s4\! \p }
>
> \score {
>   \new Staff \with { midiInstrument = "accordion"} 
>     \new Voice <<\right \dynamics>>
>   \midi {}
>   \layout {}
> }
>

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


midi volume single note

2017-11-12 Thread Gianmaria Lari
I have a long note that I would like it starts playing \ and it ends
\ (in the midi).

I tried this but without success:

\version "2.19.80"
right = \relative c'' { c1 ~ c1 }
dynamics = { s4\f\> s4 s4 s4
 s4 s4 s4 s4\! \p }

\score {
  \new Staff \with { midiInstrument = "accordion"}
\new Voice <<\right \dynamics>>
  \midi {}
  \layout {}
}


Did I make any error or does exist any escamotage to do it?
Thank you, g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi volume: default, crescendo, dynamic context, multiple staff

2016-11-03 Thread Gianmaria Lari
>
> If I do this...
>
> \version "2.19.48"
> { c' }
> \midi { }
>
> ...and open the resulting MIDI file in SpeedyMidi (
> http://speedymidi.sourceforge.net/ ) it looks like LilyPond set the
> volume to 100. (MIDI allows 0 - 128, right?)


I tried to do the same with speedmidi and some other midi viewer/editor. I
think the volume 100 indicated in speedmidi is something different.
For what I understood checking the midi file generated by lilypond, when
you apply dynamic to a note this acts on the velocify field of the "Note
on" event.



> > Is it possible to specify some dynamics just once and apply it to
> > multiple staff?
>
> I don't know about dynamic marks affecting volume or separate dynamics
> contexts affecting output. All I can do is refer to documentation:
> http://lilypond.org/doc/v2.19/Documentation/notation/
> controlling-midi-dynamics.en.html
>
> But a dynamics expression can be reused anywhere.
>
> \version "2.19.48"
> % Dynamics defined here
> dyn = { s4\f\> s4 s4 s4\p\! }
>
> \score {
>\new ChoirStaff <<
>  % First use of dynamics
>  \new Dynamics { \dyn }
>  \new Staff = "SA" \relative {
>c' d e f
>  }
>  \new Staff = "TB" \relative {
>\clef bass
>a, b c d
>  }
>  % Second use of dynamics
>  \new Dynamics { \dyn }
>>>
>\midi { }
> }


Yes, you can apply the same dynamic to different part of the score like you
did in the example but this does not affect the midi output, just the music
layout.
Thank you, g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi volume: default, crescendo, dynamic context, multiple staff

2016-11-02 Thread Karlin High
On 11/1/2016 5:24 PM, Gianmaria Lari wrote:
>
> What's the default midi volume in case I don't specify an absolute 
> dynamic mark (like \p \f etc)? Is there any way to change this default 
> value?
>

If I do this...

\version "2.19.48"
{ c' }
\midi { }

...and open the resulting MIDI file in SpeedyMidi ( 
http://speedymidi.sourceforge.net/ ) it looks like LilyPond set the 
volume to 100. (MIDI allows 0 - 128, right?)

> A crescendo mark that's not ending with an absolute dynamic mark how 
> much does increase or decrease the midi volume?
>
> In case I separate the dynamics from the music using a Dynamics 
> context is there any way to reflect the dynamics it in the midi output?
>
> Is it possible to specify some dynamics just once and apply it to 
> multiple staff?

I don't know about dynamic marks affecting volume or separate dynamics 
contexts affecting output. All I can do is refer to documentation:
http://lilypond.org/doc/v2.19/Documentation/notation/controlling-midi-dynamics.en.html

But a dynamics expression can be reused anywhere.

\version "2.19.48"
% Dynamics defined here
dyn = { s4\f\> s4 s4 s4\p\! }

\score {
   \new ChoirStaff <<
 % First use of dynamics
 \new Dynamics { \dyn }
 \new Staff = "SA" \relative {
   c' d e f
 }
 \new Staff = "TB" \relative {
   \clef bass
   a, b c d
 }
 % Second use of dynamics
 \new Dynamics { \dyn }
   >>
   \midi { }
}


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


midi volume: default, crescendo, dynamic context, multiple staff

2016-11-01 Thread Gianmaria Lari
What's the default midi volume in case I don't specify an absolute dynamic
mark (like \p \f etc)? Is there any way to change this default value?

A crescendo mark that's not ending with an absolute dynamic mark how much
does increase or decrease the midi volume?

In case I separate the dynamics from the music using a Dynamics context is
there any way to reflect the dynamics it in the midi output?

Is it possible to specify some dynamics just once and apply it to multiple
staff?

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


Re: MIDI "volume"

2016-03-08 Thread Gilberto Agostinho
Hi Heikki,


Heikki Tauriainen wrote
> You may be interested to know that there was an attempt to improve this
> behavior just a few months ago, see https://sourceforge.net/p/testlily
> issues/issues/4730/.  The fix has been included in the unstable
> releases since 2.19.36.

I just tested it and it works like a charm with REAPER. Thanks a lot for the
patch!

Cheers!
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/MIDI-volume-tp182079p188305.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: MIDI "volume"

2016-03-08 Thread Gilberto Agostinho
Hi all,


Heikki Tauriainen wrote
> I've observed that LilyPond actually emits CC#7 events to a generated
> MIDI file on dynamic (MIDI velocity) changes created by the
> Dynamic_performer, but these CC#7 changes seem to always just set the
> MIDI volume to 100 (in the range from 0 to 127).  To me this looks like
> a possible bug (and could be just a remnant of the implementation prior
> to 2.14), but this is only my personal opinion...

Yes, this also looks like a possible bug to me, and the point is that it's
quite annoying: for instance, if you import a LilyPond generated MIDI file
to a DAW and use some VST instruments for playback, all these CC7 events
keep overriding any modifications you do to the instrument volumes. So you
can't simply balance the sound in the VST interface, but you have to somehow
edit these CC7 manually for each track, which is a pain...

Cheers,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/MIDI-volume-tp182079p188275.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: MIDI "volume"

2015-10-06 Thread Heikki Tauriainen
On Mon, 2015-10-05 at 22:07 -0500, msk...@ansuz.sooke.bc.ca wrote:
> The discussion of MIDI in the manual refers to "volume" throughout. 
> It appears that at least some of the time, that actually means MIDI
> velocity, which is not the same thing.

Based on my experience with the MIDI code (I'm not a core developer,
but I've added support for a few context properties for adjusting
values of some MIDI controls), I can confirm your observation:
according to the change history, LilyPond has assumed a strict
"velocity-as-volume" model since version 2.14
<http://lilypond.org/doc/v2.14/Documentation/changes/>.

> For instance, dynamic marks like \f and \pp seem to set the velocity.


Yes, this is correct.

> Do *all* references to "volume" really mean velocity,

To my understanding, I think it's safe to assume so (at least I've
learned to interpret this term in the documentation in this way).

>  or are there also some LilyPond features that set the true MIDI
> volume (control change 7)?

I don't think that it's currently possible to control CC#7 using any
input file level features.

I've observed that LilyPond actually emits CC#7 events to a generated
MIDI file on dynamic (MIDI velocity) changes created by the
Dynamic_performer, but these CC#7 changes seem to always just set the
MIDI volume to 100 (in the range from 0 to 127).  To me this looks like
a possible bug (and could be just a remnant of the implementation prior
to 2.14), but this is only my personal opinion...

That said, it wouldn't be too difficult to add support for controlling
CC#7 via another Staff-level context property (similar to those
available for controlling MIDI pan position, balance, expression, and
chorus and reverb levels), but such a context property would certainly
not work well without also disabling the emission of the automatically
generated CC#7 events that I mentioned above.

Do the core developers have any opinions (or knowledge) about the
purpose of the automatically generated CC#7 events?

-- 
Heikki Tauriainen


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


MIDI "volume"

2015-10-05 Thread mskala
The discussion of MIDI in the manual refers to "volume" throughout.  It
appears that at least some of the time, that actually means MIDI velocity,
which is not the same thing.  For instance, dynamic marks like \f and \pp
seem to set the velocity.  Do *all* references to "volume" really mean
velocity, or are there also some LilyPond features that set the true
MIDI volume (control change 7)?

-- 
Matthew Skala
msk...@ansuz.sooke.bc.ca People before principles.
http://ansuz.sooke.bc.ca/

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


midi volume/ s1*0 trick in Frescobaldi Score Wizard (was Re: Off-topic: Automatically create rehearsal files from SATB midi file)

2014-01-22 Thread Wilbert Berendsen
Op Mon, 20 Jan 2014 09:41:06 +0100
Johan Vromans jvrom...@squirrel.nl schreef:

 BTW: Whoever maintains the new score wizard: the s1*0\f trick to get
 the midi volume right is no longer necessary for LilyPond 2.18.

I changed it in the following way:

diff --git a/frescobaldi_app/scorewiz/parts/vocal.py 
b/frescobaldi_app/scorewiz/parts/vocal.py
index 79857bc..1d7500d 100644
--- a/frescobaldi_app/scorewiz/parts/vocal.py
+++ b/frescobaldi_app/scorewiz/parts/vocal.py
@@ -615,7 +615,8 @@ class Choir(VocalPart):
 # Append voice to the rehearsalMidi function
 name = voice2id[voice] + str(num or '')
 seq = ly.dom.Seq(ly.dom.Voice(name, parent=ly.dom.Staff(name, 
parent=choir)))
-ly.dom.Text('s1*0\\f', seq) # add one dynamic
+if builder.lyVersion  (2, 18, 0):
+ly.dom.Text('\\f', seq) # add one dynamic
 ly.dom.Identifier(ref, seq) # add the reference to the voice
 
 book = ly.dom.Book()

It seems to work correctly.
Wilbert

-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: Set midi volume per voice?

2013-05-11 Thread ghe




Is it possible to set the volume of the midi tracks for each different track?

Till now I have:

one = { a b c d }
two = { d e f g }
global = { \key b \minor }
\score {
 \new Staff 
   \new Voice = vone { \voiceOne  \global \one  }
   \new Voice = vtwo { \voiceTwo  \global \two  }
 
 \midi {
   \context { \Staff \remove Staff_performer }
   \context { \Voice \consists Staff_performer }
 }
}



I think I found a way to do this:

\score {
 \new Staff 
   \new Voice = vone { \voiceOne  \global s8\ \one  }
   \new Voice = vtwo { \voiceTwo  \global s8\ \two  }
 
 \midi {
   \context { \Staff \remove Staff_performer }
   \context { \Voice \consists Staff_performer }
 }
}

I would be happy to hear about cleaner ways to achieve the same effect 
(for instance to set the volume of individual tracks/voices in the \midi 
block).


Best,

--ghe

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


Re: Set midi volume per voice?

2013-05-11 Thread Nathan
On Fri, May 10, 2013 at 4:20 PM, g...@sdf.org wrote:


 Hi list,

 Is it possible to set the volume of the midi tracks for each different
 track?


(Sorry, I had this message in Drafts and I forgot to send it.)

Use midiMinimumVolume and midiMaximumVolume to set the volume ranges of
each staff or voice.

They don't seem to have any effect if you don't place any dynamics.

\score {
  
\new Staff \with {
  midiMinimumVolume = #0.0
  midiMaximumVolume = #0.5
} {
  c'4\f c' c' c' c' c' c' c'
}
\new Staff \with {
  midiMinimumVolume = #0.5
  midiMaximumVolume = #1.0
} {
  g'4\f g' g' g' g' g' g' g'
}
  
  \midi { }
}

 See
http://www.lilypond.org/doc/v2.16/Documentation/notation/controlling-midi-dynamics
.



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


Re: Set midi volume per voice?

2013-05-11 Thread ghe


Thank you, Nathan!



Use midiMinimumVolume and midiMaximumVolume to set the volume ranges of 
each staff or voice.


They don't seem to have any effect if you don't place any dynamics.



This is exactly the information I was missing.



\score {
  
    \new Staff \with {
      midiMinimumVolume = #0.0
      midiMaximumVolume = #0.5
    } {
      c'4\f c' c' c' c' c' c' c'
    }
    \new Staff \with {
      midiMinimumVolume = #0.5
      midiMaximumVolume = #1.0
    } {
      g'4\f g' g' g' g' g' g' g'
    }
  
  \midi { }
}



This works, but if I try to used voices instead of staffs, as in:

\score {
  \new Staff 
\new Voice \with {
  midiMinimumVolume = #0.0
  midiMaximumVolume = #0.5
} {
  c'4\f c' c' c' c' c' c' c'
}
\new Voice \with {
  midiMinimumVolume = #0.5
  midiMaximumVolume = #1.0
} {
  g'4\f g' g' g' g' g' g' g'
}
  
  \midi { }
}

then something gets wrong: only the first note seems to be affected by the 
forte indication (I use 2.14.2).  This is fixed either by giving a 
*different* name to the two voices, or by using


\midi {
  \context { \Staff \remove Staff_performer }
  \context { \Voice \consists Staff_performer }
}

Thanks again,

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


Set midi volume per voice?

2013-05-10 Thread ghe


Hi list,

Is it possible to set the volume of the midi tracks for each different 
track?


Till now I have:

one = { a b c d }
two = { d e f g }
global = { \key b \minor }
\score {
  \new Staff 
\new Voice = vone { \voiceOne  \global \one  }
\new Voice = vtwo { \voiceTwo  \global \two  }
  
  \midi {
\context { \Staff \remove Staff_performer }
\context { \Voice \consists Staff_performer }
  }
}

This generates a MIDI file with two tracks, 'vone' and 'vtwo'.  I know 
that it is possible to get one of the tracks play louder than the other 
with for example:


one = { a\ b c d }
two = { d\ e f g }

But is it possible to do this in the \score definition, that is, without 
touching the definitions of 'one' and 'two'?


Thanks!

--ghe

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


MIDI output: min/max MIDI volume levels, dynamics of polyphonic passages within a single Voice

2011-09-11 Thread g034737

Hi,

First of all, thanks to all the developers and the community for
making and maintaining this absolutely wonderful tool!  I have never
used any music typesetting program with which I could convert
vocal scores into MIDIs (which I use for practicing) with such ease
and speed, thanks to LilyPond's text-based input language.

Having also tried the MIDI conversion on parts of some orchestral scores
(and for learning how to express various things in layout), I have,
however, observed strange behavior related to controlling MIDI volume
levels for instrument equalization (as documented in the Notation
Reference).  More precisely, it feels as if the Dynamic_performer
sometimes fails to respect custom volume ranges defined using  
Staff.midiMinimumVolume and Staff.midiMaximumVolume (or by using a  
custom

Score.instrumentEqualizer).  That is, the Dynamic_performer appears to
let instrument volume levels exceed (or drop below) the defined ranges --
at least in connection with (de)crescendi that are not terminated with
an absolute dynamic mark (but \! instead).

Since existing scores often contain e.g. hairpins that do neither begin
nor end in an absolute dynamic mark, trying to replicate such notation
faithfully in LilyPond may lead to surprising end results in MIDI as,
for example, a sequence of (de)crescendi without any absolute dynamic
marks can cause the relative volumes of different instruments to easily
drift off balance (and often remain in such a state until the volume
of an instrument then suddenly changes back to a properly equalized
level at the next absolute dynamic mark).

An example:

--

\version 2.12.3

% define a custom equalizer as instructed in the Notation Manual

#(define my-instrument-equalizer-alist '())

#(set! my-instrument-equalizer-alist
 (append '(
   (flute . (0.5 . 0.6))
   (harpsichord . (0.2 . 0.6)))
  my-instrument-equalizer-alist))

#(define (my-instrument-equalizer s)
  (let ((entry (assoc s my-instrument-equalizer-alist)))
   (if entry
(cdr entry

\book {
  \score {

  \new Staff {
\set Score.instrumentEqualizer = #my-instrument-equalizer
\set Staff.midiInstrument = #harpsichord
\new Voice {
  % (1)
  c' e' g'4_\p
  % the alternation between chord notation and temporary
  % polyphony within a voice will be explained below
   { c' } \\ { e' } \\ { g' } 
  c' e' g'
   { c' } \\ { e' } \\ { g' } 

  s2

  % (2)
  % both instruments at : it would seem reasonable to expect
  % that the volume of this staff's instrument cannot rise (much)
  % above this level
  c' e' g'4_\
   { c' } \\ { e' } \\ { g' } 
  c' e' g'
   { c' } \\ { e' } \\ { g' } 

  s2

  % (3)
  % however:
  c' e' g'4_\
   { c' } \\ { e' } \\ { g' } 
  c' e' g'4\!_\
   { c' } \\ { e' } \\ { g' } 

  s2\!

  % (4)
  % further crescendo...
  c' e' g'4_\
   { c' } \\ { e' } \\ { g' } 
  c' e' g'\!_\
   { c' } \\ { e' } \\ { g' } 

  s2\!

  % (5)
  % return to  (just to demonstrate the difference between
  % the start and end volume)
  c' e' g'4_\
   { c' } \\ { e' } \\ { g' } 
  c' e' g'
   { c' } \\ { e' } \\ { g' } 
}
  }
  \new Staff {
\set Staff.midiInstrument = #flute
\new Voice {
  c''1_\
  s2
  c''1
  s2
  c''1
  s2
  c''1
  s2
  c''1
}
  }

\midi { }
  }
}

--

The example consists of five stages to demonstrate the changes in
volume:

- Stage (1) is just to demonstrate the difference between the volume
  levels of the solo instrument (the flute) and the accompanying
  instrument (the harpsichord).

- At stage (2), the volume of both instruments is set to \.

- At stages (3) and (4), the volume of the accompanying instrument is
  increased using multiple consecutive crescendi terminated using \!.
  Here, I would expect that the equalization of instruments would help
  to prevent the volume of the accompanying instrument from being
  increased too much...

- At stage (5) we simply return to the volume levels set at stage (2).


The MIDI produced from this example with LilyPond 2.12.3:

http://koti.welho.com/htauriai/test-2.12.3.midi

At stage (2), the solo instrument is reasonably audible (at least on
my MIDI configuration) even though both instruments are played at
\.  However, in stages (3) and (4), the volume level of the
accompanying instrument only seems to continue to increase in spite
of the attempt to apply equalization to the instruments.

I had a look at the source code to see whether I could understand what
could be happening here (I must confess that I had absolutely no
previous knowledge

Re: V2.14.0 - midi volume midi arpeggio

2011-06-16 Thread Helge Hafting

On 10. juni 2011 13:55, MING TSANG wrote:

Thank you Helge Hafting, Janek Warchol, Federico Bruni for helping me to
use terminal commands in ubuntu.

I downloaded the right file - dir shows it.
Now I copied the error - see below:


It goes wrong because the filenames are still different:

$ dir
 lilypond-2.14.0-1.linux-x86.sh

$ sh lilypond-2.14.0-linux-x86.sh
sh: Can't open lilypond-2.14.0-linux-x86.sh

You lost/forgot the number 1 and a dot.

You have got some tips on using TAB completion, but that might
fail if there are several lilypond files there.

If the filename is hard to type correctly, use cut  paste instead.

First use ls (or dir) to get a list of filenames.
Then type the command sh followed by a space.
Then use the mouse to mark the filename
then press the middle button (or right+left simultaneously)
linux should now paste the filename into the command you are typing.
Finally, press enter to execute the command.

Helge Hafting

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-16 Thread MING TSANG
Thank you very much for the terminal tips.  It helps.





From: Helge Hafting helge.haft...@hist.no
To: MING TSANG tsan...@rogers.com
Cc: lilypond-user@gnu.org
Sent: Thu, June 16, 2011 4:58:18 AM
Subject: Re: V2.14.0 - midi volume  midi arpeggio

On 10. juni 2011 13:55, MING TSANG wrote:
 Thank you Helge Hafting, Janek Warchol, Federico Bruni for helping me to
 use terminal commands in ubuntu.

 I downloaded the right file - dir shows it.
 Now I copied the error - see below:

It goes wrong because the filenames are still different:

$ dir
  lilypond-2.14.0-1.linux-x86.sh

$ sh lilypond-2.14.0-linux-x86.sh
sh: Can't open lilypond-2.14.0-linux-x86.sh

You lost/forgot the number 1 and a dot.

You have got some tips on using TAB completion, but that might
fail if there are several lilypond files there.

If the filename is hard to type correctly, use cut  paste instead.

First use ls (or dir) to get a list of filenames.
Then type the command sh followed by a space.
Then use the mouse to mark the filename
then press the middle button (or right+left simultaneously)
linux should now paste the filename into the command you are typing.
Finally, press enter to execute the command.

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


RE: V2.14.0 - midi volume midi arpeggio

2011-06-15 Thread James Lowe
Ming,

From: MING TSANG [mailto:tsan...@rogers.com]
Sent: 15 June 2011 02:49
To: David Santamauro; James Lowe; Federico Bruni
Cc: lilypond-user@gnu.org
Subject: Re: V2.14.0 - midi volume  midi arpeggio

david, James  Federico :Thank you all for the tips. It cut down my learning 
curve.

Federico: Thank you for pointing to the ubuntu forum. I registered to the forum 
to-night. I will start learning.  I want to use frescoboldi to generate music 
score.  That is the reason I install ubuntu.

[James' reply:]I do not want to confuse you but are you aware of an Ubuntu 
Distribution that has been made especially for Visually Impaired people
http://vinuxproject.org/
I expect this would work with Frescobaldi too but might offer a more useful 
Linux Distribution for you.
James
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread MING TSANG
Colin:

Thank you or the png. My Frescobaldi does show lilypond preference button 
(icon), So I conclude that your version is not the same as mime. my is v1.0.2.  
I used ubuntu software centre to install frescobaldi.   I guess your is v1.2.0. 
 
So I download frescobaldi-v1.2.0.tar.gz; then I extract the file. At a 
terminal, 
I type cmake, I get:
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cmake
The program 'cmake' is currently not installed.  You can install it by typing:
sudo apt-get install cmake
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ sudo apt-get install make
[sudo] password for tsang: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
make is already the newest version.
The following packages were automatically installed and are no longer required:
  qjackctl jackd2 jackd2-firewire libffado2 libxml++2.6-2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 324 not upgraded.
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ ./run
bash: ./run: No such file or directory
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cmake .
The program 'cmake' is currently not installed.  You can install it by typing:
sudo apt-get install cmake
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ 

According to install text file I type ./run and it says no such file.  I did 
cmake . and it complain cmake is not installed. (please note the terminal disi 
say it was installed.)  Now I am stuck. Don't know what to do.  


Is there a simpler way to install frescobaldi (like ubuntu software centre)?  
How can I get ubuntu upgrade to install the newest frescobaldi?

Thank you for your help.

From: Colin Campbell c...@shaw.ca

To: MING TSANG tsan...@rogers.com
Cc: lilypond-user@gnu.org
Sent: Tue, June 14, 2011 12:34:28 AM
Subject: Re: V2.14.0 - midi volume  midi arpeggio

On 11-06-13 09:46 AM, MING TSANG wrote: 
Thank you.


I discovered that once I change configue-frescobali/pathboth icon 
use the same version v2.14.1


I follow you instruction and have trouble running v2.12.3. 






I've attached a screen shot which might help explain what I mean, Ming.  Of 
course, you need to have each of the listed versions of lilypond installed, 
but the shot shows that I can create scores in several versions, using the 
same instance of Frescobaldi, and indeed (with a shout out to Wilbert) this 
is one of its best features.

Colin

--  A chief event of life is the day in which we have encountered a mind that 
startled us.  -Ralph Waldo Emerson, writer and philosopher (1803-1882)  
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread Colin Campbell

On 11-06-14 06:56 AM, MING TSANG wrote:

Colin:

Thank you or the png. My Frescobaldi does show lilypond preference 
button (icon), So I conclude that your version is not the same as 
mime. my is v1.0.2.  I used ubuntu software centre to install 
frescobaldi.   I guess your is v1.2.0.  So I download 
frescobaldi-v1.2.0.tar.gz; then I extract the file. At a terminal, I 
type cmake, I get*:

tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cmake
The program 'cmake' is currently not installed.  You can install it by 
typing:

sudo apt-get install cmake
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ sudo apt-get install make
*


This is where your finger slipped, Ming:  in the line above, you 
installed make instead of cmake.



*[sudo] password for tsang:
Reading package lists... Done
Building dependency tree
Reading state information... Done
make is already the newest version.
The following packages were automatically installed and are no longer 
required:

  qjackctl jackd2 jackd2-firewire libffado2 libxml++2.6-2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 324 not upgraded.
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ ./run
bash: ./run: No such file or directory
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cmake .
The program 'cmake' is currently not installed.  You can install it by 
typing:

sudo apt-get install cmake
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$

*According to install text file I type ./run and it says no such 
file.  I did cmake . and it complain cmake is not installed. (please 
note the terminal disi say it was installed.)  Now I am stuck. Don't 
know what to do.


Is there a simpler way to install frescobaldi (like ubuntu software 
centre)?*

*How can I get ubuntu upgrade to install the newest frescobaldi?*

*Thank you for your help.*
*


I've just checked: it looks as though the version in the Ubuntu 
repositories is now 1.2.0 so that would be your best way to go.


Colin

--
A chief event of life is the day in which we have encountered a mind
that startled us.
 -Ralph Waldo Emerson, writer and philosopher (1803-1882)

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread MING TSANG
Colin: I type sudo apt-get install make instrad of cmake.

I redo sudo and I get the following:



tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ sudo apt-get install cmake
[sudo] password for tsang: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following packages were automatically installed and are no longer required:
  qjackctl jackd2 jackd2-firewire libffado2 libxml++2.6-2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  cmake-data emacsen-common libxmlrpc-core-c3
The following NEW packages will be installed:
  cmake cmake-data emacsen-common libxmlrpc-core-c3
0 upgraded, 4 newly installed, 0 to remove and 324 not upgraded.
Need to get 4,833kB of archives.
After this operation, 14.0MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ca.archive.ubuntu.com/ubuntu/ maverick/main libxmlrpc-core-c3 i386 
1.06.27-1ubuntu7 [89.6kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu/ maverick/main emacsen-common all 
1.4.19ubuntu1 [19.0kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu/ maverick-updates/main cmake-data all 
2.8.2-2ubuntu0.1 [653kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu/ maverick-updates/main cmake i386 
2.8.2-2ubuntu0.1 [4,072kB]
Fetched 4,833kB in 23s (207kB/s)   
Selecting previously deselected package libxmlrpc-core-c3.
(Reading database ... 211323 files and directories currently installed.)
Unpacking libxmlrpc-core-c3 (from 
.../libxmlrpc-core-c3_1.06.27-1ubuntu7_i386.deb) ...
Selecting previously deselected package emacsen-common.
Unpacking emacsen-common (from .../emacsen-common_1.4.19ubuntu1_all.deb) ...
Selecting previously deselected package cmake-data.
Unpacking cmake-data (from .../cmake-data_2.8.2-2ubuntu0.1_all.deb) ...
Selecting previously deselected package cmake.
Unpacking cmake (from .../cmake_2.8.2-2ubuntu0.1_i386.deb) ...
Processing triggers for man-db ...
Setting up libxmlrpc-core-c3 (1.06.27-1ubuntu7) ...
Setting up emacsen-common (1.4.19ubuntu1) ...
emacsen-common: Handling install of emacsen flavor emacs
Setting up cmake-data (2.8.2-2ubuntu0.1) ...
emacsen-common: Handling install of emacsen flavor emacs
Setting up cmake (2.8.2-2ubuntu0.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ ./run
bash: ./run: No such file or directory
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cmake .
CMake Error: The source directory /home/tsang does not appear to contain 
CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cMake .
No command 'cMake' found, did you mean:
 Command 'cake' from package 'cakephp-scripts' (universe)
 Command 'cmake' from package 'cmake' (main)
cMake: command not found
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ 






From: MING TSANG tsan...@rogers.com
To: Colin Campbell c...@shaw.ca
Cc: lilypond-user@gnu.org
Sent: Tue, June 14, 2011 8:56:47 AM
Subject: Re: V2.14.0 - midi volume  midi arpeggio


Colin:

Thank you or the png. My Frescobaldi does show lilypond preference button 
(icon), So I conclude that your version is not the same as mime. my is v1.0.2.  
I used ubuntu software centre to install frescobaldi.   I guess your is v1.2.0. 
 
So I download frescobaldi-v1.2.0.tar.gz; then I extract the file. At a 
terminal, 
I type cmake, I get:
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cmake
The program 'cmake' is currently not installed.  You can install it by typing:
sudo apt-get install cmake
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ sudo apt-get install make
[sudo] password for tsang: 
Reading package  lists... Done
Building dependency tree   
Reading state information... Done
make is already the newest version.
The following packages were automatically installed and are no longer required:
  qjackctl jackd2 jackd2-firewire libffado2 libxml++2.6-2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 324 not upgraded.
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ ./run
bash: ./run: No such file or directory
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cmake .
The program 'cmake' is currently not installed.  You can install it by typing:
sudo apt-get install cmake
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ 

According to install text file I type ./run and it says no such file.  I did 
cmake . and it complain cmake is not installed. (please note the terminal disi 
say it was installed.)  Now I am stuck. Don't  know what to do.  


Is there a simpler way to install frescobaldi (like ubuntu software centre)?  
How can I get ubuntu upgrade to install the newest frescobaldi?

Thank you for your help.

From: Colin Campbell c...@shaw.ca

To: MING TSANG tsan...@rogers.com
Cc: lilypond-user@gnu.org
Sent: Tue, June 14, 2011 12:34:28 AM
Subject: Re: V2.14.0 - midi

Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread MING TSANG
under ubuntu software centre, I remove and install fresbaldi. The frescobaldi 
still show 1.0.2

How can I get ubuntu sfotware centre upgrade so that it will install 
frescobaldi 
1.2.0?



From: Colin Campbell c...@shaw.ca
To: MING TSANG tsan...@rogers.com
Cc: lilypond-user@gnu.org
Sent: Tue, June 14, 2011 9:08:13 AM
Subject: Re: V2.14.0 - midi volume  midi arpeggio

 On 11-06-14 06:56 AM, MING TSANG wrote: 
Colin:

Thank you or the png. My Frescobaldi does show lilypond   preference 
button (icon), So I conclude that your version is   not the same as 
mime. my is v1.0.2.  I used ubuntu software   centre to install 
frescobaldi.   I guess your is v1.2.0.  So I   download 
frescobaldi-v1.2.0.tar.gz; then I extract the file.   At a terminal, I 
type cmake, I get:
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cmake
The program 'cmake' is currently not installed.  You can   install 
it by typing:
sudo apt-get install cmake
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ sudo apt-get   
install 
make

This is where your finger slipped, Ming:  in the line above, you installed 
make instead of cmake.


[sudo] password for tsang: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
make is already the newest version.
The following packages were automatically installed and   are no 
longer required:
  qjackctl jackd2 jackd2-firewire libffado2 libxml++2.6-2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 324 not   upgraded.
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ ./run
bash: ./run: No such file or directory
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cmake .
The program 'cmake' is currently not installed.  You can   install 
it by typing:
sudo apt-get install cmake
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ 

According to install text file I type ./run and   it says no such 
file.  
I did cmake . and it complain cmake is   not installed. (please note 
the 
terminal disi say it was   installed.)  Now I am stuck. Don't know 
what 
to do.  


Is there a simpler way to install frescobaldi (like ubuntu   software 
centre)?  

How can I get ubuntu upgrade to install the   newest frescobaldi?

Thank you for your help.


I've just checked: it looks as though the version in the Ubuntu 
repositories 
is now 1.2.0 so that would be your best way to go.

Colin


--  A chief event of life is the day in which we have encountered a mind that 
startled us.  -Ralph Waldo Emerson, writer and philosopher (1803-1882)  
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread Federico Bruni
2011/6/14 MING TSANG tsan...@rogers.com

 under ubuntu software centre, I remove and install fresbaldi. The
 frescobaldi still show 1.0.2

 How can I get ubuntu sfotware centre upgrade so that it will install
 frescobaldi 1.2.0?
 --


Frescobaldi 1.20 is in Ubuntu Natty.
Ubuntu Maverick, the version you are using, has Frescobaldi 1.0.2
So what's happening is normal.

Next time check this website:
http://packages.ubuntu.com/

I don't know if there is a .deb package of 1.2.0 somewhere.
This PPA seems dropped:
https://launchpad.net/~frescobaldi/+archive/ppa

I would try to compile it from source.

1) install the dependencies.

The easiest way to get the dependencies is this command:

sudo apt-get build-dep frescobaldi

(hopefully, the dependencies for 1.0.2 are the same for 1.2.0)



2) compilation

cmake must be launched when your working directory is the directory of
Frescobaldi sources.

If you use Ubuntu (and therefore Gnome), install this package:
nautilus-open-terminal

Then you can use the file manager (nautilus) to go to the Frescobaldi
sources directory,
right-click and choose Open in terminal.

Then you can try running cmake.


Tutorial you may want to read:
https://help.ubuntu.com/community/UsingTheTerminal


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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread MING TSANG
I have a hard time to upgrade frescobaldi from 1.0.2 to 1.2.0.  As a last 
resort 
I upgrade ubuntu from 10.04   to 11.04.  After laboring 4 hours, the updrade is 
done.  Now frescobaldi is v1.2.0.

Questions:  
How can I locate the full path for lilypond 2.12.3 if it still there? 

How to install lilypond v2.15.1? Will the install of v2.15.1 override v2.14.1? 




From: Federico Bruni fedel...@gmail.com
To: MING TSANG tsan...@rogers.com
Cc: Colin Campbell c...@shaw.ca; lilypond-user@gnu.org
Sent: Tue, June 14, 2011 10:45:41 AM
Subject: Re: V2.14.0 - midi volume  midi arpeggio


2011/6/14 MING TSANG tsan...@rogers.com

under ubuntu software centre, I remove and install fresbaldi. The frescobaldi 
still show 1.0.2

How can I get ubuntu sfotware centre upgrade so that it will install 
frescobaldi 
1.2.0?






Frescobaldi 1.20 is in Ubuntu Natty.
Ubuntu Maverick, the version you are using, has Frescobaldi 1.0.2
So what's happening is normal.

Next time check this website:
http://packages.ubuntu.com/

I don't know if there is a .deb package of 1.2.0 somewhere.
This PPA seems dropped:
https://launchpad.net/~frescobaldi/+archive/ppa

I would try to compile it from source.

1) install the dependencies.

The easiest way to get the dependencies is this command:

sudo apt-get build-dep frescobaldi

(hopefully, the dependencies for 1.0.2 are the same for 1.2.0)



2) compilation

cmake must be launched when your working directory is the directory of 
Frescobaldi sources.

If you use Ubuntu (and therefore Gnome), install this package:
nautilus-open-terminal

Then you can use the file manager (nautilus) to go to the Frescobaldi sources 
directory,
right-click and choose Open in terminal.

Then you can try running cmake.


Tutorial you may want to read:
https://help.ubuntu.com/community/UsingTheTerminal


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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread Federico Bruni
 Questions:  
 How can I locate the full path for lilypond 2.12.3 if it still there? 
 

Type in a terminal:

which -a lilypond

You'll see all the lilypond binaries **that are installed in your
path**.  In order to see which directories are included in the path
variable, type in a terminal:

echo $PATH

I guess that v2.12.3 is in /usr/bin.

Please paste the output of previous command (echo $PATH).
If I remember correctly, you missed /home/tsang/bin and there was also
some strange path.

 How to install lilypond v2.15.1? Will the install of v2.15.1 override
 v2.14.1? 

You can install it as you installed v2.14.1.
It won't override the previous installation if you choose a different
path.  The easiest way is installing as root:

sudo sh lilypond-2.15.1-1.linux-x86.sh

It will be installed in /usr/local

For example I have:

$ which -a lilypond
/home/fede/bin/lilypond
/usr/local/bin/lilypond
/usr/bin/lilypond

$ echo $PATH
/home/fede/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

As you can see, my first lilypond binary is /home/fede/bin/lilypond
because /home/fede/bin is the first path.
That means that if I type:
lilypond

/home/fede/bin/lilypond will be actually executed

In order to use the other binaries in the terminal, I must specify the
absolute path:

/usr/local/bin/lilypond

HTH,
Federico


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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread MING TSANG
Federico:

Thank you very much for your help. Now I have configure frescobaldi to run 
v2.12.3 and v2.14.1.  Now I can go back to code lilypond scores.  I will soon 
start to play the development v2.15.1 when I have spare time.   I had been 
using 
jedit in window 7, but only one version of lilypond.   Now frescobaldi ubuntu 
provide different version of lilypond to run - an excellent software.

Thank you for the tips on terminal commands.  This is my first month of using 
linux ubuntu.  What is the difference between sh and sudo sh?

Blessing,
Ming.




From: Federico Bruni fedel...@gmail.com
To: MING TSANG tsan...@rogers.com
Cc: Colin Campbell c...@shaw.ca; lilypond-user@gnu.org
Sent: Tue, June 14, 2011 3:11:11 PM
Subject: Re: V2.14.0 - midi volume  midi arpeggio

 Questions:  
 How can I locate the full path for lilypond 2.12.3 if it still there? 
 

Type in a terminal:

which -a lilypond

You'll see all the lilypond binaries **that are installed in your
path**.  In order to see which directories are included in the path
variable, type in a terminal:

echo $PATH

I guess that v2.12.3 is in /usr/bin.

Please paste the output of previous command (echo $PATH).
If I remember correctly, you missed /home/tsang/bin and there was also
some strange path.

 How to install lilypond v2.15.1? Will the install of v2.15.1 override
 v2.14.1? 

You can install it as you installed v2.14.1.
It won't override the previous installation if you choose a different
path.  The easiest way is installing as root:

sudo sh lilypond-2.15.1-1.linux-x86.sh

It will be installed in /usr/local

For example I have:

$ which -a lilypond
/home/fede/bin/lilypond
/usr/local/bin/lilypond
/usr/bin/lilypond

$ echo $PATH
/home/fede/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

As you can see, my first lilypond binary is /home/fede/bin/lilypond
because /home/fede/bin is the first path.
That means that if I type:
lilypond

/home/fede/bin/lilypond will be actually executed

In order to use the other binaries in the terminal, I must specify the
absolute path:

/usr/local/bin/lilypond

HTH,
Federico___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread Federico Bruni
Il giorno mar, 14/06/2011 alle 13.00 -0700, MING TSANG ha scritto:
 Thank you very much for your help. Now I have configure frescobaldi to
 run v2.12.3 and v2.14.1.  Now I can go back to code lilypond scores.
 I will soon start to play the development v2.15.1 when I have spare
 time.   I had been using jedit in window 7, but only one version of
 lilypond.   Now frescobaldi ubuntu provide different version of
 lilypond to run - an excellent software.
 

great, I'm glad that you managed to make it work

 Thank you for the tips on terminal commands.  This is my first month
 of using linux ubuntu.  What is the difference between sh and sudo
 sh? 

in ubuntu sudo is the command that allows a normal user to get the
privileges of the superuser (also known as root user)

for example, only root can write in /usr/local

But this is not the best place to discuss these issues.
I recommend you to subscribe to a forum or mailing list of ubuntu users
and ask there, for example:
http://ubuntuforums.org/ 

And try to do some search before asking.  This should be a good place to
start:
https://help.ubuntu.com/ 

Cheers,
Federico


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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread David Santamauro
On Tue, 14 Jun 2011 13:00:17 -0700 (PDT)
MING TSANG tsan...@rogers.com wrote:

 of using linux ubuntu.  What is the difference between sh and sudo sh?

think of sudo command as the equivalent of Run As Administrator. It
turns you into administrator ('root') and executes that command. To
understand it, type the following commands into a terminal and it
should look like:

$ whoami
tsang
$ sudo whoami
root

The greatest command, though, is 'man'. It is help for every command
and is invoked like

$ man whoami
 * q to quit
$ man sudo
 * q to quit

David


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


RE: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread James Lowe
Ming

From: lilypond-user-bounces+james.lowe=datacore@gnu.org 
[lilypond-user-bounces+james.lowe=datacore@gnu.org] on behalf of MING TSANG 
[tsan...@rogers.com]
Sent: 14 June 2011 21:00
To: Federico Bruni
Cc: lilypond-user@gnu.org
Subject: Re: V2.14.0 - midi volume  midi arpeggio

Federico:

Thank you very much for your help. Now I have configure frescobaldi to run 
v2.12.3 and v2.14.1.  Now I can go back to code lilypond scores.  I will soon 
start to play the development v2.15.1 when I have spare time.   I had been 
using jedit in window 7, but only one version of lilypond.   Now frescobaldi 
ubuntu provide different version of lilypond to run - an excellent software.

Thank you for the tips on terminal commands.  This is my first month of using 
linux ubuntu.  What is the difference between sh and sudo sh?

Blessing,
Ming.

--

Certain commands in Ubuntu require 'administrator' permissions as the 'sh' 
command needs to access areas of the operating system that a normal user does 
not have permissions for. So when you run any command with the additional 
'sudo' command before it, it tells Ubuntu that the command is to be run 'as if' 
you were logged in as the administrator (or 'root' as is more commonly known in 
Linux) - 'su' actually stands for 'super user' and (I think) the 'do' is 
literal as in 'super user do' [command], but that is not important. There will 
be others that might jump in to say that you can also use sudo command for 
non-administrator accounts (which is true) but for your case this is what it is 
used for.

WHat is important is that any command you run with 'sudo' before it requires 
your password to be entered before the command is executed.

This is just a simple security feature of Ubuntu that stops 'anyone' or 'any 
process' from running as 'root' without entering a password.

Ubuntu is slightly different from other Linux versions/distributions because it 
does not by default allow you to log in as 'root', so any commands that require 
this kind of 'extra' privilege simply make you enter your password as 
verification.

If you try to run a command that requires 'sudo' without typing the command in, 
the prompt will tell you...something like

'permission denied' or 'you need to be 'root' to do that'.

I hope that helps.

James

PS if you ever want to know what a command does or means you can simply type 
'man' and then the command

for example

'man sudo'

or you can also type

'info sudo'

which will give you a slightly different (but often more updated) help system.

PPS if you do use 'man' or 'info' type the space bar to 'page down' or the 
'return button' to go a line at a time. Finally to 'come out' of the man or 
info page, type 'q' (for quit) and it will take you back to the prompt. Happy 
Hacking!







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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-14 Thread MING TSANG
david, James  Federico :Thank you all for the tips. It cut down my learning 
curve.

Federico: Thank you for pointing to the ubuntu forum. I registered to the forum 
to-night. I will start learning.  I want to use frescoboldi to generate music 
score.  That is the reason I install ubuntu.





From: David Santamauro david.santama...@gmail.com
To: MING TSANG tsan...@rogers.com
Cc: Federico Bruni fedel...@gmail.com; lilypond-user@gnu.org
Sent: Tue, June 14, 2011 4:56:21 PM
Subject: Re: V2.14.0 - midi volume  midi arpeggio

On Tue, 14 Jun 2011 13:00:17 -0700 (PDT)
MING TSANG tsan...@rogers.com wrote:

 of using linux ubuntu.  What is the difference between sh and sudo sh?

think of sudo command as the equivalent of Run As Administrator. It
turns you into administrator ('root') and executes that command. To
understand it, type the following commands into a terminal and it
should look like:

$ whoami
tsang
$ sudo whoami
root

The greatest command, though, is 'man'. It is help for every command
and is invoked like

$ man whoami
* q to quit
$ man sudo
* q to quit

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-13 Thread MING TSANG
Thank you.

I discovered that once I change configue-frescobali/path  both icon use the 
same 
version v2.14.1

I follow you instruction and have trouble running v2.12.3. 




From: Colin Campbell c...@shaw.ca
To: MING TSANG tsan...@rogers.com
Cc: lilypond-user@gnu.org
Sent: Sat, June 11, 2011 11:05:58 AM
Subject: Re: V2.14.0 - midi volume  midi arpeggio

 On 11-06-11 05:39 AM, MING TSANG wrote: 
Colin   : Thank you very much.  Now I have two icon for frescobaldi -   

one for each version (2.12.3  2.14.0).

Federico; David; janek; Helge : Thank you all for helping /   (showing 
pointers to) me on frescobaldi/lilypond setup/install   the past few 
days.  It is fruitful and I am very much   appreciated. I am very new 
to 
linux world.






Actually, Ming, you only need one icon for Frescobaldi.  As I mentioned, 
Frescobaldi lets you add several versions of Lilypond in the Preferences 
area, and set only one of them as default.  The extra check box allows you 
to create scores in, for example 2.12.3, and Frescobaldi will see the 
\version 2.12.3 and use that version of Lilypond, if you have it 
installed.  You can also have 2.14 installed and listed in Frescobaldi, and 
again, Frescobaldi will use whichever Lilypond matches the \version in your 
score.

Welcome to linux!  Free the penguins!

Colin



Start Frescobaldi, then go to Edit then Preferences.  Next, select 
Lilypond Preferences, and you will see an area to the right which 
lists 

he Lilypond binaries known to Frescobaldi.  If your new 
home/tsang/bin/lilypond isn't listed, you can use the Add button 
and 

then you can also make 2.14 the default version for Frescobaldi.  
Finanlly, while you are in the Preferences area, make sure you 
check 
the 

box which says Automatically choose Lilypond version from 
document, 

which allows you to use any version which is known to Frescobaldi.

Hope that helps!

Colin Campbell
Bug Squad

-- 
A chief event of life is the day in which we have encountered a 
mind
that startled us.
  -Ralph Waldo Emerson, writer and philosopher (1803-1882)










--  A chief event of life is the day in which we have encountered a mind that 
startled us.  -Ralph Waldo Emerson, writer and philosopher (1803-1882)  
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: V2.14.0 - midi volume midi arpeggio

2011-06-12 Thread Janek Warchoł
2011/6/9 MING TSANG tsan...@rogers.com:
 QUESTIONS:
 2.  I produce a midi output for each voice + piano.  I want to produce the
 voice sound track is louder than the piano.  I use the following
     \include articulate.ly
     and
     \new voice {
         \set Staff.midiMinimumVolume = #0.2
         \set Staff.midiMaximumVolume = #0.6
     }
 but I cannot produce the effect I want.  How can I resolved this?

I suppose lack of dynamic sign at the beginning of the music may be
the cause of the problem. See
http://lilypond.org/doc/v2.14/Documentation/notation/controlling-midi-dynamics
: midiMinimumVolume and midiMaximumVolume properties have an effect
only on dynamic marks, so a dynamic mark must be placed at the
beginning of the score if you want them to work properly.

In other words,

\version 2.14.0
\include articulate.ly
\score {
  
\new Voice {
  c \mf d e f
}
\new Voice {
\set Staff.midiMinimumVolume = #0.2
\set Staff.midiMaximumVolume = #0.5
c''\mf c'' c'' c''
}
  
  \midi {}
}

works for me (i.e. the high c's are quieter than low melody).

HTH,
Janek

PS there is a bit different wording in Notation Reference than what i
wrote. Maybe it should be changed to simpler english?

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-11 Thread MING TSANG
Colin : Thank you very much.  Now I have two icon for frescobaldi - one for 
each 
version (2.12.3  2.14.0).

Federico; David; janek; Helge : Thank you all for helping / (showing pointers 
to) me on frescobaldi/lilypond setup/install the past few days.  It is fruitful 
and I am very much appreciated. I am very new to linux world.






Date: Fri, 10 Jun 2011 18:36:50 -0600
From: Colin Campbell c...@shaw.ca
To: lilypond-user@gnu.org
Subject: Re: V2.14.0 - midi volume  midi arpeggio
Message-ID: 4df2b8a2.9070...@shaw.ca
Content-Type: text/plain; charset=iso-8859-1; Format=flowed

On 11-06-10 03:23 PM, MING TSANG wrote:
 After several attempt, I successfully install lilypond v2.14.0_1 in
 /home/tsang/bin/lilypond   (v2.14.0_1)
 lilypond v2.12.3 was still in /bin/lilypond

 Now I have two version in ubuntu.  Right now frescobaldi is using the 
 /bin/lilypond (version 2.12.3)

 Question:  How can I configure frescobaldi to execute 
 /home/tsang/bin/lilypond (2.14.0)?  On frescobaldi configure, I edit 
 the path to point to /home/tsang/bin/, but when click on lilypond 
 button on frescobaldi, it execute lilypond 2.12.3.
 Here is the echo $PATH entry:
  tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ echo $PATH
 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games



Start Frescobaldi, then go to Edit then Preferences.  Next, select 
Lilypond Preferences, and you will see an area to the right which lists 
he Lilypond binaries known to Frescobaldi.  If your new 
home/tsang/bin/lilypond isn't listed, you can use the Add button and 
then you can also make 2.14 the default version for Frescobaldi.  
Finanlly, while you are in the Preferences area, make sure you check the 
box which says Automatically choose Lilypond version from document, 
which allows you to use any version which is known to Frescobaldi.

Hope that helps!

Colin Campbell
Bug Squad

-- 
A chief event of life is the day in which we have encountered a mind
that startled us.
  -Ralph Waldo Emerson, writer and philosopher (1803-1882)___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: V2.14.0 - midi volume midi arpeggio

2011-06-11 Thread Colin Campbell

On 11-06-11 05:39 AM, MING TSANG wrote:
Colin : Thank you very much.  Now I have two icon for frescobaldi - 
one for each version (2.12.3  2.14.0).


Federico; David; janek; Helge : Thank you all for helping / (showing 
pointers to) me on frescobaldi/lilypond setup/install the past few 
days.  It is fruitful and I am very much appreciated. I am very new to 
linux world.



**


Actually, Ming, you only need one icon for Frescobaldi.  As I mentioned, 
Frescobaldi lets you add several versions of Lilypond in the Preferences 
area, and set only one of them as default.  The extra check box allows 
you to create scores in, for example 2.12.3, and Frescobaldi will see 
the \version 2.12.3 and use that version of Lilypond, if you have it 
installed.  You can also have 2.14 installed and listed in Frescobaldi, 
and again, Frescobaldi will use whichever Lilypond matches the \version 
in your score.


Welcome to linux!  Free the penguins!

Colin



Start Frescobaldi, then go to Edit then Preferences.  Next, select
Lilypond Preferences, and you will see an area to the right which lists
he Lilypond binaries known to Frescobaldi.  If your new
home/tsang/bin/lilypond isn't listed, you can use the Add button and
then you can also make 2.14 the default version for Frescobaldi.
Finanlly, while you are in the Preferences area, make sure you check the
box which says Automatically choose Lilypond version from document,
which allows you to use any version which is known to Frescobaldi.

Hope that helps!

Colin Campbell
Bug Squad

--
A chief event of life is the day in which we have encountered a mind
that startled us.
-Ralph Waldo Emerson, writer and philosopher (1803-1882)










--
A chief event of life is the day in which we have encountered a mind
that startled us.
 -Ralph Waldo Emerson, writer and philosopher (1803-1882)

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread Federico Bruni
Il giorno gio, 09/06/2011 alle 19.04 -0700, MING TSANG ha scritto:
 Thank you for your reply.
 I follow your suggestion steps, I got the following error. I am new to
 linux world (approx. one month).  I have a hard time copying out
 terminal message.
 
 sh: can't open lilypond-2.14.0-1.linux-x86.sh 

It means that you are running the command in the wrong directory.
Where have you saved the .sh file?

Some useful unix commands:

pwd (tells you the current working directory)
ls (show the files of the current directory)

If you install the package 'locate', you'll be able to know where is the
file:
locate lilypond-2.14.0-1.linux-x86.sh

I use to install/update lilypond with these commands:

cd /tmp # files in /tmp will be automatically deleted when I shut down
the computer
wget http://.. # copy and paste the link of the file
uninstall-lilypond # uninstall previous version
sh lilypond-VERSION.OS.sh

I install it as normal user, so in my home directory.

Another thing you should know about using the terminal is the TAB key,
which autocompletes the names of files and directories.

In order to copy and paste in the terminal you can use the mouse or Ctrl
+ Shift + Key (C, V, Z).

Good luck!

Federico


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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread Janek Warchoł
2011/6/10 MING TSANG tsan...@rogers.com:
 Thank you for your reply.
 I follow your suggestion steps, I got the following error. I am new to linux
 world (approx. one month).  I have a hard time copying out terminal message.

 sh: can't open lilypond-2.14.0-1.linux-x86.sh

there is one thing that should be checked: which file from
http://lilypond.org/unix.html have you downloaded? I assumed that you
downloaded the one at the top, named lilypond-2.14.0-1.linux-x86.sh,
but of course if you downloaded another one, you have to modify your
command accordingly (it should read sh INSTALLER-FILENAME)

HTH,
Janek

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread Helge Hafting

On 10. juni 2011 04:04, MING TSANG wrote:

Thank you for your reply.
I follow your suggestion steps, I got the following error. I am new to
linux world (approx. one month). I have a hard time copying out terminal
message.


That should be easy - if you write your email message on the same machine:

1. Start writing the mail message where you want to show us
   the error.
2. Mark the error text using the mouse.
   a. Put mouse cursor over the beginning of the text
   b. Hold down button one
   c. Drag along the text, you should see it getting selected
   d. release the mouse button
   Now, the message is highlighted
3. Put the mouse cursor over the email message, and press the
   third mouse button. This causes the highlighted error text
   to be copied into the email message.
   If your mouse doesn't have a third button, press the other
   two simultaneously instead.

This is how you copy just about any text from one app to another in
linux. The method is different from windows, but much quicker.

If you're writing your mail on another machine, paste the error messages 
into a file instead. Then transfer the file to where you write your mail.




sh: can't open lilypond-2.14.0-1.linux-x86.sh


Try the ls command. Is the file lilypond-2.14.0-1.linux-x86.sh there?
Maybe you mis-spelled it?

If the file isn't there, use the cd command to move to the correct 
directory first. Then use ls to check.  Web browsers tend to put files 
in a directory named Downloads.


If the file is there, avoid mis-spelling by using tab completion. Type
something like:

sh lilypond-2.14

then press the TAB key. Linux should now fill out the rest of the 
filename so you don't have to. This saves time and avoids tyiping 
errors. It works provided that there is only one file where the name 
starts with lilypond-2.14





arpeggio chord midi sound was not produced on 2.12.3 either.


I don't think lilypond's midi output is capable of making arpeggio sound 
yet. So you can print scores with arpeggio symbols, but the midi won't 
do that.


To get arpeggio in midi, write the arpeggio out using ties.
Example:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-rhythms#Ties

Scroll down to Using ties with arpeggios


Something similiar can be done do get realistic guitar sound. A 
guitarist doesn't normally hit all the strings at the same time, but the 
lilypond midi guitar do...


Helge Hafting

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread MING TSANG
Thank you Helge Hafting, Janek Warchol, Federico Bruni for helping me to use 
terminal commands in ubuntu.

I downloaded the right file - dir shows it.
Now I copied the error - see below:


tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ dir
acl  DownloadsPublicTest.pdf  yming.xhb~
BOOKS  DropboxrosegardenTest.ps   your-love.ly
Calibre\ Library  examples.desktop  Templatesuntitled.xhb
Desktop  MusicTest.lyVideos
Documents  PicturesTest.ly~yming.xhb
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cd Downloads
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ dir
2011_summer_camp_headcount_May24.xlsx  libflashplayer.so
gsview-4.9   lilypond-2.13.61-1.linux-x86.sh
gsview-4.9.tar.gz   lilypond-2.14.0-1.linux-x86.sh
install_flash_player_10_linux.tar.gz   usr
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh 
lilypond-2.14.0-linux-x86.sh
sh: Can't open lilypond-2.14.0-linux-x86.sh
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$
 end of message

QUESTION:
Do I need to uninstall v2.12.3 lilypond?  How can I do it?
Janek:  arpeggio midi sound is not produced on v2.12.3 either.



From: Helge Hafting helge.haft...@hist.no
To: lilypond-user@gnu.org; tsan...@rogers.com
Sent: Fri, June 10, 2011 6:01:52 AM
Subject: Re: V2.14.0 - midi volume  midi arpeggio

On 10. juni 2011 04:04, MING TSANG wrote:
 Thank you for your reply.
 I follow your suggestion steps, I got the following error. I am new to
 linux world (approx. one month). I have a hard time copying out terminal
 message.

That should be easy - if you write your email message on the same machine:

1. Start writing the mail message where you want to show us
   the error.
2. Mark the error text using the mouse.
   a. Put mouse cursor over the beginning of the text
   b. Hold down button one
   c. Drag along the text, you should see it getting selected
   d. release the mouse button
   Now, the message is highlighted
3. Put the mouse cursor over the email message, and press the
   third mouse button. This causes the highlighted error text
   to be copied into the email message.
   If your mouse doesn't have a third button, press the other
   two simultaneously instead.

This is how you copy just about any text from one app to another in
linux. The method is different from windows, but much quicker.

If you're writing your mail on another machine, paste the error messages into a 
file instead. Then transfer the file to where you write your mail.

 
 sh: can't open lilypond-2.14.0-1.linux-x86.sh

Try the ls command. Is the file lilypond-2.14.0-1.linux-x86.sh there?
Maybe you mis-spelled it?

If the file isn't there, use the cd command to move to the correct directory 
first. Then use ls to check.  Web browsers tend to put files in a directory 
named Downloads.

If the file is there, avoid mis-spelling by using tab completion. Type
something like:

sh lilypond-2.14

then press the TAB key. Linux should now fill out the rest of the filename so 
you don't have to. This saves time and avoids tyiping errors. It works provided 
that there is only one file where the name starts with lilypond-2.14

 
 
 arpeggio chord midi sound was not produced on 2.12.3 either.

I don't think lilypond's midi output is capable of making arpeggio sound yet. 
So 
you can print scores with arpeggio symbols, but the midi won't do that.

To get arpeggio in midi, write the arpeggio out using ties.
Example:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-rhythms#Ties

Scroll down to Using ties with arpeggios


Something similiar can be done do get realistic guitar sound. A guitarist 
doesn't normally hit all the strings at the same time, but the lilypond midi 
guitar do...

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread Federico Bruni
I think that v2.12.3 is the package in the ubuntu repository.
If so, you don't need to uninstall it, because it's installed in /usr/bin,
while the packages provided by lilypond.org are installed either
in your home or in /usr/local (if you install it as root).
There will be no conflict.

However, if you want to uninstall v2.12.3 you can use Synaptic or type in a
terminal:
sudo apt-get remove lilypond

The error belows is weird. Enter in Downloads and type:
ls -l

You can try also the graphical way.
Use the file manager to reach the directory, right click on the .sh file and
choose properties.
In the Permissions tab (or something like that) you must check Execution.
Close and clic normally on the file.
You'll see a window asking if you want to see the file or run it.
Tell him to run as a program and everything should work.

Unless the downloaded file is corrupted.
Post the ls -l command

2011/6/10 MING TSANG tsan...@rogers.com

 Thank you Helge Hafting, Janek Warchol, Federico Bruni for helping me to
 use terminal commands in ubuntu.

 I downloaded the right file - dir shows it.
 Now I copied the error - see below:

 
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ dir
 acl  DownloadsPublicTest.pdf  yming.xhb~
 BOOKS  DropboxrosegardenTest.ps   your-love.ly
 Calibre\ Library  examples.desktop  Templatesuntitled.xhb
 Desktop  MusicTest.lyVideos
 Documents  PicturesTest.ly~yming.xhb
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cd Downloads
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ dir
 2011_summer_camp_headcount_May24.xlsx  libflashplayer.so
 gsview-4.9   lilypond-2.13.61-1.linux-x86.sh
 gsview-4.9.tar.gz   lilypond-2.14.0-1.linux-x86.sh
 install_flash_player_10_linux.tar.gz   usr
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh
 lilypond-2.14.0-linux-x86.sh
 sh: Can't open lilypond-2.14.0-linux-x86.sh
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$
  end of message

 QUESTION:
 Do I need to uninstall v2.12.3 lilypond?  How can I do it?
 Janek:  arpeggio midi sound is not produced on v2.12.3 either.
 --


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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread MING TSANG
I post a ls realizing missing -1. in the file name.  I try whold things again 
and here is the message.  Should I download the file and try again?

message begins
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ dir
acl  DocumentsMusicTest.ly   Videos
bin  DownloadsPicturesTest.ly~  yming.xhb
BOOKS  DropboxPublicTest.pdf  yming.xhb~
Calibre\ Library  examples.desktop  rosegardenTest.ps   your-love.ly
Desktop  lilypondTemplatesuntitled.xhb
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cd Downloads
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ dir
2011_summer_camp_headcount_May24.xlsx  libflashplayer.so
gsview-4.9   lilypond-2.13.61-1.linux-x86.sh
gsview-4.9.tar.gz   lilypond-2.14.0-1.linux-x86.sh
install_flash_player_10_linux.tar.gz   usr
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ ls -1 
lilypond-2.14.0-linux-x86.sh
ls: cannot access lilypond-2.14.0-linux-x86.sh: No such file or directory
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ ls 
lilypond-2.14.0-1.linux-x86.sh
lilypond-2.14.0-1.linux-x86.sh
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh 
lilypond-2.14.0-1.linux.x86.sh
sh: Can't open lilypond-2.14.0-1.linux.x86.sh
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ 



From: Federico Bruni fedel...@gmail.com
To: MING TSANG tsan...@rogers.com
Cc: Helge Hafting helge.haft...@hist.no; Janek Warchoł 
lemniskata.bernoull...@gmail.com; lilypond-user@gnu.org; 
lilypond-user-requ...@gnu.org
Sent: Fri, June 10, 2011 8:12:44 AM
Subject: Re: V2.14.0 - midi volume  midi arpeggio

I think that v2.12.3 is the package in the ubuntu repository.
If so, you don't need to uninstall it, because it's installed in /usr/bin,
while the packages provided by lilypond.org are installed either
in your home or in /usr/local (if you install it as root).
There will be no conflict.

However, if you want to uninstall v2.12.3 you can use Synaptic or type in a 
terminal:
sudo apt-get remove lilypond

The error belows is weird. Enter in Downloads and type:
ls -l

You can try also the graphical way.
Use the file manager to reach the directory, right click on the .sh file and 
choose properties.
In the Permissions tab (or something like that) you must check Execution.
Close and clic normally on the file.
You'll see a window asking if you want to see the file or run it.
Tell him to run as a program and everything should work.

Unless the downloaded file is corrupted.
Post the ls -l command


2011/6/10 MING TSANG tsan...@rogers.com

Thank you Helge Hafting, Janek Warchol, Federico Bruni for helping me to use 
terminal commands in ubuntu.

I downloaded the right file - dir shows it.
Now I copied the error - see below:


tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ dir
acl   DownloadsPublicTest.pdf  yming.xhb~
BOOKS  DropboxrosegardenTest.ps   your-love.ly
Calibre\ Library  examples.desktop  Templatesuntitled.xhb
Desktop  MusicTest.lyVideos
Documents  PicturesTest.ly~yming.xhb
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cd Downloads
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ dir
2011_summer_camp_headcount_May24.xlsx  libflashplayer.so
gsview-4.9   lilypond-2.13.61-1.linux-x86.sh
gsview-4.9.tar.gz   lilypond-2.14.0-1.linux-x86.sh
install_flash_player_10_linux.tar.gz   usr
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh 
lilypond-2.14.0-linux-x86.sh
sh: Can't open lilypond-2.14.0-linux-x86.sh
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$
 end of message

QUESTION:
Do I need to  uninstall v2.12.3 lilypond?  How can I do it?
Janek:  arpeggio midi sound is not produced on v2.12.3 either.



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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread David Santamauro

Hi,

On Fri, 10 Jun 2011 14:12:44 +0200
Federico Bruni fedel...@gmail.com wrote:

 In the Permissions tab (or something like that) you must check
 Execution. Close and clic normally on the file.

He is using sh file so even if it weren't executable, sh would
execute it.

  tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh
  lilypond-2.14.0-linux-x86.sh
  sh: Can't open lilypond-2.14.0-linux-x86.sh

Simply try,

sh ./lilypond-2.14.0-linux-x86.sh

... with the './'. I think the problem is that '.' (the current working
directory) is not in PATH -- my guess

HTH

David

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread Federico Bruni
the option -l is a letter, not number 1

post the output of the command below:

tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ ls -l


2011/6/10 MING TSANG tsan...@rogers.com

 I post a ls realizing missing -1. in the file name.  I try whold things
 again and here is the message.  Should I download the file and try again?

 message begins

 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ dir
 acl  DocumentsMusicTest.ly   Videos
 bin  DownloadsPicturesTest.ly~  yming.xhb
 BOOKS  DropboxPublicTest.pdf  yming.xhb~
 Calibre\ Library  examples.desktop  rosegardenTest.ps
 your-love.ly
 Desktop  lilypondTemplatesuntitled.xhb

 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cd Downloads
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ dir
 2011_summer_camp_headcount_May24.xlsx  libflashplayer.so
 gsview-4.9   lilypond-2.13.61-1.linux-x86.sh
 gsview-4.9.tar.gz   lilypond-2.14.0-1.linux-x86.sh
 install_flash_player_10_linux.tar.gz   usr
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ ls -1
 lilypond-2.14.0-linux-x86.sh
 ls: cannot access lilypond-2.14.0-linux-x86.sh: No such file or directory
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ ls
 lilypond-2.14.0-1.linux-x86.sh

 lilypond-2.14.0-1.linux-x86.sh
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh
 lilypond-2.14.0-1.linux.x86.sh
 sh: Can't open lilypond-2.14.0-1.linux.x86.sh

 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$
 --
 *From:* Federico Bruni fedel...@gmail.com
 *To:* MING TSANG tsan...@rogers.com
 *Cc:* Helge Hafting helge.haft...@hist.no; Janek Warchoł 
 lemniskata.bernoull...@gmail.com; lilypond-user@gnu.org;
 lilypond-user-requ...@gnu.org
 *Sent:* Fri, June 10, 2011 8:12:44 AM

 *Subject:* Re: V2.14.0 - midi volume  midi arpeggio

 I think that v2.12.3 is the package in the ubuntu repository.
 If so, you don't need to uninstall it, because it's installed in /usr/bin,
 while the packages provided by lilypond.org are installed either
 in your home or in /usr/local (if you install it as root).
 There will be no conflict.

 However, if you want to uninstall v2.12.3 you can use Synaptic or type in a
 terminal:
 sudo apt-get remove lilypond

 The error belows is weird. Enter in Downloads and type:
 ls -l

 You can try also the graphical way.
 Use the file manager to reach the directory, right click on the .sh file
 and choose properties.
 In the Permissions tab (or something like that) you must check Execution.
 Close and clic normally on the file.
 You'll see a window asking if you want to see the file or run it.
 Tell him to run as a program and everything should work.

 Unless the downloaded file is corrupted.
 Post the ls -l command

 2011/6/10 MING TSANG tsan...@rogers.com

 Thank you Helge Hafting, Janek Warchol, Federico Bruni for helping me to
 use terminal commands in ubuntu.

 I downloaded the right file - dir shows it.
 Now I copied the error - see below:

 
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ dir
 acl  DownloadsPublicTest.pdf  yming.xhb~
 BOOKS  DropboxrosegardenTest.ps   your-love.ly
 Calibre\ Library  examples.desktop  Templatesuntitled.xhb
 Desktop  MusicTest.lyVideos
 Documents  PicturesTest.ly~yming.xhb
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cd Downloads
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ dir
 2011_summer_camp_headcount_May24.xlsx  libflashplayer.so
 gsview-4.9   lilypond-2.13.61-1.linux-x86.sh
 gsview-4.9.tar.gz   lilypond-2.14.0-1.linux-x86.sh
 install_flash_player_10_linux.tar.gz   usr
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh
 lilypond-2.14.0-linux-x86.sh
 sh: Can't open lilypond-2.14.0-linux-x86.sh
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$
  end of message

 QUESTION:
 Do I need to uninstall v2.12.3 lilypond?  How can I do it?
 Janek:  arpeggio midi sound is not produced on v2.12.3 either.
 --


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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread Christopher R. Maden
On 06/10/2011 08:41 AM, MING TSANG wrote:
 I post a ls realizing missing -1. in the file name.  I try whold things again 
 and here is the message.  Should I download the file and try again?
 
 message begins
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ ls 
 lilypond-2.14.0-1.linux-x86.sh
 lilypond-2.14.0-1.linux-x86.sh
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh 
 lilypond-2.14.0-1.linux.x86.sh
 sh: Can't open lilypond-2.14.0-1.linux.x86.sh
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ 

The filename is still wrong:

ls: lilypond-2.14.0-1.linux-x86.sh
sh: lilypond-2.14.0-1.linux.x86.sh

Not the same!

Tab completion is your friend.  Since you said you are new to Linux:
type “sh lilypond-” then hit tab.  If there is a single file that
matches, it will complete it for you.  If not, hit tab again to see the
list of possible matches, then type a little more until you have a
unique match.

~Chris
-- 
Chris Maden, text nerd  URL: http://crism.maden.org/ 
“Before I built a wall I’d ask to know / What I was walling in or
 out, / And to whom I was like to give offence.” — RF, Mending Wall
GnuPG Fingerprint: C6E4 E2A9 C9F8 71AC 9724 CAA3 19F8 6677 0077 C319

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread MING TSANG
After I use ./ on the file name It run successfully. I was asked 
uninstall-lilypond. So I did.  Run install again with ./.

This time the execution went OK. But when I do lilypond it says the lily pond 
is 
2.12.3. 

tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ lilypond
GNU LilyPond 2.12.3
Usage: lilypond [OPTION]... FILE...


message begin:
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ dir
acl  DocumentsMusicTest.ly   Videos
bin  DownloadsPicturesTest.ly~  yming.xhb
BOOKS  DropboxPublicTest.pdf  yming.xhb~
Calibre\ Library  examples.desktop  rosegardenTest.ps   your-love.ly
Desktop  lilypondTemplatesuntitled.xhb
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cd Downloads
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ dir
2011_summer_camp_headcount_May24.xlsx  libflashplayer.so
gsview-4.9   lilypond-2.13.61-1.linux-x86.sh
gsview-4.9.tar.gz   lilypond-2.14.0-1.linux-x86.sh
install_flash_player_10_linux.tar.gz   usr
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ ls -l 
lilypond-2.14.0-1.linux-x86.sh
-rwxr-xr-x 1 tsang tsang 20626851 2011-06-06 11:37 
lilypond-2.14.0-1.linux-x86.sh
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh 
./lilypond-2.14.0-1.linux-x86.sh

lilypond installer for version 2.14.0 release 1,
i686 build.
For a list of options, abort (^C) then do:
sh ./lilypond-2.14.0-1.linux-x86.sh --help


You are about to install LilyPond in /home/tsang/lilypond
A script in /home/tsang/bin will be created as a shortcut.

Press ^C to abort, or Enter to proceed.

Directory /home/tsang/lilypond already exists.
Remove old lilypond installations before installing this one.
Run /home/tsang/bin/uninstall-lilypond to uninstall previous version.
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ 
uninstall-lilypond
uninstall-lilypond: command not found
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ cd /home/tsang/bin
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ uninstall-lilypond
uninstall-lilypond: command not found
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ dir
abc2lylilypondlilypond-wrapper.guile   mup2ly
convert-ly  lilypond-booklilypond-wrapper.python  musicxml2ly
etf2lylilypond-invoke-editor  midi2ly uninstall-lilypond
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ run install-lilypond
No command 'run' found, did you mean:
 Command 'crun' from package 'ceph' (universe)
 Command 'zrun' from package 'moreutils' (universe)
 Command 'runq' from package 'exim4-daemon-heavy' (main)
 Command 'runq' from package 'sendmail-bin' (universe)
 Command 'runq' from package 'exim4-daemon-light' (main)
 Command 'grun' from package 'grun' (universe)
 Command 'qrun' from package 'torque-client' (multiverse)
 Command 'qrun' from package 'torque-client-x11' (universe)
 Command 'lrun' from package 'lustre-utils' (universe)
 Command 'rn' from package 'trn' (multiverse)
 Command 'rn' from package 'trn4' (multiverse)
 Command 'rup' from package 'rstat-client' (universe)
 Command 'srun' from package 'slurm-llnl' (universe)
run: command not found
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ uninstall-lilypond
uninstall-lilypond: command not found
 end of message





From: David Santamauro david.santama...@gmail.com
To: Federico Bruni fedel...@gmail.com
Cc: MING TSANG tsan...@rogers.com; lilypond-user@gnu.org
Sent: Fri, June 10, 2011 8:43:45 AM
Subject: Re: V2.14.0 - midi volume  midi arpeggio


Hi,

On Fri, 10 Jun 2011 14:12:44 +0200
Federico Bruni fedel...@gmail.com wrote:

 In the Permissions tab (or something like that) you must check
 Execution. Close and clic normally on the file.

He is using sh file so even if it weren't executable, sh would
execute it.

  tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh
  lilypond-2.14.0-linux-x86.sh
  sh: Can't open lilypond-2.14.0-linux-x86.sh

Simply try,

sh ./lilypond-2.14.0-linux-x86.sh

... with the './'. I think the problem is that '.' (the current working
directory) is not in PATH -- my guess

HTH

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread Xavier Scheuer
On 10 June 2011 16:16, Christopher R. Maden cr...@maden.org wrote:

 The filename is still wrong:

 ls: lilypond-2.14.0-1.linux-x86.sh
 sh: lilypond-2.14.0-1.linux.x86.sh

 Not the same!

 Tab completion is your friend.  Since you said you are new to Linux:
 type “sh lilypond-” then hit tab.  If there is a single file that
 matches, it will complete it for you.  If not, hit tab again to see the
 list of possible matches, then type a little more until you have a
 unique match.

I have always used sudo in order to install with the LilyPond script
(on Ubuntu).

  sudo sh lilypond-2.14.0-1.linux.x86.sh

and it installs lilypond in  /usr/local/lilypond
The bin PATH is  /usr/local/bin/lilypond

Cheers,
Xavier

-- 
Xavier Scheuer x.sche...@gmail.com

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread Federico Bruni
~/bin is not in your path, that's why uninstall-lilypond returns 'command
not found'. (~ stands for user's home)
The absolute path should work:

/home/tsang/bin/uninstall-lilypond

You can understand what's going on using these two commands:

which lilypond
which -a lilypond
echo $PATH


But first have a look at this page (Ubuntu is based on Debian):
http://wiki.debian.org/EnvironmentVariables


2011/6/10 MING TSANG tsan...@rogers.com

 After I use ./ on the file name It run successfully. I was asked
 uninstall-lilypond. So I did.  Run install again with ./.

 This time the execution went OK. But when I do lilypond it says the lily
 pond is 2.12.3.
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ lilypond
 GNU LilyPond 2.12.3
 Usage: lilypond [OPTION]... FILE...


 message begin:

 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ dir
 acl  DocumentsMusicTest.ly   Videos
 bin  DownloadsPicturesTest.ly~  yming.xhb
 BOOKS  DropboxPublicTest.pdf  yming.xhb~
 Calibre\ Library  examples.desktop  rosegardenTest.ps
 your-love.ly
 Desktop  lilypondTemplatesuntitled.xhb
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cd Downloads
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ dir
 2011_summer_camp_headcount_May24.xlsx  libflashplayer.so
 gsview-4.9   lilypond-2.13.61-1.linux-x86.sh
 gsview-4.9.tar.gz   lilypond-2.14.0-1.linux-x86.sh
 install_flash_player_10_linux.tar.gz   usr
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ ls -l
 lilypond-2.14.0-1.linux-x86.sh
 -rwxr-xr-x 1 tsang tsang 20626851 2011-06-06 11:37
 lilypond-2.14.0-1.linux-x86.sh
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh ./
 lilypond-2.14.0-1.linux-x86.sh

 lilypond installer for version 2.14.0 release 1,
 i686 build.
 For a list of options, abort (^C) then do:
 sh ./lilypond-2.14.0-1.linux-x86.sh --help


 You are about to install LilyPond in /home/tsang/lilypond
 A script in /home/tsang/bin will be created as a shortcut.

 Press ^C to abort, or Enter to proceed.

 Directory /home/tsang/lilypond already exists.
 Remove old lilypond installations before installing this one.
 Run /home/tsang/bin/uninstall-lilypond to uninstall previous version.

 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$
 uninstall-lilypond
 uninstall-lilypond: command not found
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ cd /home/tsang/bin
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ uninstall-lilypond
 uninstall-lilypond: command not found
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ dir
 abc2lylilypondlilypond-wrapper.guile   mup2ly
 convert-ly  lilypond-booklilypond-wrapper.python  musicxml2ly
 etf2lylilypond-invoke-editor  midi2ly
 uninstall-lilypond
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ run install-lilypond
 No command 'run' found, did you mean:
  Command 'crun' from package 'ceph' (universe)
  Command 'zrun' from package 'moreutils' (universe)
  Command 'runq' from package 'exim4-daemon-heavy' (main)
  Command 'runq' from package 'sendmail-bin' (universe)
  Command 'runq' from package 'exim4-daemon-light' (main)
  Command 'grun' from package 'grun' (universe)
  Command 'qrun' from package 'torque-client' (multiverse)
  Command 'qrun' from package 'torque-client-x11' (universe)
  Command 'lrun' from package 'lustre-utils' (universe)
  Command 'rn' from package 'trn' (multiverse)
  Command 'rn' from package 'trn4' (multiverse)
  Command 'rup' from package 'rstat-client' (universe)
  Command 'srun' from package 'slurm-llnl' (universe)
 run: command not found
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ uninstall-lilypond
 uninstall-lilypond: command not found
  end of message

 --
 *From:* David Santamauro david.santama...@gmail.com
 *To:* Federico Bruni fedel...@gmail.com
 *Cc:* MING TSANG tsan...@rogers.com; lilypond-user@gnu.org
 *Sent:* Fri, June 10, 2011 8:43:45 AM

 *Subject:* Re: V2.14.0 - midi volume  midi arpeggio


 Hi,

 On Fri, 10 Jun 2011 14:12:44 +0200
 Federico Bruni fedel...@gmail.com wrote:

  In the Permissions tab (or something like that) you must check
  Execution. Close and clic normally on the file.

 He is using sh file so even if it weren't executable, sh would
 execute it.

   tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh
   lilypond-2.14.0-linux-x86.sh
   sh: Can't open lilypond-2.14.0-linux-x86.sh

 Simply try,

 sh ./lilypond-2.14.0-linux-x86.sh

 ... with the './'. I think the problem is that '.' (the current working
 directory) is not in PATH -- my guess

 HTH

 David

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread MING TSANG
After several attempt, I successfully install lilypond v2.14.0_1 in 
/home/tsang/bin/lilypond   (v2.14.0_1)
lilypond v2.12.3 was still in /bin/lilypond

Now I have two version in ubuntu.  Right now frescobaldi is using the 
/bin/lilypond (version 2.12.3)

Question:  How can I configure frescobaldi to execute /home/tsang/bin/lilypond 
(2.14.0)?  On frescobaldi configure, I edit the path to point to 
/home/tsang/bin/, but when click on lilypond button on frescobaldi, it execute 
lilypond 2.12.3.
Here is the echo $PATH entry:
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games







From: Federico Bruni fedel...@gmail.com
To: MING TSANG tsan...@rogers.com
Cc: David Santamauro david.santama...@gmail.com; lilypond-user@gnu.org
Sent: Fri, June 10, 2011 11:09:51 AM
Subject: Re: V2.14.0 - midi volume  midi arpeggio

~/bin is not in your path, that's why uninstall-lilypond returns 'command not 
found'. (~ stands for user's home)
The absolute path should work:

/home/tsang/bin/uninstall-lilypond

You can understand what's going on using these two commands:

which lilypond
which -a lilypond
echo $PATH


But first have a look at this page (Ubuntu is based on Debian):
http://wiki.debian.org/EnvironmentVariables



2011/6/10 MING TSANG tsan...@rogers.com

After I use ./ on the file name It run successfully. I was asked 
uninstall-lilypond. So I did.  Run install again with ./.

This time the execution went OK. But when I do lilypond it says the lily pond 
is 
2.12.3. 

tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ lilypond
GNU LilyPond 2.12.3
Usage: lilypond [OPTION]... FILE...


message begin:

tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ dir
acl  DocumentsMusicTest.ly   Videos
bin  DownloadsPictures Test.ly~  yming.xhb
BOOKS  DropboxPublicTest.pdf  yming.xhb~
Calibre\ Library  examples.desktop  rosegardenTest.ps   your-love.ly
Desktop  lilypondTemplatesuntitled.xhb

tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ cd Downloads
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ dir
2011_summer_camp_headcount_May24.xlsx  libflashplayer.so
gsview-4.9   lilypond-2.13.61-1.linux-x86.sh
gsview-4.9.tar.gz   lilypond-2.14.0-1.linux-x86.sh
install_flash_player_10_linux.tar.gz   usr
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ ls -l 
lilypond-2.14.0-1.linux-x86.sh
-rwxr-xr-x 1 tsang tsang 20626851 2011-06-06 11:37 
lilypond-2.14.0-1.linux-x86.sh
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ sh 
./lilypond-2.14.0-1.linux-x86.sh

lilypond installer for version 2.14.0 release 1,
i686 build.
For a list of options, abort (^C) then do:
sh ./lilypond-2.14.0-1.linux-x86.sh --help


You are about to install LilyPond in /home/tsang/lilypond
A script in /home/tsang/bin will be created as a shortcut.

Press ^C to abort, or Enter to proceed.

Directory /home/tsang/lilypond already exists.
Remove old lilypond installations before installing this one.
Run /home/tsang/bin/uninstall-lilypond to uninstall previous version.

tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ 
uninstall-lilypond
uninstall-lilypond: command not found
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/Downloads$ cd /home/tsang/bin
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ uninstall-lilypond
uninstall-lilypond: command not found
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ dir
abc2lylilypondlilypond-wrapper.guile   mup2ly
convert-ly  lilypond-booklilypond-wrapper.python  musicxml2ly
etf2lylilypond-invoke-editor  midi2ly uninstall-lilypond
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ run install-lilypond
No command 'run' found, did you mean:
 Command 'crun' from package 'ceph' (universe)
 Command 'zrun' from package 'moreutils'  (universe)
 Command 'runq' from package 'exim4-daemon-heavy' (main)
 Command 'runq' from package 'sendmail-bin' (universe)
 Command 'runq' from package 'exim4-daemon-light' (main)
 Command 'grun' from package 'grun' (universe)
 Command 'qrun' from package 'torque-client' (multiverse)
 Command 'qrun' from package 'torque-client-x11' (universe)
 Command 'lrun' from package 'lustre-utils' (universe)
 Command 'rn' from package 'trn' (multiverse)
 Command 'rn' from package 'trn4' (multiverse)
 Command 'rup' from package 'rstat-client' (universe)
 Command 'srun' from package 'slurm-llnl' (universe)
run: command not found
tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~/bin$ uninstall-lilypond
uninstall-lilypond: command not found
 end of message





From: David Santamauro david.santama...@gmail.com
To: Federico Bruni fedel...@gmail.com
Cc: MING TSANG tsan...@rogers.com; lilypond-user@gnu.org
Sent: Fri, June 10, 2011 8:43:45 AM

Subject: Re: V2.14.0 - midi volume  midi arpeggio



Hi,

On Fri, 10

Re: V2.14.0 - midi volume midi arpeggio

2011-06-10 Thread Colin Campbell

On 11-06-10 03:23 PM, MING TSANG wrote:

After several attempt, I successfully install lilypond v2.14.0_1 in
/home/tsang/bin/lilypond   (v2.14.0_1)
lilypond v2.12.3 was still in /bin/lilypond

Now I have two version in ubuntu.  Right now frescobaldi is using the 
/bin/lilypond (version 2.12.3)


Question:  How can I configure frescobaldi to execute 
/home/tsang/bin/lilypond (2.14.0)?  On frescobaldi configure, I edit 
the path to point to /home/tsang/bin/, but when click on lilypond 
button on frescobaldi, it execute lilypond 2.12.3.

Here is the echo $PATH entry:
 tsang@tsang-HP-Pavilion-dv2000-EZ723UA-ABL:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games




Start Frescobaldi, then go to Edit then Preferences.  Next, select 
Lilypond Preferences, and you will see an area to the right which lists 
the Lilypond binaries known to Frescobaldi.  If your new 
/home/tsang/bin/lilypond isn't listed, you can use the Add button and 
then you can also make 2.14 the default version for Frescobaldi.  
Finanlly, while you are in the Preferences area, make sure you check the 
box which says Automatically choose Lilypond version from document, 
which allows you to use any version which is known to Frescobaldi.


Hope that helps!

Colin Campbell
Bug Squad

--
A chief event of life is the day in which we have encountered a mind
that startled us.
 -Ralph Waldo Emerson, writer and philosopher (1803-1882)

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


V2.14.0 - midi volume midi arpeggio

2011-06-09 Thread MING TSANG
Thank you for the release of 2.14.0.  I install this version on to my window 7 
pc and I am running jedit with lilypondtool.

I coded a song with S A T B (seperately) with piano (right + left hands).The 
songs has 96 bars (measures).  At bar 96 (last cord is an cross staff arpeggio.

QUESTIONS:
1.  the midi output does not produce arpeggio sound. How can I fixed it.
2.  I produce a midi output for each voice + piano.  I want to produce the 
voice 
sound track is louder than the piano.  I use the following
\include articulate.ly
and
\new voice {
\set Staff.midiMinimumVolume = #0.2
\set Staff.midiMaximumVolume = #0.6
}
but I cannot produce the effect I want.  How can I resolved this?

3.  How can I install lilypond 2.14.0 for Ubuntu 10.10 so that frescobaldi will 
use 2.14.0 instead of now using 2.12.3? I download v2.14.0 for linux and it is 
a 
.sh file. How can I use it for install?

Thank you for the help.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: V2.14.0 - midi volume midi arpeggio

2011-06-09 Thread Janek Warchoł
Hi Ming,

2011/6/9 MING TSANG tsan...@rogers.com:
 Thank you for the release of 2.14.0.  I install this version on to my window
 7 pc and I am running jedit with lilypondtool.

 I coded a song with S A T B (seperately) with piano (right + left hands).The
 songs has 96 bars (measures).  At bar 96 (last cord is an cross staff
 arpeggio.

 QUESTIONS:
 1.  the midi output does not produce arpeggio sound. How can I fixed it.
 2.  I produce a midi output for each voice + piano.  I want to produce the
 voice sound track is louder than the piano.  I use the following
     \include articulate.ly
     and
     \new voice {
         \set Staff.midiMinimumVolume = #0.2
         \set Staff.midiMaximumVolume = #0.6
     }
 but I cannot produce the effect I want.  How can I resolved this?

Did these two work in 2.12.3?

 3.  How can I install lilypond 2.14.0 for Ubuntu 10.10 so that frescobaldi
 will use 2.14.0 instead of now using 2.12.3? I download v2.14.0 for linux
 and it is a .sh file. How can I use it for install?

Open Terminal (shell, command line - the black window in which you can
type commands) and type

cd WRITE-HERE-THE-PATH-TO-THE-DIRECTORY-WHERE-DOWNLOADED-FILE-IS
(press return key)
sh lilypond-2.14.0-OS-TYPE.sh
(press return key)
and LilyPond should be installed.

Hope this helps,

Janek

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-09 Thread Federico Bruni
Il giorno gio, 09/06/2011 alle 11.40 -0700, MING TSANG ha scritto:
 3.  How can I install lilypond 2.14.0 for Ubuntu 10.10 so that
 frescobaldi will use 2.14.0 instead of now using 2.12.3? I download
 v2.14.0 for linux and it is a .sh file. How can I use it for install?

In Frescobaldi clic on Setting  Configure Frescobaldi, choose LilyPond
preferences.
You'll see the lilypond binaries recognized by Frescobaldi.
I think that Frescobaldi sees automatically any lilypond binary which is
in the $PATH.  Otherwise you have to add it manually.
If you install the .sh file, the binary will be in your $PATH for sure.

You can choose the default binary to use.
A pretty cool feature is the automatic selection of the right lilypond
binary (installed on your system) based on the \version statement in the
file.

HTH,
Federico


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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-09 Thread Janek Warchoł
2011/6/9 Federico Bruni fedel...@gmail.com:
 Il giorno gio, 09/06/2011 alle 11.40 -0700, MING TSANG ha scritto:
 3.  How can I install lilypond 2.14.0 for Ubuntu 10.10 so that
 frescobaldi will use 2.14.0 instead of now using 2.12.3? I download
 v2.14.0 for linux and it is a .sh file. How can I use it for install?

 In Frescobaldi clic on Setting  Configure Frescobaldi, choose LilyPond
 preferences.
 You'll see the lilypond binaries recognized by Frescobaldi.
 I think that Frescobaldi sees automatically any lilypond binary which is
 in the $PATH.

I think Ming's problem is about installing LilyPond on Ubuntu, not
connecting it with Frescobaldi.

Ming, open Terminal (shell, command line - the black window in which
you can type commands) and type

cd HERE-WRITE-THE-PATH-TO-THE-DIRECTORY-WHERE-DOWNLOADED-FILE-IS
(press return key)
sh lilypond-2.14.0-1.linux-x86.sh
(press return key)
and LilyPond should be installed. Then you can follow Frederico's advice.

2011/6/9 MING TSANG tsan...@rogers.com:
 1.  the midi output does not produce arpeggio sound. How can I fixed it.
 2.  I produce a midi output for each voice + piano.  I want to produce the
 voice sound track is louder than the piano.  I use the following
 \include articulate.ly
 and
 \new voice {
 \set Staff.midiMinimumVolume = #0.2
 \set Staff.midiMaximumVolume = #0.6
 }
 but I cannot produce the effect I want.  How can I resolved this?

Did these two work in 2.12.3?

Hope that helps,
Janek

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


Re: V2.14.0 - midi volume midi arpeggio

2011-06-09 Thread MING TSANG
Thank you for your reply.
I follow your suggestion steps, I got the following error. I am new to linux 
world (approx. one month).  I have a hard time copying out terminal message.

sh: can't open lilypond-2.14.0-1.linux-x86.sh


arpeggio chord midi sound was not produced on 2.12.3 either.





From: Janek Warchoł lemniskata.bernoull...@gmail.com
To: Federico Bruni fedel...@gmail.com
Cc: MING TSANG tsan...@rogers.com; lilypond-user-requ...@gnu.org; 
lilypond-user@gnu.org
Sent: Thu, June 9, 2011 4:03:30 PM
Subject: Re: V2.14.0 - midi volume  midi arpeggio

2011/6/9 Federico Bruni fedel...@gmail.com:
 Il giorno gio, 09/06/2011 alle 11.40 -0700, MING TSANG ha scritto:
 3.  How can I install lilypond 2.14.0 for Ubuntu 10.10 so that
 frescobaldi will use 2.14.0 instead of now using 2.12.3? I download
 v2.14.0 for linux and it is a .sh file. How can I use it for install?

 In Frescobaldi clic on Setting  Configure Frescobaldi, choose LilyPond
 preferences.
 You'll see the lilypond binaries recognized by Frescobaldi.
 I think that Frescobaldi sees automatically any lilypond binary which is
 in the $PATH.

I think Ming's problem is about installing LilyPond on Ubuntu, not
connecting it with Frescobaldi.

Ming, open Terminal (shell, command line - the black window in which
you can type commands) and type

cd HERE-WRITE-THE-PATH-TO-THE-DIRECTORY-WHERE-DOWNLOADED-FILE-IS
(press return key)
sh lilypond-2.14.0-1.linux-x86.sh
(press return key)
and LilyPond should be installed. Then you can follow Frederico's advice.

2011/6/9 MING TSANG tsan...@rogers.com:
 1.  the midi output does not produce arpeggio sound. How can I fixed it.
 2.  I produce a midi output for each voice + piano.  I want to produce the
 voice sound track is louder than the piano.  I use the following
 \include articulate.ly
 and
 \new voice {
 \set Staff.midiMinimumVolume = #0.2
 \set Staff.midiMaximumVolume = #0.6
 }
 but I cannot produce the effect I want.  How can I resolved this?

Did these two work in 2.12.3?

Hope that helps,
Janek
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Possible to adjust relative midi volume of a single voice?

2010-03-25 Thread Dmytro O. Redchuk
У ср, 2010-03-24 у 23:23 +0100, Carl Youngblood пише:
 I am writing a six-part male choir arrangement and would like to
 generate midi for each part that plays the part louder than the rest.
 Although I can use a sequencing program to adjust the volume of a
 given track, it would be nice to be able to generate voices with a
 specific volume or relative volume in my lilypond source. Does anyone
 know how to do this? Here is my source code:
[...]

   \midi {
 \context {
   \Staff
   \remove Staff_performer
 }
 \context {
   \Voice
   \consists Staff_performer
 }
I believe, now it should be possible to tune volumes with setting them
at Voice level, something like this:

tenoronenotes = \relative c {
  \set Voice.midiMinimumVolume = #0.2
  \set Voice.midiMaximumVolume = #0.7
  %
  % notes...
}

I am not sure though.)

ps. I can be wrong. Have you btw read Controlling MIDI dynamics in
Notation Reference?

-- 
  Dmytro O. Redchuk



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


Possible to adjust relative midi volume of a single voice?

2010-03-24 Thread Carl Youngblood
I am writing a six-part male choir arrangement and would like to
generate midi for each part that plays the part louder than the rest.
Although I can use a sequencing program to adjust the volume of a
given track, it would be nice to be able to generate voices with a
specific volume or relative volume in my lilypond source. Does anyone
know how to do this? Here is my source code:

global = {
  \key bes \major
  \time 4/4
}
tenoronenotes = \relative c {
  \clef G_8
  \partial 4
  r4 r1 r r2 r4 f4( bes4. c8 d c bes a) g2 g4 bes c4. d8 ees( d c bes) c1 c2.
}
tenoronewords = \lyricmode {
  Ah __ san- na, Ho- san- na, Ho __ san- na!
}
tenortwonotes = \relative c {
  \clef G_8
  \partial 4
  r4 r1 r r2 r4 f4( bes4. c8 d c bes a) g2 g4 bes c4. d8 ees( d c bes) bes1 a2.
}
tenortwowords = \lyricmode {
  Ah __ san- na, Ho- san- na, Ho __ san- na!
}
barionenotes = \relative c' {
  \clef G_8
  \partial 4
  r4 r2 r4 a c bes2. ~ bes1 bes2 f' f ees4 d ees2 ees4 ees f1 f2.
}
barionewords = \lyricmode {
  Ho- san- na, __ Ah Ho- san- na, Ho- san- na, Ho- san- na!
}
baritwonotes = \relative c {
  \clef G_8
  f4 bes f2. ~ f1 ~ f1 f2 bes bes bes4 bes
  aes2 aes4 aes f1 f2.
}
baritwowords = \lyricmode {
  Ho- san- na __ Ah Ho- san- na, Ho- san- na, Ho- san- na!
}
bassonenotes = \relative c {
  \clef bass
  \partial 4
  r4 r1 r2. d4 c bes f' f, bes2. bes4 ees,2 ees4 ees aes2 aes4 aes f1 f2.
}
bassonewords = \lyricmode {
  Ho- san- na to the Lord Ho- san- na, Ho- san- na, Ho- san- na!
}
basstwonotes = \relative c {
  \clef bass
  \partial 4
  r4 r1 r2. d4 c bes f' f, bes2. bes4 ees,2 ees4 ees aes2 aes4 aes f1 f2.
}
basstwowords = \lyricmode {
  Ho- san- na to the Lord Ho- san- na, Ho- san- na, Ho- san- na!
}

\score{
  \context ChoirStaff
  
\context Staff = tenorone 
  \context Voice = tenone {
\set midiInstrument = #Choir Aahs
 \global \tenoronenotes 
  }
  \lyricsto tenone \new Lyrics \tenoronewords

\context Staff = tenortwo 
  \context Voice = tentwo {
\set midiInstrument = #Choir Aahs
 \global \tenortwonotes 
  }
  \lyricsto tentwo \new Lyrics \tenortwowords

\context Staff = barione 
  \context Voice = barone {
\set midiInstrument = #Choir Aahs
 \global \barionenotes 
  }
  \lyricsto barone \new Lyrics \barionewords

\context Staff = baritwo 
  \context Voice = bartwo {
\set midiInstrument = #Choir Aahs
 \global \baritwonotes 
  }
  \lyricsto bartwo \new Lyrics \baritwowords

\context Staff = bassone 
  \context Voice = basone {
\set midiInstrument = #Choir Aahs
 \global \bassonenotes 
  }
  \lyricsto basone \new Lyrics \bassonewords

\context Staff = basstwo 
  \context Voice = bastwo {
\set midiInstrument = #Choir Aahs
 \global \basstwonotes 
  }
  \lyricsto bastwo \new Lyrics \basstwowords

  
  \midi {
\context {
  \Staff
  \remove Staff_performer
}
\context {
  \Voice
  \consists Staff_performer
}
\context {
  \Score
  tempoWholesPerMinute = #(ly:make-moment 72 2)
}
  }
}


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


midi volume range with Hairpin

2009-02-23 Thread 今井雄治
Hi, users.

I want to set volume range of midi,
so use midiMinimumVolume and midiMaximumVolume.
But I could not resolve some problems.

1st
work so good.
2nd
midi volume over the value of midiMaximumVolume.
3rd
set \f with transparent, midi volume is good, but Hairpin too short.
4th
midi volume and length of Hairpin both OK.
but some errors as following:
programming error: cannot align on self: empty element

Any idea for resolve this problem,
or remove hairpin effect for midi.

Thank you for reading.

\score {
  \relative {
% 1st
c 4 \p \ c c c | e e e e | g4 g g g \f
% 2nd
c,4 \p \ c c c | e e e e | g4 g g g \!
% 3rd
c,4 \p \ c c c | e e e e | g4 g g
\once \override DynamicText #'stencil = ##f g \f
% 4th
c,4 \p \ c c c | e e e e | g4 g g
\once \override DynamicText #'transparent = ##t g \f
  }
  \midi {
\context {
  \Score
  midiMinimumVolume = #0.1
  midiMaximumVolume = #0.2
}
  }
}


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


MIDI Volume

2005-02-23 Thread Gilles
Hello.

[P. Kroger's LilyPond-snapshot-2.4.2 for Debian]


In 6.1 Creating MIDI files, the doc mentions parameters for
altering the MIDI output:

  dynamicAbsoluteVolumeFunction
  instrumentEqualizer

and refers to the Voice page in lilypond-internals.
But that page does not contain explanations about such settings.

Either way, the doc should be corrected; but, if the feature
exists, could you please show an example of how to use it?


Thanks,
Gilles


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


Re: MIDI Volume

2005-02-23 Thread Mats Bengtsson
The documentation of the *_performers (corresponding to *_engravers
but for MIDI output instead of paper output) is fairly primitive
for the moment. The only documentation of these properties I could
find for the moment is at
http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond-internals/Dynamic_005fperformer.html
and I couldn't find any reference to this page.
The best documentation today is probably to look at the default value
for the property, which is the Scheme function called
default-dynamic-absolute-volume, which is defined in the file
.../scm/midi.scm.
However, from the mailing list archives of lilypond-devel, you can see
that the support for MIDI is being revised for the moment, so hopefully
the documentation will be updated correspondingly.
   /Mats
Gilles wrote:
Hello.
[P. Kroger's LilyPond-snapshot-2.4.2 for Debian]
In 6.1 Creating MIDI files, the doc mentions parameters for
altering the MIDI output:
  dynamicAbsoluteVolumeFunction
  instrumentEqualizer
and refers to the Voice page in lilypond-internals.
But that page does not contain explanations about such settings.
Either way, the doc should be corrected; but, if the feature
exists, could you please show an example of how to use it?
Thanks,
Gilles
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user