lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rest and bar measures problems with midi2ly


From: Rafa del Campo
Subject: Re: Rest and bar measures problems with midi2ly
Date: Mon, 28 Apr 2008 20:34:49 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Valentin Villenave <v.villenave <at> gmail.com> writes:

> Greetings,
> 
> this problems must come from the program you're using to record your
> music (tempo settings, for example?).
> If you can post a short example from the LilyPond code you get, we may
> be able to help you.
> 
> If you know Python programming language, you can also have at the file
> midi2ly.py, in your LilyPond installation folder.
> 
> Cheers,
> Valentin

Hi

A example of LilyPond code I get:

------------------
% Lily was here -- automatically converted by C:\Archivos de 
programa\LilyPond\usr\bin\midi2ly.py from output.mid
\version "2.7.18"


trackAchannelA =  {
  
  \tempo 4 = 60 
  
  \time 4/4 
  

  \key g \major
  
}

trackAchannelB = \relative c {
  s4*143/24 c'32*5 s32*11 c'4*31/24 s8. g'4*32/24 s4*16/24 |
  % 4
  g,4*7/24 s4*17/24 e4*7/24 s4*16/24 c16 
}

trackA = <<
  \context Voice = channelA \trackAchannelA
  \context Voice = channelB \trackAchannelB
>>


trackBchannelA =  {
  
  \tempo 4 = 60 
  
  \time 4/4 
  

  \key g \major
  
}

trackBchannelB = \relative c {
  s4*97/24 c4*5/24 s4*257/24 g'4*5/24 s8. c,4*88/24 
}

trackB = <<

  \clef bass
  
  \context Voice = channelA \trackBchannelA
  \context Voice = channelB \trackBchannelB
>>


\score {
  <<
    \context Staff=trackA \trackA
    \context Staff=trackB \trackB
  >>
}
----------------

 
When I open with Sibelius the file I have recorded in my program the rests and 
figure measures is ok. 


Only I have to modify midi2ly.py?? 



Thanks






reply via email to

[Prev in Thread] Current Thread [Next in Thread]