~ubuntu-branches/ubuntu/oneiric/denemo/oneiric

« back to all changes in this revision

Viewing changes to actions/menus/ObjectMenu/Markings/Metronome Markings/MetronomeMarking

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-10-27 08:00:18 UTC
  • mfrom: (1.3.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20101027080018-tuekd0869v8ptnqv
Tags: upstream-0.8.16
ImportĀ upstreamĀ versionĀ 0.8.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
<Denemo>
3
 
  <merge>
4
 
    <title>A Denemo Keymap</title>
5
 
    <author>AT, JRR, RTS</author>
6
 
    <map>
7
 
      <row>
8
 
        <action>MetronomeMarking</action>
9
 
        <scheme> ;; ;;;;;;;;;;;;
10
 
(let ((bpm 60))
11
 
  (set! bpm (d-GetUserInput "Metronome Setting"  "Give Beats per Minute" "60"))
12
 
  (d-DirectivePut-chord-prefix "MM"  (string-append "\\override Score.MetronomeMark #'padding = #3
13
 
  \\tempo 4 = " bpm))
14
 
  (d-DirectivePut-chord-override "MM" (logior DENEMO_OVERRIDE_TEMPO DENEMO_OVERRIDE_STEP))
15
 
  (d-DirectivePut-chord-midibytes "MM" bpm)
16
 
  (d-DirectivePut-chord-display "MM" (string-append "MM" bpm)))
17
 
</scheme>
18
 
        <label>Add Metronome Marking to Chord</label>
19
 
        <tooltip>Adds a metronome marking to chord. Edit the attached LilyPond for the value and position.</tooltip>
20
 
      </row>
21
 
    </map>
22
 
  </merge>
23
 
</Denemo>