From mboxrd@z Thu Jan 1 00:00:00 1970 From: Torsten Anders Subject: Re: Babel: 1st version for music notation language Fomus Date: Fri, 8 Jul 2011 09:27:50 +0100 Message-ID: <2F5AAC80-D9DE-4D1E-9867-3B384D872C05@beds.ac.uk> References: <87y609zh2i.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf6Ph-0001rS-Eh for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 04:27:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qf6Pf-0005Ir-GP for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 04:27:53 -0400 Received: from smtp.idnet.com ([212.69.40.133]:43839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qf6Pf-0005Im-7A for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 04:27:51 -0400 Received: from localhost (unknown [127.0.0.1]) by smtp.idnet.com (Postfix) with ESMTP id 28F4E9F912 for ; Fri, 8 Jul 2011 08:27:49 +0000 (UTC) Received: from smtp.idnet.com ([127.0.0.1]) by localhost (smtp.idnet.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6JAB3XOVQZCV for ; Fri, 8 Jul 2011 09:27:48 +0100 (BST) Received: from smtp.idnet.com (template [127.0.0.1]) by smtp.idnet.com (Postfix) with ESMTP id 168139F918 for ; Fri, 8 Jul 2011 09:27:48 +0100 (BST) Received: from [192.168.0.3] (cust132-dsl91-135-3.idnet.net [91.135.3.132]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.idnet.com (Postfix) with ESMTPS id D16609F912 for ; Fri, 8 Jul 2011 09:27:47 +0100 (BST) In-Reply-To: <87y609zh2i.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Dear Eric, On 8 Jul 2011, at 02:38, Eric Schulte wrote: >=20 > Thanks for sharing this, it looks great, short clear and to the point. >=20 > Shall I add it to the contrib/ directory? If you think it is already at that point, that is certainly fine by me. Best, Torsten >=20 > Best -- Eric >=20 > Torsten Anders writes: >=20 >> Dear Babel developers,=20 >>=20 >> Inspired by the newly available Lilypond, I hacked up a first version >> of language support for Fomus >> (http://fomus.sourceforge.net/). Briefly, Fomus is a music notation >> system that translates a relatively simple domain specific music >> language into multiple output formats, including Lilypond and = MusicXML >> (the latter is an open format supported by many commercial music >> notation systems such as Finale and Sibelius). In a nutshell, Fomus >> can simplify the generation of complex scores, because it can add >> various score information automatically. Anyway, please find my first >> attempt of a Fomus integration attached. >>=20 >> This works already fine for standard code blocks such as the = following. Note that the result of this is a Lilypond file. >>=20 >> #+begin_src fomus :file test1.ly >> time 0 dur 2 pitch 60;=20 >> time 2 dur 1 pitch 62;=20 >> time 3 dur 1 pitch 63;=20 >> time 4 dur 4 pitch 65;=20 >> #+end_src >>=20 >> Of course, because this is a quick hack, various improvements can be >> made. For example, it might be a good idea to allow for something = like >> :file test.pdf, where the resulting Lilypond call would see file.ly, >> but the automatically inserted link in the org buffer would be the >> resulting file.pdf. >>=20 >> Comments are welcome.=20 >>=20 >> Best wishes, >> Torsten >>=20 >> -- >> Dr Torsten Anders >> Course Leader, Music Technology >> University of Bedfordshire >> Park Square, Room A315 >> http://strasheela.sourceforge.net >> http://www.torsten-anders.de >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >=20 > --=20 > Eric Schulte > http://cs.unm.edu/~eschulte/ >=20