Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
render.hpp File Reference

Writing a render to disk (Cross-cutting — host only) More...

Detailed Description

Writing a render to disk (Cross-cutting — host only)

Definition in file render.hpp.

#include <cstdint>
#include <cstdio>

Go to the source code of this file.

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs code.
 
namespace  sbl::dsp
 
namespace  sbl::dsp::host
 Host-only file I/O.
 

Functions

bool sbl::dsp::host::write_wav (const char *path, const float *data, int samples, int sample_rate, int channels)
 Interleaved float samples to a 24-bit PCM WAV, clamped to ±1.
 
bool sbl::dsp::host::write_float_bin (const char *path, const float *data, int samples)
 Raw float32, native endianness: what analyst measure reads.