File: get-var.help.tcl

package info (click to toggle)
din 5.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,152 kB
  • ctags: 2,490
  • sloc: cpp: 9,369; sh: 6,563; ansic: 2,977; tcl: 1,770; makefile: 285
file content (34 lines) | stat: -rw-r--r-- 1,984 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
set get-var(name) get-var
set get-var(short) gv
set get-var(purpose) {get value of variables in din}
set get-var(invoke) {get-var <variable1> <variable2> ... <variableN>}
set get-var(help) {
  prints the value of requested variables. available variables are:

  wave_volume or wv -- lead voice volume
  note_volume or nv -- note volume on keyboard-keyboard
  attack_time or at -- attack time in seconds for a note on keyboard-keyboard
  decay_time or dt -- decay time in seconds for a note on keyboard-keyboard
  sustain or su -- position on attack curve where note starts to sustain
  drone_master_volume or dmv -- drone master volume
  fm_depth or fmd -- FM depth
  am_depth or amd -- AM depth
  delta_bpm or dbpm -- amount to increase/decrease when changing bpm of gater, fm, am & octave shift modules
  num_sine_samples or nss -- number of samples used when converting sine waveform to bezier waveform
  drone_handle_size or dhs -- handle size of drones used for display/selection
  snap_drones or sd -- drones snapped to notes? 1 = yes or 0 = no
  scroll or sc -- scroll rate, amount in x and amount in y for wsad key press
  zoom -- zoom of all curve editors. returns rate and amount
  pan -- pan on all curve editors. returns rate and amount
  show_cursor_info or sci -- show frequency/volume under mouse cursor? 1 = yes, 0 = no
  jog or j -- number of samples to jump upon <- and -> key presses when phrasor is playing
  fps -- number of times din refreshes the ui every second
  usleep -- number of microseconds din sleeps to allow processor do other tasks
  scale -- name of current scale
  tuning or tu -- name of current tuning
  auto_connect_outputs (GNU/Linux only) -- auto connect din audio outputs to system audio output?}
set get-var(examples) {
  get-var scroll ;# print scroll parameters of din board
  get-var fmd amd ;# get both fm_depth & am_depth
  gv fmd amd ;# short form
  get-var fmd amd tuning ;# returns 2 numbers (fmd & amd) & 1 string (name of tuning)}