Skip to content

Commit 2400378

Browse files
committed
4.0.28
1 parent 37b2dcb commit 2400378

3 files changed

Lines changed: 10 additions & 15 deletions

File tree

specification/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SF-enhanced 4 Specification
22

3-
## Version 4.0.27
3+
## Version 4.0.28
44

55
### Copyright notice
66

specification/section-1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The SFe standard has been created to provide a successor to E-mu Systems®'s Sou
1313

1414
| Revision | Date | Description |
1515
|----------|-------------------|---------------------------------------------------------------------------------------------------------------------------------------|
16+
| 4.0.28 | 29 September 2025 | sfSampleType fixes |
1617
| 4.0.27 | 25 September 2025 | Fix some issues <br> Sample linking is now permitted with compressed samples |
1718
| 4.0.26 | 25 September 2025 | Default modulators are reformatted <br> Reworked sfSampleType <br> A few more clarifications |
1819
| 4.0.25 | 24 September 2025 | Added guidance on UTF-8 errors <br> Renamed some sfSampleType enums <br> Few other formatting changes |

specification/section-5.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ The `shdr` sub-chunk is required; files without a `shdr` sub-chunk are Structura
780780

781781
The value of achSampleName is now UTF-8 instead of ASCII.
782782

783-
#### sfSampleType Changes (since 4.0.16)
783+
#### sfSampleType Changes (since 4.0.28)
784784

785785
In legacy SF2.04, `sfSampleType` is treated as an enum, with eight fixed values. This worked fine when there were only a few possible bits, however it could become a limitation for future expansion.
786786

@@ -792,16 +792,12 @@ Therefore, the specification for `sfSampleType` discourages the use of fixed enu
792792
- If bit 4 is set, a sample is a linked sample.
793793
- If bit 5 is set, a sample is compressed using SFe Compression.
794794
- Read section 6.2 for more information on SFe Compression.
795-
- If bit 6 is clear and bit 7 clear, all samples are in ogg format.
796-
- If bit 6 is set and bit 7 clear, all samples are in flac format.
797-
- If bit 6 is clear and bit 7 set, all samples are in opus format.
798-
- If bit 6 is set and bit 7 set, all samples are in containerised wav format.
799795
- If bit 16 is set, a sample is stored in ROM.
800796
- Read section 9 for more information on ROM samples.
801797

802798
Note that all unused bits are reserved and should not be used by SFe implementations.
803799

804-
### List of valid sfSampleType values (since 4.0.26)
800+
### List of valid sfSampleType values (since 4.0.28)
805801

806802
| Value | Name | Description |
807803
|-------|------------------------------|-------------------------------------------------|
@@ -810,19 +806,17 @@ Note that all unused bits are reserved and should not be used by SFe implementat
810806
| 4 | `leftSample` | Left part of a stereo sample |
811807
| 8 | `linkedSample` | Linked sample |
812808
| 17 | `containerMonoSample` | Containerised mono sample |
813-
| 18 | `containerRightSample`* | Containerised right part of a stereo sample |
814-
| 20 | `containerLeftSample`* | Containerised left part of a stereo sample |
815-
| 24 | `containerLinkedSample`* | Containerised linked sample |
809+
| 18 | `containerRightSample` | Containerised right part of a stereo sample |
810+
| 20 | `containerLeftSample` | Containerised left part of a stereo sample |
811+
| 24 | `containerLinkedSample` | Containerised linked sample |
816812
| 32769 | `RomMonoSample` | `monoSample` stored in ROM |
817813
| 32770 | `RomRightSample` | `rightSample` stored in ROM |
818814
| 32772 | `RomLeftSample` | `leftSample` stored in ROM |
819815
| 32776 | `RomLinkedSample` | `linkedSample` stored in ROM |
820816
| 32785 | `RomContainerMonoSample` | `containerMonoSample` stored in ROM |
821-
| 32786 | `RomContainerRightSample`* | `containerRightSample` stored in ROM |
822-
| 32788 | `RomContainerLeftSample`* | `containerLeftSample` stored in ROM |
823-
| 32792 | `RomContainerLinkedSample`* | `containerLinkedSample` stored in ROM |
824-
825-
*Only valid with uncompressed samples
817+
| 32786 | `RomContainerRightSample` | `containerRightSample` stored in ROM |
818+
| 32788 | `RomContainerLeftSample` | `containerLeftSample` stored in ROM |
819+
| 32792 | `RomContainerLinkedSample` | `containerLinkedSample` stored in ROM |
826820

827821
All other values are invalid.
828822

0 commit comments

Comments
 (0)