From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SOahFlC7J2EPdwEAgWs5BA (envelope-from ) for ; Thu, 26 Aug 2021 18:03:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IG9KElC7J2FLUAAA1q6Kng (envelope-from ) for ; Thu, 26 Aug 2021 16:03:28 +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 CF8081BDA7 for ; Thu, 26 Aug 2021 18:03:27 +0200 (CEST) Received: from localhost ([::1]:39338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJHqg-000747-Qb for larch@yhetil.org; Thu, 26 Aug 2021 12:03:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJHnw-0006Ld-T3 for emacs-orgmode@gnu.org; Thu, 26 Aug 2021 12:00:38 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:36405) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJHnv-00075b-1e for emacs-orgmode@gnu.org; Thu, 26 Aug 2021 12:00:36 -0400 Received: by mail-pf1-x42b.google.com with SMTP id m26so3163292pff.3 for ; Thu, 26 Aug 2021 09:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=95NWhv7oXV7w4fIo6BmX7zz0LnQiP6Q8yzbPtmJXON8=; b=YW8uiUzheyV687TzgGOzDUp4F98q93IzKIJF8d/LTX2JLrxCSfJhQma09yTN0ntvaH wHTm+8rMtPk8PbVAt1xuC2X2u17SEXVsSw0zWqBcMmSIjOc40VedGFhL3Wp//LLlpJR1 idZ3ym5gPb9GxOKOXfef0e3Kr6Tk3izvjzkMhhlxTf6T6zzcYQ6Flz1qFKc2nta8e65U TVeAQaivGg0RrKuZwWxbtLXgBcqSx45BoiNVR5IlBEbdKzF9XitglGydaV6N8pE9MjEx ouAqToXMraWk2w1RGBEEwngGk8u+Ka8PzPS62dKJEbH5yr23Eo7g0+vxvEP3VxaZGVXk NhJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=95NWhv7oXV7w4fIo6BmX7zz0LnQiP6Q8yzbPtmJXON8=; b=sXT0Lq04YhTUd9FJIUMDfKGcDItkDd9/a9FjJBu+nAmmHnkl1sxrMvImewP33PEjEJ nI4uw3rwo258gccy/3FSHV6YA+cI6A3CHyjgc82O1auGBdBWA6nvibZwA5RerK3B3Hoc 2KGHztKwAq0pOuPwShKDx13Kpl/zmJBWo+hGw6sMkKD94li7P6ID1Glablr9OZFwt5FE rAebDxZtzUDtQ58UG8rBQ1m7zQdexJl6t7dHHykmX4NjxngoMiVZv64N4HHvfBRnDQ05 vNo+shVJRBI5jefbYBThiFj6asDTrJhADEV6gxXXeEVP/ac6kaSG19JzbMhfgkpCDHAf HGnA== X-Gm-Message-State: AOAM531+Qk2sYVYtDXFtQ3hxqKKQ7F3LwsDkxGyTNa0dzdXJzRy3AGnX DnbEVw2LJ5krArxM1VSiqXxNvtLMCCjZvUOiXVJ+uRJYpF8= X-Google-Smtp-Source: ABdhPJyNvSvgMJEPzUlvxiNvuefWmRzpKkcCZjwf100XmiKtf7P0Xau7l6lHztLmwGU6FapfKJZ8HTLeCiTN0xoLUvY= X-Received: by 2002:a62:d414:0:b0:3e0:fc4c:6e68 with SMTP id a20-20020a62d414000000b003e0fc4c6e68mr4400648pfh.77.1629993632580; Thu, 26 Aug 2021 09:00:32 -0700 (PDT) MIME-Version: 1.0 References: <87zgt4tlcy.fsf@autistici.org> In-Reply-To: <87zgt4tlcy.fsf@autistici.org> From: Michael Maurer Date: Thu, 26 Aug 2021 18:04:56 +0200 Message-ID: Subject: Re: ob-lilypond.el doesn't generate midi files To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=maurer.michael@gmail.com; helo=mail-pf1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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=1629993808; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=95NWhv7oXV7w4fIo6BmX7zz0LnQiP6Q8yzbPtmJXON8=; b=SJETw9hptTrCD3sNRdvyYfjocOcAPKuxJEQvTcJFdl37zkBnD1Fx7QjECSLbU63hjUYHNA RwVG/EpuGlpfoY79BQmKJZnZiakVdM8omvM3hftAnlTthFk+ezs6oCp7wo3jhCekDnr0fk XBHqKu4dD+XlQl5Q5n6UwYFAzGoivkHC4FVaPdtl/cav1RGnI3q4D9a+FIdfXGiLD9TQ85 /Pi2T2fldlPxqI3IeCzQtIF8XE32Cu7dk45vMkOSbrrUVPqWesAaXlxM8mkcKouM2H9NQr aXXeFyTWk1uNM3xTXNT0LcJ6swEzrQY8WC7aweC6xoOOd7l6MMAie93mgFnDuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629993808; a=rsa-sha256; cv=none; b=V0SaBQuthKpdA0FlNZnQkQb6IBtd8U1XAO+OEO1QdcLYeKbSPCUQQ5cRsFG019C7h/796i cgMjfpZnNJ9eliAQJ0zdzM/Q3MADOBVH22ZSOof2BfP7ivsSd9uUQr/4FATByPxazY4LqH /9/T6mH5LMwWZzRcVUtAHRx7rVxyv/E/INDUYKz+xlK9ZLq+QWiKv8Maes4bW4GVngrXmQ jKCQy9D0W6ywmQ2F/cK/Gp8apuXPzssdzygOpZ6yG2zSetjKEyddMpuP82yBYhjAF8khOc OKrKBGa/c5uckPaI8l9tTiCcrcdgSZrLHq42cxRy41HHB0q3PvE24BpVqpzSlg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=YW8uiUzh; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=YW8uiUzh; dmarc=pass (policy=none) header.from=gmail.com; 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: CF8081BDA7 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: sjeadBSX9UW9 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.