Skip to content

Commit

Permalink
Fix typos in pc_ivl.xtm
Browse files Browse the repository at this point in the history
  • Loading branch information
fetsorn authored and benswift committed Sep 26, 2023
1 parent a3a2563 commit e35695e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libs/core/pc_ivl.xtm
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@


;; quantize pc
;; Always slelects a higher value before a lower value where distance is equal.
;; Always selects a higher value before a lower value where distance is equal.
;;
;; arg 1: pitch to quantize to pc
;; arg 2: pc to quantize pitch against
Expand All @@ -296,12 +296,12 @@
#f)))))

;; quantize pc
;; Always slelects a lower value before a higher value where distance is equal.
;; Always selects a lower value before a higher value where distance is equal.
;;
;; arg 1: pitch to quantize to pc
;; arg 2: pc to quantize pitch against
;;
;; returns quntized pitch or #f if non available
;; returns quantized pitch or #f if non available
;;
(define pc:quantize-low
(lambda (pitch-in pc)
Expand Down Expand Up @@ -687,7 +687,7 @@
chord))))


;; genereate a melody from a list of steps in a (pc) pitch class
;; generate a melody from a list of steps in a (pc) pitch class
(define pc:melody-by-step
(lambda (starting-pitch steps pc . args)
(if (null? steps)
Expand All @@ -700,7 +700,7 @@
(cons (pc:relative starting-pitch (car steps) pc) (car args)))))))


;; generate a meldoy from a list of intervals
;; generate a melody from a list of intervals
(define ivl:melody-by-ivl
(lambda (starting-pitch ivls . args)
(if (null? ivls)
Expand Down

0 comments on commit e35695e

Please sign in to comment.