Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] types & design advices (musical program)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Thorsten Ohl <ohl@p...>
Subject: Re: [Caml-list] types & design advices (musical program)
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>

<key=Db>
  Ebm7     Bb7(b9)     | Ebm7    Ab7              |
  Db^      Gb7         | Fm7     Eo               |
  Ebm7     Ebm7/Db     | Cf      F7(b9/b13)       |
  Bbm7     {Ebm7 Ab7}  | Db^     Bb(#9/b13)       |

<key=Db>
  Ebm7     Bb7(b9)     | Ebm7    Ab7              |
  Db^      Gb7         | Fm7     Eo               |
  Ebm7     Ebm7/Db     | Cf      F7(b9/b13)       |
  Bbm7     {Ebm7 Ab7}  | Db^     A7               |

<key=D>
  D^       Em7         | F#m7    {Gm7 C7}         |
  F#m7 B7  Em7 A7      | D^                       |

<key=C>
  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