From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Babel: 1st version for music notation language Fomus Date: Fri, 08 Jul 2011 08:20:26 -0600 Message-ID: <871uy0am6t.fsf@gmail.com> References: <87y609zh2i.fsf@gmail.com> <2F5AAC80-D9DE-4D1E-9867-3B384D872C05@beds.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfBv2-0004uf-TQ for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 10:20:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfBv0-0000BE-Ep for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 10:20:36 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:43956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfBuz-0000Az-U6 for emacs-orgmode@gnu.org; Fri, 08 Jul 2011 10:20:34 -0400 Received: by pwi12 with SMTP id 12so1431498pwi.0 for ; Fri, 08 Jul 2011 07:20:32 -0700 (PDT) In-Reply-To: <2F5AAC80-D9DE-4D1E-9867-3B384D872C05@beds.ac.uk> (Torsten Anders's message of "Fri, 8 Jul 2011 09:27:50 +0100") 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: Torsten Anders Cc: emacs-orgmode@gnu.org Torsten Anders writes: > Dear Eric, > > On 8 Jul 2011, at 02:38, Eric Schulte wrote: >> >> Thanks for sharing this, it looks great, short clear and to the point. >> >> Shall I add it to the contrib/ directory? > > If you think it is already at that point, that is certainly fine by me. > Great, I do prefer to fold new languages in early so that they can benefit from wider use and testing. This is now located in contrib/babel/langs/. Thanks for the contribution -- Eric > > Best, > Torsten > > >> >> Best -- Eric >> >> Torsten Anders writes: >> >>> Dear Babel developers, >>> >>> 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. >>> >>> This works already fine for standard code blocks such as the following. Note that the result of this is a Lilypond file. >>> >>> #+begin_src fomus :file test1.ly >>> time 0 dur 2 pitch 60; >>> time 2 dur 1 pitch 62; >>> time 3 dur 1 pitch 63; >>> time 4 dur 4 pitch 65; >>> #+end_src >>> >>> 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. >>> >>> Comments are welcome. >>> >>> Best wishes, >>> Torsten >>> >>> -- >>> Dr Torsten Anders >>> Course Leader, Music Technology >>> University of Bedfordshire >>> Park Square, Room A315 >>> http://strasheela.sourceforge.net >>> http://www.torsten-anders.de >>> >>> >>> >>> >>> >>> >>> >> >> -- >> Eric Schulte >> http://cs.unm.edu/~eschulte/ >> > > -- Eric Schulte http://cs.unm.edu/~eschulte/