Re: a curious midi problem, or not ?

2018-07-24 Thread Torsten Hämmerle
David Wright wrote
> The midi file
> is attached and is ~6 seconds long. Debian linux-64 downloaded from
> the LP website.

Windows 10: ~6 seconds, too. No difference between your Debian file and my
Windows file (fc filecompare).

@Paul: Are there any differences between your MIDI file and David's
attachment?
What happens if you play your file through a run-of-the-mill midi file
player?

All the best,
Torsten




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: a curious midi problem, or not ?

2018-07-23 Thread B~M
thanks David, my machine is a MacBook pro laptop running lilypond version
2.18.2
Recently I installed Garage Band which perhaps was not a good idea. It
defaulted to be the app
that opened midi files, Ive since deleted it
I ran lilypond again today and generated the midi/mid. It seems fine now
(the midi) but my conversion
software might be the problem as I ultimately want an mp3 file

Not entirely sure what has happened, my apologies.

Paul


On Tue, Jul 24, 2018 at 1:21 PM, David Wright 
wrote:

> On Tue 24 Jul 2018 at 08:06:19 (+0930), B~M wrote:
> > Dear All, I have encountered an odd problem (I think) with midi
> > file generation. The attached file is just one bar of Viola music.
> > It generates a midi, but the actual viola playing is about 7 seconds, yet
> > the
> > midi continues for about 20 seconds ?
> > Have I missed a command in my *.ly file that terminates the midi at the
> end
> > of the score ?
> > This seems puzzling. For example why is the midi file "white space"
> > continuing for 20 seconds ? where did the 20 come from ?
>
> I downloaded your attachment and ran 2.18.2 on it. The midi file
> is attached and is ~6 seconds long. Debian linux-64 downloaded from
> the LP website.
>
> Which platform? Perhaps you could attach your midi (it's a quarter of
> the size of the LP source).
>
> Cheers,
> David.
>


MidiProblem.mid
Description: MIDI audio
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: a curious midi problem, or not ?

2018-07-23 Thread David Wright
On Tue 24 Jul 2018 at 08:06:19 (+0930), B~M wrote:
> Dear All, I have encountered an odd problem (I think) with midi
> file generation. The attached file is just one bar of Viola music.
> It generates a midi, but the actual viola playing is about 7 seconds, yet
> the
> midi continues for about 20 seconds ?
> Have I missed a command in my *.ly file that terminates the midi at the end
> of the score ?
> This seems puzzling. For example why is the midi file "white space"
> continuing for 20 seconds ? where did the 20 come from ?

I downloaded your attachment and ran 2.18.2 on it. The midi file
is attached and is ~6 seconds long. Debian linux-64 downloaded from
the LP website.

Which platform? Perhaps you could attach your midi (it's a quarter of
the size of the LP source).

Cheers,
David.


viola.mid
Description: MIDI audio
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


a curious midi problem, or not ?

2018-07-23 Thread B~M
Dear All, I have encountered an odd problem (I think) with midi
file generation. The attached file is just one bar of Viola music.
It generates a midi, but the actual viola playing is about 7 seconds, yet
the
midi continues for about 20 seconds ?
Have I missed a command in my *.ly file that terminates the midi at the end
of the score ?
This seems puzzling. For example why is the midi file "white space"
continuing for 20 seconds ? where did the 20 come from ?

Paul


MidiProblem.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


midi problem in 2.13.54

2011-03-16 Thread 胡海鹏 - Hu Haipeng
Hello,
  One regression from 2.13.53 to 54 is, the program change in midi doesn't 
effect the following note. Thus, when you set midi instrument before a note, 
this note remains sounding the previous instrument.
Regards
Haipeng


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


Re: midi problem in 2.13.54

2011-03-16 Thread Jan Nieuwenhuizen
胡海鹏 - Hu Haipeng schreef op do 17-03-2011 om 06:24 [+0800]:
 Hello,
   One regression from 2.13.53 to 54 is, the program change in midi
 doesn't effect the following note.

That's odd.  There have been fixes to the MIDI output after .54,
possibly this has been fixed.

  Thus, when you set midi instrument before a note, this note remains
 sounding the previous instrument.

Test file please?

Jan.

-- 
Jan Nieuwenhuizen jann...@gnu.org | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  


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


Re:Re: midi problem in 2.13.54

2011-03-16 Thread 胡海鹏 - Hu Haipeng
Thanks, I found the fix in the git dir, and will wait for the next version.

Haipeng

 

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


midi problem

2010-10-31 Thread 胡海鹏 - Hu Haipeng
Hello,
  I found an old problem which becomes more obvious in current version 2.13.36. 
If I enter a midi program change before a note, that note still uses previous 
sound. For example, if violin I part use string ensemble 1, and then switches 
to solo violin at the middle, it takes effect only at the second note after the 
midi instrument command. I can't change earlier, since in my orchestral midi 
part, I merge 5 strings into 3 staves, and when the vl1 is playing the last 
long note, the other string play staccatos. Is this a bug?
  Also, I strongly hope Lilypond can assign bank numbers. In standard gm 
soundfont, there are many special sets in other banks. The largest one is 
Crisis GM 3.01, which generates the best sounds. But I have to make many 
strange program changes and then use Synthfont to reassign individual change to 
another instrument from other bank. It takes me very long time especially there 
are many articulated effects.
Regards
haipeng


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


strange midi problem

2010-08-01 Thread Federico Bruni
Hi,

I have a strange issue (see attached minimal example).

I'm using a guitar tuning where 6th and 5th string are tuned 1 fret down
(DGDGBE).

The harmonic over 7th fret of 4th string (an a) is displayed correctly
(on 7th fret) only if I use a(n incorrect) lower pitch. Otherwise it's 1
pitch up... and I get a 19 on TabStaff.

The curious thing is that, if I use the lower pitch, it displays the
note as being on 4th string, while it would be actually on 6th string.

I hope the example will make it more clear (look at second voice).

Am I missing something?

Thanks,
Federico
\version 2.13


global = {
  \key g \major
  \time 4/4
  \set Staff.midiInstrument = #acoustic guitar (steel)
  %% tuning: DGDGBE
  \set TabStaff.stringTunings = #'(4 -1 -5 -10 -17 -22)
}

first =  \relative c'' {
  \global

  %% 1
  \repeat volta 2 {
  s16 g\3\harmonic b\2\harmonic e\harmonic ~
  \once \override HarmonicParenthesesItem #'stencil = ##f 
  e\harmonic g,\3\harmonic b\2\harmonic e\harmonic
  
  e\harmonic g,\3\harmonic b\2\harmonic e\harmonic ~
  \once \override HarmonicParenthesesItem #'stencil = ##f 
  e\harmonic g,\3\harmonic b\2\harmonic e\harmonic |
  }
  
  
}

second =  \relative c' {
  \global

  %% 1
  a'\4\harmonic4 % right pitch in midi but wrong fret in TabStaff
  a\4\harmonic
  a,\4\harmonic % right fret in TabStaff but wrong pitch in midi
  g\5\harmonic % here I should have put a g,
}



\score {
  \new StaffGroup 
\new Staff = guitar 
  \context Voice = first voice { \clef G_8 \voiceOne  \first }
  \context Voice = second voice { \clef G_8 \voiceTwo  \second }

\new TabStaff = tab 
  \context TabVoice = tab first voice { \clef moderntab \voiceOne \first }
  \context TabVoice = tab second voice { \clef moderntab \voiceTwo \second }

  

  \layout {
indent = #0
\context {
  \Staff
  \override StringNumber #'transparent = ##t
}
  }
  \midi {
\context {
  \Score tempoWholesPerMinute = #(ly:make-moment 80 4)
}
  }
}___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: midi problem on tied notes

2009-12-03 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Mittwoch, 2. Dezember 2009 15:49:42 schrieb hhpmu...@163.com:
 Hello,
   I have tried 2.13.8 for many times, and constantly get midi problem on
  tied notes. The output plays tied notes repeatly. Could anyone fix this
  problem? 

Sorry, this is a bug that I introduced trying to fix unfinished ties in midi... 
I'm not yet sure about the solution, but at least I know where the problem 
lies.

Cheers,
Reinhold
- -- 
- --
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial  Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFLF8N7TqjEwhXvPN0RAnUFAKC2qOk3Xy2u+SEwkAt0b2hsoMcOsQCfSpb7
DhVU/OaT5fZOLCKVYRZTQek=
=7318
-END PGP SIGNATURE-


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


midi problem on tied notes

2009-12-02 Thread hhpmusic
Hello,
  I have tried 2.13.8 for many times, and constantly get midi problem on tied 
