home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boot Disc 4
/
boot-disc-1996-12.iso
/
Apps
/
Cakewalk
/
PROAUD45
/
CH_MAJ7.CA_
/
CH_MAJ7.bin
Wrap
Text File
|
1996-05-20
|
621b
|
23 lines
;; Ch_maj7.cal
;;
;; Treats each note as the root of a major 7th chord; creates that chord:
;; For each note event, adds three note events with same time, vel, and dur
;; but a major 3rd, a perfect 5th, and a major 7th higher.
;;
(do
(include "need20.cal") ; Require version 2.0 or higher of CAL
(forEachEvent
(if (== Event.Kind NOTE)
(do
(insert Event.Time Event.Chan NOTE (+ Note.Key 4) Note.Vel Note.Dur)
(insert Event.Time Event.Chan NOTE (+ Note.Key 7) Note.Vel Note.Dur)
(insert Event.Time Event.Chan NOTE (+ Note.Key 11) Note.Vel Note.Dur)
)
)
)
)