-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.lcdoc
executable file
·69 lines (36 loc) · 1.99 KB
/
api.lcdoc
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Name: getGMIDISVGicon()
Type: function
Syntax: getGMIDISVGicon()
Summary: Returns a General MIDI icon path string for use with the SVG Icon widget
Example: set the iconPath of widget "SVG Icon" to getGMIDISVGicon()
Description: Returns a General MIDI icon path data as a string that can be used with the SVG Icon widget
version: 1.0.1
author: Paul G. McClernan
Name: getGMIDIInstrumentNamesListCSV
Type: function
Syntax: getGMIDIInstrumentNamesListCSV()
Summary: Returns a comma separated values (CSV) list of GM Instrument Names
Example: put getGMIDIInstrumentNamesListCSV()
Description: Returns a string that is a comma separated values (CSV) list of the 128 General MIDI Instrument Names
Name: getGMIDIInstrumentName
Type: function
Syntax: getGMIDIInstrumentName(integer)
Summary: Takes an integer between 0 and 127 and returns a string of the corresponding GM Instrument Name
Example:
put getGMIDIInstrumentNamesListCSV(0) -- returns "Acoustic Grand Piano"
put getGMIDIInstrumentNamesListCSV(4) -- returns "Rhodes Piano"
Description: Takes an integer between 0 and 127 and returns a string of containing the corresponding General MIDI Instrument Name.
Name: getGMIDINoteNamesListCSV
Type: function
Syntax: getGMIDINoteNamesListCSV()
Summary: Returns a comma separated values (CSV) list of GM MIDI Note Names
Example: put getGMIDIInstrumentNamesListCSV()
Description: Returns a string that is a comma separated values (CSV) list of the 128 MIDI Note Names from C-1 (0) to G9 (127). The list includes sharps names only for now.
Name: getGMIDINoteName
Type: function
Syntax: getGMIDINoteName(integer)
Summary: Takes an integer between 0 and 127 and returns a string of the corresponding MIDI Note Name
Example:
put getGMIDIInstrumentNamesListCSV(0) -- returns "Acoustic Grand Piano"
put getGMIDIInstrumentNamesListCSV(4) -- returns "Rhodes Piano"
Description: Takes an integer between 0 and 127 and returns and returns a string of containing the corresponding Note Name. Sharps names only for now.