From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA24517; Fri, 18 Oct 2002 19:31:37 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA24123 for caml-list@pauillac.inria.fr; Fri, 18 Oct 2002 19:31:37 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA10705 for ; Fri, 18 Oct 2002 17:15:55 +0200 (MET DST) Received: from wptx49.physik.uni-wuerzburg.de (wptx49.physik.uni-wuerzburg.de [132.187.40.49]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g9IFFsD12279 for ; Fri, 18 Oct 2002 17:15:54 +0200 (MET DST) Received: from wptx47.physik.uni-wuerzburg.de (wptx47.physik.uni-wuerzburg.de [132.187.40.47]) by wptx49.physik.uni-wuerzburg.de (8.10.0/8.10.0.Beta6) with ESMTP id g9IFFqS08415; Fri, 18 Oct 2002 17:15:52 +0200 (METDST) Received: (from ohl@localhost) by wptx47.physik.uni-wuerzburg.de (8.10.0.Beta12/8.10.0.Beta12) id g9IFFqP08521; Fri, 18 Oct 2002 17:15:52 +0200 From: Thorsten Ohl Message-ID: <15792.9640.269390.574454@wptx47.physik.uni-wuerzburg.de> Date: Fri, 18 Oct 2002 17:15:52 +0200 To: "Kontra, Gergely" Cc: Diego Olivier Fernandez Pons , caml-list@inria.fr Subject: Re: [Caml-list] types & design advices (musical program) In-Reply-To: References: X-Mailer: VM 6.84 under Emacs 20.7.1 Reply-To: ohl@physik.uni-wuerzburg.de Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Gergo, > So given an input like: C: I IV V I, it will produce the > corresponding (c;c e g) (f;c f g) (g;h d g) (c;c e g) Have a look at http://theorie.physik.uni-wuerzburg.de/~ohl/misc/midi-current.tar.gz and the file midi.ps included therein. I never finished it, but it can interpret files like -- Body and Soul -- (Johnny Green) <2/2> <1/4=85> Ebm7 Bb7(b9) | Ebm7 Ab7 | Db^ Gb7 | Fm7 Eo | Ebm7 Ebm7/Db | Cf F7(b9/b13) | Bbm7 {Ebm7 Ab7} | Db^ Bb(#9/b13) | Ebm7 Bb7(b9) | Ebm7 Ab7 | Db^ Gb7 | Fm7 Eo | Ebm7 Ebm7/Db | Cf F7(b9/b13) | Bbm7 {Ebm7 Ab7} | Db^ A7 | D^ Em7 | F#m7 {Gm7 C7} | F#m7 B7 Em7 A7 | D^ | Dm7 G7 | C Ebo | Dm7 G7 | C7 Cb7 Bb7 Bb7(b9/b13) -- $Id: body_and_soul.ch,v 1.3 2000/01/17 02:42:09 ohl Exp $ and `play' them with primitive voicings. Cheers, -Thorsten -- Thorsten Ohl, Physics Dept., Wuerzburg Univ. -- ohl@physik.uni-wuerzburg.de http://theorie.physik.uni-wuerzburg.de/~ohl/ [<=== PGP public key here] ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners