Skip to content

Commit

Permalink
Added Calfbox as extension with label_outputN opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
redtide committed Oct 28, 2023
1 parent c8b3780 commit a25c402
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
7 changes: 7 additions & 0 deletions _data/sfz/engines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
- name: "Ogg"
- name: "WAV"

- name: "Calfbox"
formats:
- name: "AIFF"
- name: "FLAC"
- name: "Ogg"
- name: "WAV"

- name: "sfizz"
formats:
- name: "AIFF"
Expand Down
8 changes: 7 additions & 1 deletion _data/sfz/syntax.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
format: 2
versions: ["ARIA", "Cakewalk", "LinuxSampler", "SFZ v1", "SFZ v2", "sfizz"] # , "Unknown"
versions: ["ARIA", "Calfbox", "Cakewalk", "LinuxSampler", "SFZ v1", "SFZ v2", "sfizz"] # , "Unknown"
# ------------------------------------------------------------------------------
# Headers
# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -505,6 +505,12 @@ categories:
value:
type_name: "string"

- name: "label_outputN"
short_description: "Creates a label for the <a href='/opcodes/output'>output</a> N."
version: "Calfbox"
value:
type_name: "string"

- name: "set_ccN"
short_description:
"Sets a default initial value for MIDI CC number N,
Expand Down
25 changes: 25 additions & 0 deletions opcodes/label_outputN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: "sfz/opcode"
opcode_name: "label_outputN"
---
Used under the ‹[control]› header.

## Example

```sfz
<control>
// Keep output labels short
label_output0=Snare
label_output1=Kick Drum
<master>
output=0
// ...
<master>
output=1
// ...
```


[control]: {{ '/headers/control' | relative_url }}

0 comments on commit a25c402

Please sign in to comment.