[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to generate notes in a scale
From: |
Peter Chubb |
Subject: |
How to generate notes in a scale |
Date: |
Fri, 18 Apr 2008 18:04:46 +1000 |
User-agent: |
Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 MULE XEmacs/21.4 (patch 20) (Double Solitaire) (i486-linux-gnu) |
Hi,
I'm currently trying to get improved MIDI output. I have a
scheme function that processes articulations like staccato, tenuto,
etc., working now. But for turns and trills, I need to generate the
notes around a note in the current key.
Has anyone written a scheme function to do this yet? for
example, given e return fis (if the current key is g), or given e return f (if
the current key is c)? I'm a bit stuck, as I can't even work out how
to get at the current key within a music-function.
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
- How to generate notes in a scale,
Peter Chubb <=