Most efficient way to play a tune

View: New views
2 Messages — Rating Filter:   Alert me  

Most efficient way to play a tune

by phiroc :: Rate this Message:

| View Threaded | Show Only this Message


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



_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Re: Most efficient way to play a tune

by Bill Schottstaedt :: Rate this Message:

| View Threaded | Show Only this Message

> What exactly is a "quarter note inflection"?

It actually says "quarter tone inflection" by which I assume Rick
means a quarter tone change in the pitch, up or down (that is,
half a semitone).  (american?) english uses the same term for
the pitch change and the duration.

_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist