File: ArtificialHarmonic.scm

package info (click to toggle)
denemo 2.6.49-0.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 66,916 kB
  • sloc: ansic: 94,587; lisp: 38,713; xml: 22,675; python: 1,930; sh: 1,239; makefile: 642; yacc: 288; sed: 93
file content (16 lines) | stat: -rw-r--r-- 788 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
;;;;;;ArtificialHarmonic
(let ((tag "ArtificialHarmonic")
        (params ArtificialHarmonic::params))
    (if (or (equal? params "edit") (d-Directive-note? tag))
    	   (let ((choice (RadioBoxMenu (cons (_ "Help") 'help) (cons (_ "Delete") 'delete))))
    	   	(case choice
    	   		((help)
    	   			(d-InfoDialog (_ "This note will typeset with a diamond notehead, to indicate a harmonic\nYou can sharpen or flatten this note using the standard commands.")))
    	   		((delete)
    	   			(d-RemoveNoteFromChord))))
    	   (begin
			  	 (d-AddNoteToChord)
				  (d-DirectivePut-note-postfix tag "\\harmonic ")
				  (d-DirectivePut-note-override tag DENEMO_OVERRIDE_GRAPHIC)
				  (d-DirectivePut-note-gx tag -10)
				  (d-DirectivePut-note-graphic tag "\n\nemmentaler\n36"))))