Add this to an AudioProcessor to save a signal as a .wav for analysis.
More...
#include <SignalSaver.h>
|
| | SignalSaver (const String &path, int numChannels, int64 numSamples, double sampleRate) |
| |
| void | process (AudioBuffer< float > buffer) |
| |
| void | process (const float *const *buffer, int blockSize) |
| |
| void | handleAsyncUpdate () override |
| |
Add this to an AudioProcessor to save a signal as a .wav for analysis.
◆ SignalSaver()
| krotos::SignalSaver::SignalSaver |
( |
const String & | path, |
|
|
int | numChannels, |
|
|
int64 | numSamples, |
|
|
double | sampleRate ) |
|
inline |
◆ handleAsyncUpdate()
| void krotos::SignalSaver::handleAsyncUpdate |
( |
| ) |
|
|
inlineoverride |
◆ process() [1/2]
| void krotos::SignalSaver::process |
( |
AudioBuffer< float > | buffer | ) |
|
|
inline |
◆ process() [2/2]
| void krotos::SignalSaver::process |
( |
const float *const * | buffer, |
|
|
int | blockSize ) |
|
inline |
◆ m_counter
| int64 krotos::SignalSaver::m_counter |
|
private |
◆ m_data
| std::vector<float> krotos::SignalSaver::m_data |
|
private |
◆ m_file
| const File krotos::SignalSaver::m_file |
|
private |
◆ m_length
| const int64 krotos::SignalSaver::m_length |
|
private |
◆ m_numChannels
| const int krotos::SignalSaver::m_numChannels |
|
private |
◆ m_writer
| std::unique_ptr<AudioFormatWriter> krotos::SignalSaver::m_writer |
|
private |
The documentation for this class was generated from the following file: