[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Guitar slides in lilypond
From:       Olivier Biot <olivier.biot () gmail ! com>
Date:       2012-12-30 12:20:02
Message-ID: CAHz1FzKyGM+LPB+Mv33=no_fkcn8ggavXXN6_apNiwsvLBGM0g () mail ! gmail ! com
[Download RAW message or body]

Hi Yevgeny,

Right now LilyPond does not (yet?) support pitch bends in the MIDI output.

As a work-around you could import the MIDI file created with LilyPond in
another tool, e.g. TuxGuitar or MidiEditor) and add the pitch bends in a
separate channel (MIDI doesn't apparently like playing notes simultaneously
with different pitch bends).

Best regards,

Olivier


On Sat, Dec 29, 2012 at 5:41 PM, Yevgeny Lezhnin <z_lezhnin@mail2000.ru>wrote:

>  Thank you. Is there any way to get something more soft, like the output
> sound of tuxguitar? Here is 2 midi files for compare in attachment.
>
>
> On 29.12.2012 22:58, Olivier Biot wrote:
>
>  On Sat, Dec 29, 2012 at 4:31 PM, Yevgeny Lezhnin <z_lezhnin@mail2000.ru>wrote:
>
>> Hi, then I trying to add slides, there is no slide's sound in midi output
>> (on place of glissando mark). There was note in documentation, that
>> lilypond support guitar slides. Does lilypond support slides for midi? Or
>> will it be support of other effects for guitar in lilypond?
>>
>
>  Apparently you have to write out the glissando, see.
>
>  Here's an implementation with tags and this snippet applied to your
> score:
> \version "2.17.9"
> \language "deutsch"
>
> musicForBass = \relative c, {
>   \tempo 4 = 90
>   \time 2/4
>   c8 c c8. g16 c g c8 c4~ c16 r ais8. f'8.
>   \time 4/4
>   c8 c c8. g16 c g c8 c8. g16
>
>   \times 2/3 {c c c}
>   \tag #'print { c4\glissando <f\3>8 }
>   \tag #'midi { c8. ( \times 3/7 { c16[ cis d dis e eis f] } f16 ) }
>   ais,8. f'8. r8
>   % \times 2/3 {c16[ c c]} c8. ( \times 3/7 { c16[ cis d dis e eis f] }
> f16 ) r8 \bar "||"
> }
>
> \header {
>   title = "Circle of hands"
>   composer = "Uriah heap"
> }
>
> bassStaff =
>   \new Staff {
>     \set Staff.instrumentName = #"Bas Guitar"
>     \set Staff.midiInstrument = #"electric bass (finger)"
>
>     \new Voice {
>       \clef "bass_8"
>       \musicForBass
>     }
>   }
>
> \score {
>   \new StaffGroup <<
>     \keepWithTag #'print \bassStaff
>     \new TabStaff {
>       \set TabStaff.stringTunings = #bass-tuning
>       \keepWithTag #'print \musicForBass
>     }
>   >>
>   \layout{}
> }
>
> \score {
>   \unfoldRepeats { \keepWithTag #'midi \bassStaff }
>   \midi{}
> }
>
>
>  Best regards,
>
>
>  Olivier
>
>
>

[Attachment #3 (text/html)]

<div dir="ltr"><div><div><div><div>Hi Yevgeny,<br><br></div>Right now LilyPond does \
not (yet?) support pitch bends in the MIDI output.<br><br></div>As a work-around you \
could import the MIDI file created with LilyPond in another tool, e.g. TuxGuitar or \
MidiEditor) and add the pitch bends in a separate channel (MIDI doesn&#39;t \
apparently like playing notes simultaneously with different pitch bends).<br>

<br></div>Best regards,<br><br></div>Olivier<br></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 29, 2012 at 5:41 PM, \
Yevgeny Lezhnin <span dir="ltr">&lt;<a href="mailto:z_lezhnin@mail2000.ru" \
target="_blank">z_lezhnin@mail2000.ru</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Thank you. Is there any way to get
      something more soft, like the output sound of tuxguitar? Here is 2
      midi files for compare in attachment.<div><div class="h5"><br>
      <br>
      On 29.12.2012 22:58, Olivier Biot wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Sat, Dec 29, 2012 at 4:31 PM,
            Yevgeny Lezhnin <span dir="ltr">&lt;<a \
href="mailto:z_lezhnin@mail2000.ru" \
target="_blank">z_lezhnin@mail2000.ru</a>&gt;</span>  wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, then I trying to  \
add slides, there is no slide&#39;s sound in midi output (on  place of glissando \
mark). There was note in documentation,  that lilypond support guitar slides. Does \
lilypond support  slides for midi? Or will it be support of other effects
              for guitar in lilypond?<br>
            </blockquote>
          </div>
          <br>
        </div>
        <div class="gmail_extra">Apparently you have to write out the
          glissando, see.<br>
          <br>
        </div>
        <div class="gmail_extra">Here&#39;s an implementation with tags and
          this snippet applied to your score:<br>
          \version &quot;2.17.9&quot;<br>
          \language &quot;deutsch&quot;<br>
          <br>
          musicForBass = \relative c, {<br>
          š \tempo 4 = 90<br>
          š \time 2/4<br>
          š c8 c c8. g16 c g c8 c4~ c16 r ais8. f&#39;8.<br>
          š \time 4/4<br>
          š c8 c c8. g16 c g c8 c8. g16 <br>
          š <br>
          š \times 2/3 {c c c}<br>
          š \tag #&#39;print { c4\glissando &lt;f\3&gt;8 }<br>
          š \tag #&#39;midi { c8. ( \times 3/7 { c16[ cis d dis e eis f] }
          f16 ) }<br>
          š ais,8. f&#39;8. r8<br>
          š % \times 2/3 {c16[ c c]} c8. ( \times 3/7 { c16[ cis d dis e
          eis f] } f16 ) r8 \bar &quot;||&quot;<br>
          }<br>
          <br>
          \header {<br>
          š title = &quot;Circle of hands&quot;<br>
          š composer = &quot;Uriah heap&quot;<br>
          }<br>
          <br>
          bassStaff = <br>
          š \new Staff {<br>
          ššš \set Staff.instrumentName = #&quot;Bas Guitar&quot;<br>
          ššš \set Staff.midiInstrument = #&quot;electric bass (finger)&quot;<br>
          ššš <br>
          ššš \new Voice {<br>
          ššššš \clef &quot;bass_8&quot;<br>
          ššššš \musicForBass<br>
          ššš }<br>
          š }<br>
          ššš <br>
          \score {<br>
          š \new StaffGroup &lt;&lt;<br>
          ššš \keepWithTag #&#39;print \bassStaff<br>
          ššš \new TabStaff {<br>
          ššššš \set TabStaff.stringTunings = #bass-tuning<br>
          ššššš \keepWithTag #&#39;print \musicForBass<br>
          ššš }<br>
          š &gt;&gt;<br>
          š \layout{}<br>
          }<br>
          <br>
          \score {<br>
          š \unfoldRepeats { \keepWithTag #&#39;midi \bassStaff }<br>
          š \midi{}<br>
          }<br>
          <br>
          <p style="margin:0px;text-indent:0px">
            <br>
          </p>
          <p style="margin:0px;text-indent:0px">Best regards,</p>
          <p style="margin:0px;text-indent:0px"><br>
          </p>
          <p style="margin:0px;text-indent:0px">Olivier<br>
          </p>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic