8 |
</head> |
</head> |
9 |
<body> |
<body> |
10 |
<h1>key Opcode</h1> |
<h1>key Opcode</h1> |
11 |
<p>With this opcode you can cause a region to be played only when the incoming MIDI note is equal to <code>??note value??</code>. If you want your region to be triggered by a range of notes, please see <code>lokey</code> and <code>hikey</code> opcodes.</p> |
<p>With this opcode you can cause a region to be played only when the incoming MIDI note is equal to <code lang="sfz">??note-value??</code>. If you want your region to be triggered by a range of notes, please see <code>lokey</code> and <code>hikey</code> opcodes.</p> |
12 |
|
|
13 |
<h3>Opcode Prototype</h3> |
<h3>Opcode Prototype</h3> |
14 |
<p/> |
<p/> |
15 |
<code lang="sfz"> |
<code lang="sfz"> |
16 |
key=??note value?? |
key=??note-value?? |
17 |
</code> |
</code> |
18 |
|
|
19 |
<h3>Parameter</h3> |
<h3>Parameter</h3> |
20 |
<p>The mandatory <code>??note value??</code> parameter defines the note assigned to the region. This parameter only accepts a valid MIDI note number (from 0 to 127) or name (from C-1 to G9):</p> |
<p>The mandatory <code>??note-value??</code> parameter defines the note assigned to the region. This parameter only accepts a valid MIDI note number (from 0 to 127) or name (from C-1 to G9):</p> |
21 |
<p> |
<p> |
22 |
<table> |
<table> |
23 |
<tr> |
<tr> |