# load
function load(filename)Implements the `load` operation for `miniquake.sound.wav` (load).
| Parameter | Type | Default | Description |
|---|---|---|---|
filename | dynamic | — | Path of the file to process. |
src/miniquake/sound/wav.mlminiquake/byteio.ml as bio → src/miniquake/byteio.mlminiquake/native.ml as native → src/miniquake/native.mlminiquake/types.ml as t → src/miniquake/types.mlstd/fs.ml as fs → ../MiniLangCompilerOptimization/MiniLangCompilerPy/std/fs.ml external dependencyfunction load(filename)Implements the `load` operation for `miniquake.sound.wav` (load).
| Parameter | Type | Default | Description |
|---|---|---|---|
filename | dynamic | — | Path of the file to process. |
function parse(data, filename)Implements the `parse` operation for `miniquake.sound.wav` (parse).
| Parameter | Type | Default | Description |
|---|---|---|---|
data | dynamic | — | Input data consumed by the operation. |
filename | dynamic | — | Path of the file to process. |
function resample(info, data, targetRate, force8Bit)Implements the `resample` operation for `miniquake.sound.wav` (resample).
| Parameter | Type | Default | Description |
|---|---|---|---|
info | dynamic | — | The info input consumed by `resample`. |
data | dynamic | — | Input data consumed by the operation. |
targetRate | dynamic | — | The target rate input consumed by `resample`. |
force8Bit | dynamic | — | The force8 bit input consumed by `resample`. |
function sampleAt(info, data, sampleIndex, channel)Build deterministic test data for at.
| Parameter | Type | Default | Description |
|---|---|---|---|
info | dynamic | — | The info input consumed by `sampleAt`. |
data | dynamic | — | Input data consumed by the operation. |
sampleIndex | dynamic | — | Zero-based index of the requested entry. |
channel | dynamic | — | The channel input consumed by `sampleAt`. |