From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yFFbK277KGHjwgAAgWs5BA (envelope-from ) for ; Fri, 27 Aug 2021 16:49:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yPYZJ277KGHmFwAA1q6Kng (envelope-from ) for ; Fri, 27 Aug 2021 14:49:18 +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 1502C73F4 for ; Fri, 27 Aug 2021 16:49:18 +0200 (CEST) Received: from localhost ([::1]:56622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJdAT-0004x9-22 for larch@yhetil.org; Fri, 27 Aug 2021 10:49:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJdA5-0004wm-5Z for emacs-orgmode@gnu.org; Fri, 27 Aug 2021 10:48:53 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:43843) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJdA3-0007Bb-Ms for emacs-orgmode@gnu.org; Fri, 27 Aug 2021 10:48:52 -0400 Received: by mail-pl1-x635.google.com with SMTP id n12so4067357plk.10 for ; Fri, 27 Aug 2021 07:48:50 -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=VTaPIMtB0raqNkv7jtn0w+fdOq8FuSQPGruPy8aExQQ=; b=PJSoxDwg1Lz5GUo9cbfW0332dxXXkzFhP9pCSd4jy6Q9BkSwc5LPYHmpUfLs9HpTlc Tbef/JdEtRJnWprUvC5vh7Uz08N4hI8THZQe9KgPjri9reP5rtT7PxUHtY/K8Z6M1dK4 jD+SA5VeBkQrCtHFVgLF5D5jgjRohSdvNYS+whF7B58aqdYEdvD/HYNpdxRHNIVhtXGp GIP7IPHFQ5/sonToRhAZvJYEjHOMEeIqtvEhhO+IoQN5cGRldULXPAchFOl9vkIL3QwO iazrC/4lHNrcus7MrYGRM8GdnE2usc+BrG4FoRNiYTUmGXzi0llNzbRUnYFg9U8OAlVe kpYw== 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=VTaPIMtB0raqNkv7jtn0w+fdOq8FuSQPGruPy8aExQQ=; b=H0RKJ4TcKnC1Kv6Awf/pdw9Qx9maPaWlxXX+aM43+Yry3r9pHm8Y4aFRwHa9DYOtyS p1+iLp8/X0t4U2kwavpG6IQw9RhtfEZBVYovUuY1xTHMVR88JbUAJg2vjJhLhGYpD8Gb 9J2IQvOV/e1areoLJNIIhVwcHyGrVcpEld0Nkw0dOtXDfX9TL7R1/UXBlMdeZa4AvMpr RGeu7v618tYbAX6wE2NMQ2XxH+4TKABULg+YzMzfdVQIBIC81rzNE5ZoXmGLj8or5TLN uiU48DmgSbyFBwVTRbxJLZ8RQrbTB8pJDZo1ooNWvetRZQUMZDncIMYBcWZ3ztvTTFxp nbGQ== X-Gm-Message-State: AOAM532F8Qey334vafe3vLwiKWUY3HFRNwx6DpAj5U5cHloxomB4nQgC ZAqTwBKboBIzdzDvaeI/g4MReSP3cDdOWQZWSxLwhuy5Wv0= X-Google-Smtp-Source: ABdhPJzLfKheKCgNJRjK+OhGgJJuw5gtvLJgqgGF+dFkPLx9WmLi+GnQhWIY9GZlp0gOWq7p23IldXhSWFyzpauqL50= X-Received: by 2002:a17:902:b407:b0:12d:96b3:cf46 with SMTP id x7-20020a170902b40700b0012d96b3cf46mr9050585plr.48.1630075729637; Fri, 27 Aug 2021 07:48:49 -0700 (PDT) MIME-Version: 1.0 References: <87zgt4tlcy.fsf@autistici.org> <87ilzsm1d9.fsf@alphaville.usersys.redhat.com> In-Reply-To: <87ilzsm1d9.fsf@alphaville.usersys.redhat.com> From: Michael Maurer Date: Fri, 27 Aug 2021 16:53:15 +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::635; envelope-from=maurer.michael@gmail.com; helo=mail-pl1-x635.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=1630075758; 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=VTaPIMtB0raqNkv7jtn0w+fdOq8FuSQPGruPy8aExQQ=; b=TPl9NAqnQkbKb5zaDuNzpwlpd2zffUaDByda96vbcOZMbwS/SPKoZnYXaefcnl9Z701ufI XEaU/7G4yQVfqFDtnfmGrFNES3jTaerOqW+5JIYYXGnv2flVAZ2rdSLaLky0B/Bl/xY+5Y 0svw0pzwYicDGHFw6FfngOpoYUxccz+SwhYW0mA9H7ZS1pOJVpD3XPnZApUXGMd7ACYDjQ JrBvOjlbNTPioiwwb4Jf3dlqxwqw9ca1odryof4zbO/Wrxfr6pE/Wrk+pdO2eMjFZsgsXI iskn13jI2qBJaELXo587rt3OdLBbFVgWpEQ0bjWOjvXmJrMtIE5KNKs2jCNqRA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630075758; a=rsa-sha256; cv=none; b=JFDvGvG9o6vWDAZvCrh1GWAWn+1uMBT5H9flCPZUI55rMiW6DuOO/SBhNWw4BubosZCi+l uLB693nSFfhSaeGflipuh5KVeCNhabhcSjUHKJddwec91QfQhgwT77hIVhJV2T8aQ7DgIA gPdymaJ9xCh71erPTSRMie+8BKBnXMy4FxHqjCCPkDrUpN5cIN4SdtnuVdDlAeZuYhuB/V KSvGr6XwpU/bjsALd5HfSr9WjhJ5rn6iCB9BCNVvxRIuuCgLpPEgRilPCsqw/D4uXizZyc gbRAQYxirlKTtDcJnVC9TYy2LHPwSxuQPJl8VBivAQu31Z9dn5i0xF+QSSGe0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=PJSoxDwg; 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=PJSoxDwg; 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: 1502C73F4 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZXVzzV8kkgHN On Thu, 26 Aug 2021 at 21:54, Nick Dokos wrote: > > 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? > Both pdf and midi files get generated. Btw, ob-lilypond does generate the midi file as well, it just doesn't want to play it/recognize it. Maybe it's related to what helper app I've configured to open it? (but why that doesn't make sense, it's vlc btw).