ae.utils.sound.riff.writer

Write support for the RIFF file format (used in .wav files).

Members

Functions

makeRiff
auto makeRiff(R r, uint sampleRate)

Serialize a range of samples into a range of bytes representing a RIFF file.

riffChunk
auto riffChunk(char[4] name, R data)

Serialize a chunk and data as a range of bytes.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>