Chrispy
High-performance multichannel ADC sampling and audio recording.
Loading...
Searching...
No Matches
Recorder.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "Adc.h"
#include "SdFat.h"

Go to the source code of this file.

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.