Tabula Sonora
0.1.0
A native C++20 implementation of the Roland Sound Canvas VA synth voice
Toggle main menu visibility
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
7
namespace
ts
{
8
14
namespace
wav
{
15
19
void
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
ts::wav
Writes 16-bit stereo PCM WAV files.
Definition
wav_writer.hpp:14
ts::wav::write
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.
ts
Definition
control_decode.hpp:7
include
tabulasonora
wav_writer.hpp
Generated by
1.17.0