File: key.help.tcl

package info (click to toggle)
din 5.2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,200 kB
  • sloc: cpp: 9,369; sh: 6,563; ansic: 2,977; tcl: 1,770; makefile: 283
file content (18 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set key(name) key
set key(short) key
set key(purpose) {set the key of the scale}
set key(invoke) {
  key
  key note_name
  key note_name octave_shift
  key note
  key value
  }
set key(examples) {
  key ;# prints key value in Hz, nearest note name & distance in Hz from that note
  key C; # set key to note middle C
  key C -1; # set key to note C an octave below middle C
  key C 2; # set key to note C 2 octaves above middle C
  key 440; # set key to 440 Hz which is the note A
  key note; # prints note name nearest to key
  key value; # prints the frequency in Hz of key}