Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ericclack committed Oct 4, 2017
1 parent d3c27f4 commit c46f8d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion learn-music-phrase2.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ TODO:
(define STAVE-WIDTH 400)

;; How many seconds between notes? Change this to suit your needs
(define TICK-RATE 1.5)
(define TICK-RATE 1)


;; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
9 changes: 6 additions & 3 deletions learn-music4.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DONE:
- Show the note played, on the last play
TODO:
- Merge in updates from learn-music-phrases code
- Fix display of extenders that should be hidden by
stave lines
- Sort easy-notes for better display, or show them on
Expand Down Expand Up @@ -43,18 +44,20 @@ TODO:
'(e2 a3 d3 g3 b4 e4))
;; The initial set of easy notes for *me* to play - change this
;; to suit your needs
;; When recalling note names: '(a3 c4 g4 e4 c3 a4 b4 f3)
(define EASY-NOTES
'(c4 d4 f4 g4))
'())
;; '(a3 c4 g4 e4 c3 a4 b4 f3))
;; How likely to skip easy phrases (0-1)?
(define SKIP-EASY-NOTES 0.7)
(define SKIP-EASY-NOTES 1)

;; The canvas
(define WIDTH 400)
(define HEIGHT 300)
(define G-CLEF (bitmap "GClef.png"))

;; How many seconds between notes? Change this to suit your needs
(define TICK-RATE .75)
(define TICK-RATE 2)

(define PIX-PER-NOTE 11)
(define PIX-BETWEEN-LINES (* 2 PIX-PER-NOTE))
Expand Down

0 comments on commit c46f8d0

Please sign in to comment.