|
Chrispy
High-performance multichannel ADC sampling and audio recording.
|
#include "Recorder.h"#include <Arduino.h>#include <SdFat.h>#include "SdFunctions.cpp"#include "WavHeader.h"Namespaces | |
| namespace | recording |
Functions | |
| bool | recording::init (uint8_t nchannels, adc::Channel *channels, SdFat *sd) |
| Initialize recorder with these fields. | |
| int64_t | recording::record (const char *filenames[], BitResolution res, uint32_t sample_rate, uint32_t duration_ms, uint8_t *buf, size_t sz) |
Uses the SD singleton to record to every file in files with the same sample rate and duration. | |