From: Michael Maurer <maurer.michael@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: ob-lilypond.el doesn't generate midi files
Date: Sun, 29 Aug 2021 13:16:44 +0200 [thread overview]
Message-ID: <CAH-0+bB=8ig58yCo+9jg7FGa28ZSxyidoit-1FuVNwUfqwyXgQ@mail.gmail.com> (raw)
In-Reply-To: <CAH-0+bCEpCTDmtaeoOBmVrgO5LcOGZrLxoAJcwCR3U3aioD+bw@mail.gmail.com>
On Sat, 28 Aug 2021 at 18:18, Michael Maurer <maurer.michael@gmail.com> wrote:
>
> On Sat, 28 Aug 2021 at 15:09, Jonathan Gregory <jgrg@autistici.org> wrote:
> >
> > Hi Michael
> >
> > On 28 Aug 2021, Michael Maurer wrote:
> >
> > > So out of curiosity I changed the entry for midi-player to
> > > random gibberish, and the same message pops up, "no midi file
> > > generated so can't play". Toggling arrange-mode has no effect. I
> > > can play the generated midi-file from the command line using vlc
> > > just fine.
> >
> > What variable are you using to change the midi command? It should
> > be org-babel-lilypond-commands. You may also have to restart emacs
> > after you've made the changes. BTW I'm using timidity and it works
> > fine.
> >
>
> I use M-x customize, search for lilypond and then get the config panel
> for org-babel-lilypond-commands.
> Btw I've set up timidity, checked if it works correctly and then
> change the value from vlc to timidity, but same result.
>
> Aaah wait, I'm currently looking at ob-lilypond.el, and it's looking
> for a file that ends with *.midi, but lilypond on Windows generates
> *.mid files.
> Ok I'll see if that's it after dinner.
Yep, that's it. Modified ob-lilypond.el and recompiled it. Timidity
works as helper, couldn't get vlc to work. Maybe the file ending
should be modifiable via org-babel-lilypond-commands as well, or make
ob-lilypond.el look for *.mid or *.midi. I'm pretty confident *.mid is
the default setting for lilypond on win, and not my doing.
next prev parent reply other threads:[~2021-08-29 11:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-26 10:37 ob-lilypond.el doesn't generate midi files Michael Maurer
2021-08-26 12:55 ` Jonathan Gregory
2021-08-26 15:55 ` Michael Maurer
2021-08-26 16:04 ` Michael Maurer
2021-08-26 19:50 ` Nick Dokos
2021-08-27 14:53 ` Michael Maurer
2021-08-27 19:54 ` Nick Dokos
2021-08-28 8:20 ` Maxim Nikulin
2021-08-28 10:27 ` Michael Maurer
2021-08-28 13:03 ` Jonathan Gregory
2021-08-28 16:18 ` Michael Maurer
2021-08-29 11:16 ` Michael Maurer [this message]
2021-08-30 17:02 ` Jonathan Gregory
2022-11-01 2:01 ` Ihor Radchenko
2022-11-01 11:22 ` Jonathan Gregory
2022-11-01 11:51 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH-0+bB=8ig58yCo+9jg7FGa28ZSxyidoit-1FuVNwUfqwyXgQ@mail.gmail.com' \
--to=maurer.michael@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.