#pragma once
#include <iostream>
#include <vector>
#include "AudioFile.h"
#define IF_RETURN(cond,ret) if (cond){return ret;}
#define VX_IF_EXCEPT(cond,ex) if (cond){throw std::invalid_argument(ex);}
template<typename T>
struct TFTensor {
std::vector<T> Data;
std::vector<int64_t> Shape;
size_t TotalSize;
};
namespace VoxUtil {
void ExportWAV(const std::string& Filename, const std::vector<float>& Data, unsigned SampleRate);
}