#include "diskwriter.hxx" DiskWriter::DiskWriter() { }; void DiskWriter::writeAudioBuffer(int track, int scene, AudioBuffer* ab ) { // add the track / scene / name combo to audioConfig JSON node // write the AudioBuffer contents to /samples/ as .wav // or alternatively t__s_.wav } void DiskWriter::writeSession( std::string path, std::string sessionName ) { // write the audioConfig JSON node to /samples/sample.cfg // write session.luppp JSON node to /.luppp }