Skip to content

Commit a25c402

Browse files
committed
Added Calfbox as extension with label_outputN opcode
1 parent c8b3780 commit a25c402

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

_data/sfz/engines.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
- name: "Ogg"
66
- name: "WAV"
77

8+
- name: "Calfbox"
9+
formats:
10+
- name: "AIFF"
11+
- name: "FLAC"
12+
- name: "Ogg"
13+
- name: "WAV"
14+
815
- name: "sfizz"
916
formats:
1017
- name: "AIFF"

_data/sfz/syntax.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
format: 2
2-
versions: ["ARIA", "Cakewalk", "LinuxSampler", "SFZ v1", "SFZ v2", "sfizz"] # , "Unknown"
2+
versions: ["ARIA", "Calfbox", "Cakewalk", "LinuxSampler", "SFZ v1", "SFZ v2", "sfizz"] # , "Unknown"
33
# ------------------------------------------------------------------------------
44
# Headers
55
# ------------------------------------------------------------------------------
@@ -505,6 +505,12 @@ categories:
505505
value:
506506
type_name: "string"
507507

508+
- name: "label_outputN"
509+
short_description: "Creates a label for the <a href='/opcodes/output'>output</a> N."
510+
version: "Calfbox"
511+
value:
512+
type_name: "string"
513+
508514
- name: "set_ccN"
509515
short_description:
510516
"Sets a default initial value for MIDI CC number N,

opcodes/label_outputN.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: "sfz/opcode"
3+
opcode_name: "label_outputN"
4+
---
5+
Used under the ‹[control]› header.
6+
7+
## Example
8+
9+
```sfz
10+
<control>
11+
// Keep output labels short
12+
label_output0=Snare
13+
label_output1=Kick Drum
14+
15+
<master>
16+
output=0
17+
// ...
18+
19+
<master>
20+
output=1
21+
// ...
22+
```
23+
24+
25+
[control]: {{ '/headers/control' | relative_url }}

0 commit comments

Comments
 (0)