From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kHBZHvJrK2EDdgAAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 13:13:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6GwOGvJrK2HxKgAAB5/wlQ (envelope-from ) for ; Sun, 29 Aug 2021 11:13:54 +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 E17ED54F7 for ; Sun, 29 Aug 2021 13:13:53 +0200 (CEST) Received: from localhost ([::1]:57126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKIl6-0003tp-1g for larch@yhetil.org; Sun, 29 Aug 2021 07:13:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKIjW-0003qO-L4 for emacs-orgmode@gnu.org; Sun, 29 Aug 2021 07:12:15 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:37386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKIjV-000536-31 for emacs-orgmode@gnu.org; Sun, 29 Aug 2021 07:12:14 -0400 Received: by mail-pf1-x429.google.com with SMTP id x19so2836270pfu.4 for ; Sun, 29 Aug 2021 04:12:12 -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=/SWwsQPAGF4G9Tplge7BOprbRCDI5RZlk+Sals3rR6M=; b=evcGi9GP73HsEn233fHJ+o+mBNGcUMmpmumzHCYLRbo8meKBt0Q7aUWH2PXpCBxWNE UbrJ7fDxw3Jx1RDi4cCiRpw7YTE17xtaSt9ORSb76w5ofZ1eP8O8/86IH7GKwu4PPndp IkCBteT5g3V7mV5CVrA1xCx/qUrBrxIWOz/WQ0MMLSKBoYfOEhust+aKOTIzfwbO9WPI rHjYz4UW15tVtTknk0PP1J9Lb6RYTMw4ZsNOfq3CX2+xzJjamx8uluQ3OclBHaCL/I47 xypCbC//VDDM53fPnNBdcAdw5BIQqWeCI359dfv7WKdRBQjzwmAgZ16MB0N4yjLc/rQo 6lqQ== 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=/SWwsQPAGF4G9Tplge7BOprbRCDI5RZlk+Sals3rR6M=; b=YD5p+5dxCjsxAXpKR2a7UeMdLo4/wZxUA4kUMtbRET3tBwvUtlF6puQyAuCW33mOF/ TXXgp5ieSrF0kg/GG7SBGb0pHr75mXkn9IJ79gwPpb8W6Kwete25NIRlY5zl2f+oweJL JUJxW/HoB1rbxFYGa0il3qgnW6AozuZ6r3NEoD5WRRhDUdVLEDtSz4jsQNTvJV6TcIDk 22wNrlpfQDeXLetoXu6eDk7Jj5FzXL3k1EL95ICv39LMEDqIj4du0AVlv7pSnSc4WdGM uLrX6rI4Ak6ZhbNbLGXi7OOe1x7XPymH4HvY/d6k1duNeIyOib91+qccMEojxidtUYXr y3DA== X-Gm-Message-State: AOAM530dLdr4wvIOhqc5F/7rjnoZ6Q7Qm2bMWjC18pTWfSbjWIGHXfjK X9xdBOMFCQncgCBPVUFkIYV7xCLyG7fTY5SRaCh1YS319vk= X-Google-Smtp-Source: ABdhPJxuXonvHINe6xNB0K7B52bJ8piKSml/wx1P2qh+9ExUijc4DsxzaVSEZF3iIahU4SaujhyMLPIYQzhKOORQqxw= X-Received: by 2002:a63:9752:: with SMTP id d18mr16312988pgo.320.1630235531242; Sun, 29 Aug 2021 04:12:11 -0700 (PDT) MIME-Version: 1.0 References: <87zgt4tlcy.fsf@autistici.org> <87ilzsm1d9.fsf@alphaville.usersys.redhat.com> <87tujall3t.fsf@alphaville.usersys.redhat.com> <87tuj9u3cs.fsf@autistici.org> In-Reply-To: From: Michael Maurer Date: Sun, 29 Aug 2021 13:16:44 +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::429; envelope-from=maurer.michael@gmail.com; helo=mail-pf1-x429.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=1630235634; 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=/SWwsQPAGF4G9Tplge7BOprbRCDI5RZlk+Sals3rR6M=; b=oUQyo0oG+V5u64KDmolVBERy0cdZqqYoIQydex3ZiKeBr2CfL3bOINwuoYfQKh7yAuoaPm J7iyZuLvHJhTosz30z3EskiTuiOcJDb3fHWCbq89vYRsB++6ZQ9OKwQhpvI2K2timiV3m0 SFTwz2lfY7XlAU6jFO/3yVHKGK0tgSZ7b+cUT9oFsjuGChDpGRmddjMsXsJZGCoSsS3AJT EaajjkuAhKSk7UyRVmCf/JcMFf03KAX9NtI5RfVxYgWj2X+1JJtO1bnUFUqLXnHrv6l9dR 1piG1T3dLv1Ob4vXTQ70SlWIEgmWVLGXn6aywyC5d7wVzsOy58ZFjCqJtsLklg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630235634; a=rsa-sha256; cv=none; b=gKTgnBZUa8UbUuM2NQ+cvh1FH4Pqjyov/P2PRZv7qFAcRo2QQzFUKBMMw1pwTPQMZuaD5g u0LmOWUYStug158cG6WazPOru7805ibt66WSo9DmIC9Art70gzjZzFZ9kR04pN01O84rzI bz+JcNj8RJ9VA7UKZBrmWtAS84ZMH33+EH2eMdsJUggOxyxEPam8HocN3l4E4Z5vzDnU6A AtOOFiPyHBtghfanlbcH8rTfdIuNOGZpKvkWmYTXqs/LLeyNwUQ/XrqWSI/MlOuNxg0Zrf H/nLBTZfIJCHYTeem5EFzLUOFgMvigzOYFdJe6aHT6cZ8nnT44pAlb04m1OvPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=evcGi9GP; 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=evcGi9GP; 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: E17ED54F7 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: qA+TjaILf641 On Sat, 28 Aug 2021 at 18:18, Michael Maurer wrote: > > On Sat, 28 Aug 2021 at 15:09, Jonathan Gregory 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.