emacs-orgmode
[Top][All Lists]
Advanced

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

Re: ob-lilypond.el doesn't generate midi files


From: Michael Maurer
Subject: Re: ob-lilypond.el doesn't generate midi files
Date: Thu, 26 Aug 2021 18:04:56 +0200

On Thu, 26 Aug 2021 at 15:03, Jonathan Gregory <jgrg@autistici.org> wrote:
>
> Hi
>
> On 26 Aug 2021, Michael Maurer wrote:
>
> > I've installed lilypond and customized ob-lilypond to use the
> > appropriate helper programs, but although it generates & shows
> > pdfs just fine, generating a midi file it does not. I execute
> > tangle on the codeblock, and all I get is "No midi file
> > generated so can't play!". org-version 9.4.6 emacs 27.2 Win 10
>
> Can you also send a MWE of the code you're using to generate the
> score?
>

I used a test file I copied over from Frescobaldi

#+begin_src lilypond :file test.pdf
\version "2.18.2"
\score {
\drums {
  \time 2/4
  sn16 sn8 sn16 sn8 sn8:32 ~
  sn8 sn8 sn4:32 ~
  sn4 sn8 sn16 sn16
  sn4 r4
}
  \layout { }
  \midi { }
}
#+end_src

In Frescobaldi this gets me both midi-output and pdf. In Emacs with
org it does say "Midi output to test.midi", but then there's that "no
midi file generated" message.



reply via email to

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