lilypond-user
[Top][All Lists]
Advanced

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

Changing and playing a different instrument in MIDI


From: Mojca Miklavec
Subject: Changing and playing a different instrument in MIDI
Date: Fri, 22 Jul 2016 08:51:52 +0200

Hello,

I don't have much experience with MIDI. I just tried all the media
players on OS X and realized than only QuickTime Player 7 had some
very very basic support for playing MIDI files (I cannot even make it
play loud enough, let alone do anything else with it). None of the
others I have installed worked (VLC, MPlayerX, QuickTime Player,
RealPlayer, ...)

So I went on and made a package for TiMidity++ and freepats.

The problem is: I'm still unable to figure out how to change the
instrument to anything but Piano.


Here's a minimal example:

\score {
  \new PianoStaff
  <<
    \new Voice = "melody" \fixed c'
    {
      \set midiInstrument = #"accordion"
      \time 3/4
      f4 g a
    }
  >>
  \midi{ \tempo 4 = 100 }
}

But this doesn't help me in any way.

Freepats contains
    Tone_000/021_Accordion.pat
so I tried to set the instrument to "021_Accordion", but that one
didn't help either.

It's not neccessarily a LilyPond's fault. It could be that I simply
misconfigured TiMidity++. I would be grateful for any hints about
where to look next.


Another slightly more straightforward question. TiMidity++ reports
    Track name: \new:melody
Is there any simple way to change this to something more meaningful?

Thank you,
    Mojca



reply via email to

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