Tabula Sonora 0.1.0
A native C++20 implementation of the Roland Sound Canvas VA synth voice
Loading...
Searching...
No Matches
wav_writer.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <filesystem>
5#include <span>
6
7namespace ts {
8
14namespace wav {
15
19void write(const std::filesystem::path& path,
20 std::span<const float> left,
21 std::span<const float> right,
22 int sample_rate = 32000);
23
24} // namespace wav
25} // namespace ts
Writes 16-bit stereo PCM WAV files.
Definition wav_writer.hpp:14
void write(const std::filesystem::path &path, std::span< const float > left, std::span< const float > right, int sample_rate=32000)
Writes a stereo render to a RIFF/WAVE file at the given sample rate.
Definition control_decode.hpp:7