Tabula Sonora 0.1.0
A native C++20 implementation of the Roland Sound Canvas VA synth voice
Loading...
Searching...
No Matches
ts::RenderResult Struct Reference

A finished render. More...

#include <tabulasonora/render_options.hpp>

Public Attributes

std::vector< float > left
std::vector< float > right
int sample_rate = NoteRenderer::sample_rate
int note_count = 0
 How many notes actually rendered.
float peak = 0.0F
 Peak absolute sample across both channels, after the output gain.

Detailed Description

A finished render.

Member Data Documentation

◆ left

std::vector<float> ts::RenderResult::left

◆ right

std::vector<float> ts::RenderResult::right

◆ sample_rate

int ts::RenderResult::sample_rate = NoteRenderer::sample_rate

◆ note_count

int ts::RenderResult::note_count = 0

How many notes actually rendered.

◆ peak

float ts::RenderResult::peak = 0.0F

Peak absolute sample across both channels, after the output gain.


The documentation for this struct was generated from the following file: