From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iOdlDDvxJ2EiXwAAgWs5BA (envelope-from ) for ; Thu, 26 Aug 2021 21:53:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aDDTBzvxJ2HcRAAAB5/wlQ (envelope-from ) for ; Thu, 26 Aug 2021 19:53:31 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 94CCB25832 for ; Thu, 26 Aug 2021 21:53:30 +0200 (CEST) Received: from localhost ([::1]:54176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJLRI-0008Q5-Up for larch@yhetil.org; Thu, 26 Aug 2021 15:53:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJLOr-0005rY-Cv for emacs-orgmode@gnu.org; Thu, 26 Aug 2021 15:50:57 -0400 Received: from ciao.gmane.io ([116.202.254.214]:35370) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJLOp-0003EW-TM for emacs-orgmode@gnu.org; Thu, 26 Aug 2021 15:50:57 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mJLOl-0000VG-Lj for emacs-orgmode@gnu.org; Thu, 26 Aug 2021 21:50:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Nick Dokos Subject: Re: ob-lilypond.el doesn't generate midi files Date: Thu, 26 Aug 2021 15:50:42 -0400 Message-ID: <87ilzsm1d9.fsf@alphaville.usersys.redhat.com> References: <87zgt4tlcy.fsf@autistici.org> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:Vcs02wYQ3zQ5rLtgueKW+CGbljc= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630007610; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=UXuFKrWwIHSs27tsNzUBMfIWjY/wd6c08lkN4FUZRZ4=; b=DNpfxonNrTHYZRxAixG0SVg8qTmQzjH6b25mBaednYMBCslME4IlAKYoP13HmpCtIuxQAr AZTQJEjJM4EUiTlllOCvxCJis7Xae0mxfqNmJod041+RGNjTBMuqCnepc+CyIHTRO8zcX5 unfgfvV6bY1b8SOjChvxN/v3Rul3K8W2TbPGHUWIAUfEaNO4ruq3MiZ2V0RqtDK5ERk/KT h0ccsyigqM6khgIcrcPNEp6pmn41nghDXMniW2SI96i0nAVq2sZG7vq4NsQkXAjFp2I93I Qcw1ShpNOC/sp3q1o5tipEvfl1WJYOya84nJUdQSpZQEuQqGEWTJVpejJ7yurQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630007610; a=rsa-sha256; cv=none; b=cLzXpPcLxBzEss8TqgBFlwJDvCTby8VViIdSn7SsMpFx5JoJJrwdM4ZOkOudaZgo41p6jY qL40xlRuQIw+F77FP7oMOUm0giGfyW+7pZHGBwlhr/4Ex6XdRfGi1qvvRvOJzTPIf99Vhq 4ktw6DX564NecRhRNUz4BA8/XI5fZRJHOFZYNUxx3v9vpU7HZQlf3AvOk1RQkbRSbYRf69 zEkCB4Dv/HH2jKwiqL8crt6CrFYMf7PPDUdgyZPio1BBnQST7PbOIXs9YOJVMq6IxYR9Tw t5GpDEvArNO5o182Mkj/THy091LT3YyW2lxGYecy91FFsOo0TIv9JSFY3WsWfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 94CCB25832 X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: LcJRLQA+CqPx Michael Maurer writes: > On Thu, 26 Aug 2021 at 15:03, Jonathan Gregory 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. > What happens if you save the contents of the source block into a file and run lilypond on the file from the command line? -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler