[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chordmode changes midi instrument
From: |
Manuel |
Subject: |
Re: chordmode changes midi instrument |
Date: |
Mon, 18 Sep 2006 06:45:55 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Mats Bengtsson <mats.bengtsson <at> ee.kth.se> writes:
>
> Could you please send a small example to the mailing list that
> illustrates what you
> tried to do.
>
> /Mats
>
Sure. Here are the first four measures of a song I'm trying to tab. Notice
that the first 2 measures use a single note (a) as the chord. The midi file
plays it as violin.
In the 3rd and 4th measure, I'm using chords a and e and the midi file plays
these with the piano instrument instead of the violin.
---------------------------START----------------------------------------------
\header{
title = "I Want You"
composer = "Elvis Costello"
}
\version "2.7.39"
\parallelMusic #'(harmonyIntro melodyIntro textIntro) {
\transpose c c, { { a1 a }}|
\relative c'' { cis4. a8 d4. cis8 b8 a2 r4
a8 }|
\lyricmode { Oh my ba- by ba- by
I }|
\transpose c c, {\chordmode { a1
e }}|
\relative c'' { a8 b8 cis8 d8 b'4. cis8 b4. s4. s16
cis16( b16 a16) }|
\lyricmode { love you more than I can tell
I }|
}
\score {
{
<<
\new ChordNames {
\harmonyIntro
\set Staff.midiInstrument = "violin"
}
\new Staff <<
\new Voice = "melodyIntro" {
\set Staff.midiInstrument = "violin"
\melodyIntro
}
\new Lyrics \lyricsto "melodyIntro" \textIntro
>>
>>
}
\layout { }
\midi { \tempo 4=80 }
}
----------------------------------END----------------------------------------
-Manuel