spessasynth_core 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -81,6 +81,12 @@ const synth = new Synthesizer(soundFontBuffer, sampleRate, blockSize)
|
|
|
81
81
|
- blockSize - optional, a number. Sets the interval of the synth updating parameters like the sequencer tick processing and modulation envelope.
|
|
82
82
|
Default value is 128, and it's recommended to leave it as the default.
|
|
83
83
|
|
|
84
|
+
### sf3supportReady
|
|
85
|
+
A promise that gets resolved when the vorbis decoder is ready. You must await it if you use sf3 soundfonts.
|
|
86
|
+
```js
|
|
87
|
+
await synth.sf3supportReady;
|
|
88
|
+
```
|
|
89
|
+
|
|
84
90
|
### render
|
|
85
91
|
Synthesizes audio the output buffers
|
|
86
92
|
```js
|