summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTharo <tharo10600@gmail.com>2026-03-09 10:47:11 +0000
committerGitHub <noreply@github.com>2026-03-09 07:47:11 -0300
commit826bc7588e4ecdaa00bc23d25f8082e6ab011339 (patch)
treeb8101e1de72d6ad94a0fd7029d1a9dc2358df5fe /docs
parent04d96d3d34f237ec681fe3cb32d27224673638e1 (diff)
Soundfont Compiler: Implement fine-tuning in the final tuning calculation (#1863)
Diffstat (limited to 'docs')
-rw-r--r--docs/audio/Soundfont_XML.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/audio/Soundfont_XML.md b/docs/audio/Soundfont_XML.md
index c2d8a572e..5e532c120 100644
--- a/docs/audio/Soundfont_XML.md
+++ b/docs/audio/Soundfont_XML.md
@@ -147,6 +147,7 @@ Begins a new soundfont.
Name="<C Identifier>"
SampleRate="[Sample Rate]"
BaseNote="[Note Name]"
+ FineTune="[Fine Tune]"
IsDD="[Bool]"
Cached="[Bool]"
/>
@@ -158,6 +159,7 @@ Begins a new soundfont.
- **Name**: The name of this sample. A sample with this name must be present in the samplebank used by the soundfont.
- <ins>[Optional]</ins> **SampleRate**: An overriding sample rate for this sample. **Default comes from the sample file.**
- <ins>[Optional]</ins> **BaseNote**: An overriding root key for this sample. **Default comes from the sample file.**
+ - <ins>[Optional]</ins> **FineTune**: An overriding fine tuning for this sample, in cents, in the range [-100, 100]. **Default comes from the sample file.**
- <ins>[Optional]</ins> **IsDD**: Whether this sample is on the Disk Drive. The sample data will come from the samplebank `SampleBankDD`. **Default is `false`.** **NOTE this is not fully implemented, it should always be `false`.**
- <ins>[Optional]</ins> **Cached**: Whether this sample should be added to the `usedSamples` cache. **Default is `false`.**
@@ -187,6 +189,7 @@ Begins a new soundfont.
Sample="<Sample Name>"
SampleRate="[Sample Rate]"
BaseNote="[Note Name]"
+ FineTune="[Fine Tune]"
/>
```
Defines a single sound effect.
@@ -196,6 +199,7 @@ Begins a new soundfont.
- **Sample**: The name of the sample associated with this effect.
- <ins>[Optional]</ins> **SampleRate**: An overriding sample rate for this effect. **Default comes from the sample definition.**
- <ins>[Optional]</ins> **BaseNote**: An overriding root key for this effect. **Default comes from the sample definition.**
+ - <ins>[Optional]</ins> **FineTune**: An overriding fine tuning for this effect, in cents, in the range [-100, 100]. **Default comes from the sample definition.**
---
@@ -229,6 +233,7 @@ Begins a new soundfont.
Sample="<Sample Name>"
SampleRate="[Sample Rate]"
BaseNote="[Note Name]"
+ FineTune="[Fine Tune]"
/>
```
Defines a single percussion range.
@@ -244,6 +249,7 @@ Begins a new soundfont.
- **Sample**: The name of the sample to use.
- <ins>[Optional]</ins> **SampleRate**: An overriding sample rate for this sound. **Default comes from the sample definition.**
- <ins>[Optional]</ins> **BaseNote**: An overriding root key for this sound. **Default comes from the sample definition.**
+ - <ins>[Optional]</ins> **FineTune**: An overriding fine tuning for this sound, in cents, in the range [-100, 100]. **Default comes from the sample definition.**
---
@@ -275,16 +281,19 @@ Begins a new soundfont.
Sample="<Sample Name>"
SampleRate="[Sample Rate]"
BaseNote="[Note Name]"
+ FineTune="[Fine Tune]"
RangeLo="[Note Name]"
SampleLo="[Sample Name]"
SampleRateLo="[Sample Rate]"
BaseNoteLo="[Note Name]"
+ FineTuneLo="[Fine Tune]"
RangeHi="[Note Name]"
SampleHi="[Sample Name]"
SampleRateHi="[Sample Rate]"
BaseNoteHi="[Note Name]"
+ FineTuneHi="[Fine Tune]"
/>
```
Defines an instrument.
@@ -297,14 +306,17 @@ Begins a new soundfont.
- **Sample**: The name of the middle sample to use for this instrument.
- <ins>[Optional]</ins> **SampleRate**: Sample rate override for the middle sample. **Default is sourced from the sample properties.**
- <ins>[Optional]</ins> **BaseNote**: Base note override for the middle sample. **Default is sourced from the sample properties.**
+ - <ins>[Optional]</ins> **FineTune**: Fine tuning override for the middle sample, in cents, in the range [-100, 100]. **Default is sourced from the sample properties.**
- <ins>[Optional]</ins> **RangeLo**: The largest note for SampleLo. SampleLo will be used instead of Sample for keys in the range [0, RangeLo]. **If left unspecified, SampleLo must not be specified. If specified, SampleLo must be specified.**
- <ins>[Optional]</ins> **SampleLo**: The name of the low sample to use for this instrument.
- <ins>[Optional]</ins> **SampleRateLo**: Sample rate override for the low sample. **Default is sourced from the sample properties.**
- <ins>[Optional]</ins> **BaseNoteLo**: Base note override for the low sample. **Default is sourced from the sample properties.**
+ - <ins>[Optional]</ins> **FineTuneLo**: Fine tuning override for the low sample, in cents, in the range [-100, 100]. **Default is sourced from the sample properties.**
- <ins>[Optional]</ins> **RangeHi**: The smallest note for SampleHi. SampleHi will be used instead of Sample for keys in the range [RangeHi, 127]. **If left unspecified, SampleHi must not be specified. If specified, SampleHi must be specified.**
- <ins>[Optional]</ins> **SampleHi**: The name of the high sample to use for this instrument.
- <ins>[Optional]</ins> **SampleRateHi**: Sample rate override for the high sample. **Default is sourced from the sample properties.**
- <ins>[Optional]</ins> **BaseNoteHi**: Base note override for the high sample. **Default is sourced from the sample properties.**
+ - <ins>[Optional]</ins> **FineTuneHi**: Fine tuning override for the high sample, in cents, in the range [-100, 100]. **Default is sourced from the sample properties.**
---