[CM] Most efficient way to play a tune

Philippe de Rochambeau phiroc at free.fr
Wed Feb 1 23:44:43 PST 2012


Hello,

what is the most practical way to "lay out" a tune in CM?

Do you just type a series of send("mp:midi"...)s in your code, with one send per note?
Is there a pattern which allows you to simply play a series of notes, as opposed to making cycles, etc?

For instance, here's how I would transcribe the beginning of Gaspar Sanz's Jacaras:

begin
	send("mp:midi", key: key("d3"), dur: .5)
	send("mp:midi", key: key("d4"), dur: 1)
	send("mp:midi", key: key("f4"), dur: 1)
	...
end

where .5 notes are quarter notes, and 1 notes are half notes.

Is that efficient?


Furthermore, in the CM documentation, the notes function is described as 

"Return[ing] the note (string) of ref, which can be a note, key or list of the same. A note name consists of a pitch class letter (c d e f g a b), an optional sharp or flat letter (s f) an optional quarter tone inflection (< or >)..."

What exactly is a "quarter note inflection"?

Many thanks for your help.

Best regards,

Philippe

	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20120202/bf0448ce/attachment.html 


More information about the Cmdist mailing list