notes. The output plays tied notes repeatly. Could anyone fix this problem?
Regards
Haipeng


\version 2.13.6

#(ly:set-option 'point-and-click #f)

\header {
  tagline = ##f
  title = \markup { \bold Prelude }
  subtitle = \markup { \italic \fontsize #-1 { For Two Broken Souls } }
  composer = \markup { \bold { Hu Haipeng } }
  date = March 20, 2004
  copyright = 2004, All Rights Reserved
}

#(define-markup-list-command (paragraph layout props args) (markup-list?)
  (let ((indent (chain-assoc-get 'par-indent props 2)))
  (interpret-markup-list layout props
  (make-justified-lines-markup-list (cons (make-hspace-markup indent)
  args)

\markuplines {
  \paragraph {
This piece was written during March 19-20, 2004, dedicated to my ex-girlfriend. It''s a tragical lovesong, after 5 years' stop of composition.
  }
  \override-lines #'(par-indent . 4) \paragraph {
About the recording: This was made on April 17 of the same year, with a storm recorded later (in the evening of 29) preceded by.
  }
}

  upper = \relative c'' {
\clef treble \key b \minor \time 3/4
\tempo \markup { \bold \italic Larghetta elegiaco }
\times 2/3 { b8\( e fis } b,4. b8 |
\times 2/3 { a8 b a } fis2\) |

  { e8\(\arpeggio b' a fis e\arpeggio d |
fis2.\)\arpeggio } \\
  { b, g2\arpeggio s4 |
r8 d(\p\ b a fis_M'S a)\! }
 |
  %5
\times 2/3 { b'8\( e fis } b,4. b8 |
\times 2/3 { a8 b a } fis2\) |

  { e8\(\arpeggio a fis d e8.\arpeggio b16 |
b2.\)\arpeggio } \\
  { b2\arpeggio a4\arpeggio |
fis2.\arpeggio }
 |
  %9

  { \times 2/3 { fis8\(\arpeggio a b } d4. d8 |
\times 2/3 { e8 d e } fis2\)\arpeggio |
\times 2/3 { fis,8\(\arpeggio a b } d4. d8 |
\times 2/3 { e8 b' a } fis2\)\arpeggio } \\
  { fis,2\arpeggio b fis4 |
cis g4 d fis,2\arpeggio |
fis,2\arpeggio b fis4 |
cis g4 d fis,2\arpeggio } \\
  { s2. | \voiceFour r2 a'' fis a,4\pp |
s2. e4\rest e8\rest e16\rest e32\rest a fis a,32\p a fis a,4 }
 |
  %13
\times 2/3 { fis, d a8\(\arpeggio a a, b b, } d b fis d4.\arpeggio d d,8 |
\times 2/3 { e b g e8\arpeggio d d, e e, } fis cis ais fis4.\arpeggio fis fis,8 |
\times 2/3 { g e b g8\arpeggio fis fis, g g, } a fis d a4\arpeggio ~ \times 2/3 { a fis d a8 fis fis,-- a a,-- } |
  %16
b fis dis b a2-\)^\markup { \bold \italic Con fuoco } \times 2/3 { a a,8\( fis fis, a a, } |
b fis dis b a2-\) \times 2/3 { a a,8\( fis fis, a a, } |
b fis dis b a4- ~ \times 2/3 { b fis dis b a8\)^\markup { \bold \italic Molto rit. } e, e,( fis fis, } \times 2/3 { a a, b b, d d,) } |
  %19
\times 2/3 { e b g e\(^\markup { \column { \bold \italic Appassionato \bold \italic A tempo } } fis fis, d d, } b fis d b4. b b,8 |
\times 2/3 { a e a,8 b b, a a, } fis dis b a fis2\) |
e b e,8\( b' b, a a, fis fis, e cis a g e d d, |
fis d a fis2.\) |
\times 2/3 { b fis b,8\( e e, fis fis, } b, fis dis b a4. b b,8 |
\times 2/3 { a e a,8 b b, a a, } fis dis c a fis2\) |
  %25
\times 2/3 { e b e,8\( d d, e e, } fis cis a fis4 ~ \times 2/3 { fis cis a fis8 e e, fis fis, } |
\times 2/3 { a e cis a^\markup { \bold \italic Accel. } fis fis, a a, } b fis d b4 ~ \times 2/3 { b fis d b8 a a, b b, } |
\times 2/3 { d b fis d b b, d d, } e b g e4 ~ \times 2/3 { e b g e8 d d, e e, } |
\times 2/3 { fis cis a fis e e, fis fis, } a fis d a4^\markup { \bold \italic Rit. } ~ \times 2/3 { a fis d a8 fis fis,- a a,- } |
b gis eis d b16-^\markup { \bold \italic Con forza, patetico } b gis eis d b- b gis eis d b- b gis eis d b- b gis eis d b- b gis eis d b- b gis eis d b- b gis eis d b- b gis eis d b- b gis eis d b- b gis eis d b- b gis eis d b- |
b gis eis d b8-.-\) r8 r4 r4 |
  %31
  \time 4/4
r2^\markup { \bold \italic Languido } r8 b,,,\(\mp d e |
fis4. a8 fis4. e8 |
cis4--\)^\markup { \bold \italic Rit. } r \clef bass a fis cis r\fermata |
  %34
  \time 3/4
b fis d^\markup { \bold \italic Malinconia } r r |

  { \times 2/3 { b8\( e fis } b,4. b8 |
\times 2/3 { a fis a } b2\) |
\times 2/3 { b8\( e fis } b,4. b8 |
\times 2/3 { a8 fis a } b2\) |
\times 2/3 { a8\( fis a } b2\) |
\times 2/3 { a8\( fis a } b2\) |
a2.-\(^\markup { \bold \italic Flebile } | fis |
b\)^\markup { \bold \italic Pesante } | b | b ~ | b\verylongfermata } \\
  { g e4 fis d2 |
e cis4 fis d2 |
gis e4 fis d2 |
e c4 fis d2 |
e c4 fis d2 |
e c4 fis d2 |
e c2.- ~ | e c
fis d2. | fis d b | fis d b ~ | fis d b\verylongfermata }
 \bar |.
  }

  lower = \relative c' {
\clef bass \key b \minor \time 3/4

  { fis4 d fis |
e dis b2 } \\
  { d8( cis b2) |
cis8( b a4) b, }
|
e, b' e2\arpeggio a cis g'4\arpeggio |
d, a' d2\arpeggio r4

Re: Midi problem

2008-02-28 Thread Mats Bengtsson



David Fedoruk wrote:

MIDI doesn't indicate exactly what the instruments will sound like.
The exact sounds depend on the General MIDI instruments the person
playing the file back has available on their computer.
  

This is not the full story. You are right that different MIDI instruments,
soundcards and MIDI software use different so-called instrument patches,
which determine what each instrument will sound like. However, there are
possibilities to specify such things as pedaling in a MIDI file and even 
though

the MIDI standard isn't really any standard, i guess that most MIDI players
will understand them. The MIDI output in LilyPond is fairly primitive and
pedaling is just one of many aspects that are not implemented in the MIDI
output from LilyPond.

/Mats

The way the playback sounds to you will not be the way it sounds when
it is played back on other computers. MIDI is not very exact in that
respect.

Cheers
David

  

Hi,
  I know the Dynamic context created in piano template allows Midi output to
play piano pedaling. But when I write piano piece, the Midi can't reflect my
pedaling, and the sound is still dry. This is not because of my player,
because when I play some Midi files created by other softwares such as
Finale, the pedaling is here. Why? How to make my Midi file really have
pedaling output?
Haipeng



 已 经 超 过 100 万 台 电 脑 安 装 了 网 易 有 道 免 费 英 汉 词 典 , 点 击 此 处 可 以 快 速 下 载
___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user







  



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


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
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


Midi problem

2008-02-27 Thread hhpmusic
Hi,
  I know the Dynamic context created in piano template allows Midi output to 
play piano pedaling. But when I write piano piece, the Midi can't reflect my 
pedaling, and the sound is still dry. This is not because of my player, because 
when I play some Midi files created by other softwares such as Finale, the 
pedaling is here. Why? How to make my Midi file really have pedaling output?
Haipeng
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Midi problem

2008-02-27 Thread David Fedoruk
MIDI doesn't indicate exactly what the instruments will sound like.
The exact sounds depend on the General MIDI instruments the person
playing the file back has available on their computer.

The way the playback sounds to you will not be the way it sounds when
it is played back on other computers. MIDI is not very exact in that
respect.

Cheers
David

 Hi,
   I know the Dynamic context created in piano template allows Midi output to
 play piano pedaling. But when I write piano piece, the Midi can't reflect my
 pedaling, and the sound is still dry. This is not because of my player,
 because when I play some Midi files created by other softwares such as
 Finale, the pedaling is here. Why? How to make my Midi file really have
 pedaling output?
 Haipeng


 
  已 经 超 过 100 万 台 电 脑 安 装 了 网 易 有 道 免 费 英 汉 词 典 , 点 击 此 处 可 以 快 速 下 载
 ___
  lilypond-user mailing list
  lilypond-user@gnu.org
  http://lists.gnu.org/mailman/listinfo/lilypond-user





-- 
David Fedoruk
B.Mus. UBC,1986
Certificate in Internet Systems Administration, UBC, 2003


http://recordjackethistorian.wordpress.com
Music is enough for one's life time, but one life time is not enough
for music Sergei Rachmaninov
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Midi problem

2006-12-02 Thread Lasse Rempe
Erik Sandberg mandolaerik at gmail.com writes:

 
 On Tuesday 21 November 2006 23:37, Lasse Rempe wrote:
  First of all --- thanks for the help on the hairpintobarline question; my
  reply on that message doesn't seem to have gone through. I thought I had
  installed the most current LilyPond version, but clearly not :doh:.
 
  I've now installed LilyPond 2.10, and I seem to be getting problems with
  the \tempo command where I wasn't getting these before. Is this a bug, am I
  doing something wrong or was the correct handling of this changed? If the
  latter, what is the new method? Sorry if this is a known issue.
 
 The syntax has changed. You can try writing \tempo in a 2.8 and use 
 convert-ly 
 to see the new syntax, or alternatively you can read the Fine Manual.
 
 hth,

convert-ly doesn't seem to work in the current version of lilypond, and the
manual doesn't give the correct syntax either, last time I checked (at least in
the relevant section on midi files, where the tempo command was previously
explained).

I have found what looks like a solution at 

http://www.mail-archive.com/lilypond-user@gnu.org/msg25609.html ,

however, though I haven't tried it out yet. 

LR



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


Re: Midi problem

2006-12-02 Thread Graham Percival

Lasse Rempe wrote:

convert-ly doesn't seem to work in the current version of lilypond, and the
manual doesn't give the correct syntax either, last time I checked (at least in
the relevant section on midi files, where the tempo command was previously
explained).


This was fixed last night.

- Graham


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


Re: Midi problem

2006-11-22 Thread Erik Sandberg
On Tuesday 21 November 2006 23:37, Lasse Rempe wrote:
 First of all --- thanks for the help on the hairpintobarline question; my
 reply on that message doesn't seem to have gone through. I thought I had
 installed the most current LilyPond version, but clearly not :doh:.

 I've now installed LilyPond 2.10, and I seem to be getting problems with
 the \tempo command where I wasn't getting these before. Is this a bug, am I
 doing something wrong or was the correct handling of this changed? If the
 latter, what is the new method? Sorry if this is a known issue.

The syntax has changed. You can try writing \tempo in a 2.8 and use convert-ly 
to see the new syntax, or alternatively you can read the Fine Manual.

hth,
-- 
Erik


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


Midi problem

2006-11-21 Thread Lasse Rempe
First of all --- thanks for the help on the hairpintobarline question; my reply
on that message doesn't seem to have gone through. I thought I had installed the
most current LilyPond version, but clearly not :doh:.

I've now installed LilyPond 2.10, and I seem to be getting problems with the
\tempo command where I wasn't getting these before. Is this a bug, am I doing
something wrong or was the correct handling of this changed? If the latter, what
is the new method? Sorry if this is a known issue.



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


newbie midi problem = dumb newbie

2004-03-22 Thread Benjamin Karl Bergen

Just wanted to post that my problem was related to stupid user
error.  I didn't have enough channels specified for the number
of staffs in my lily file.

- Ben

-- 
   Benjamin Karl Bergen
   Wissenschaftlicher Mitarbeiter

   Friedrich-Alexander Universität
   Lehrstuhl für Informatik 10 (Systemsimulation)
   Cauerstraße 6, Zimmer 0.142
   D-91058 Erlangen

   http://www10.informatik.uni-erlangen.de/~ben

   +49 911 7873389  (home)
   +49 9131 85 28677 (office)

   [EMAIL PROTECTED]


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user