UNPKG

spessasynth_core

Version:

MIDI and SoundFont2/DLS library with no compromises

15 lines (14 loc) 316 B
import { writeRIFFChunkParts } from "../riff_chunk.js"; import { writeIns } from "./ins.js"; /** * @this {BasicSoundBank} * @returns {IndexedByteArray} */ export function writeLins() { return writeRIFFChunkParts( "lins", this.presets.map(p => writeIns.apply(this, [p])), true ); }