OffsetSampleProvider output into byte array
mimeie opened this issue · comments
Hi
I'm using Skip and Take successfully and I really like this feature:
var source = new AudioFileReader("example.mp3");
var trimmed = new OffsetSampleProvider(source) {
SkipOver = TimeSpan.FromSeconds(30),
Take = TimeSpan.FromSeconds(60),
WaveFileWriter.CreateWaveFile16(outputFilePath, trimmed););
as explained here
For my case it would really help a lot if the source and the outpupt could be a byte array. So without saving it, loading it as byte array and then deleting it from the drive.
is this possible?
Thanks