Open RoystonS opened 3 years ago
That sounds like a great idea. Let me think how I can do that.
(I'm having a very quick play myself as a quick C# refresher: my C# skills used to be good but are 10 years out of date.)
Thinking aloud: streaming to a MemoryStream using NAudio looks relatively straightforward (totally ignoring all the details of selecting audio devices and so on!) and you've already done the hard work of creating a lovely zip file to contain your JSON, so adding a .wav/.ogg file in there isn't too bad. That'd work fine for short streams where you could afford to hold all the .wav data in memory, but for longer streams you'd probably want to compress on the fly rather than at save time, to reduce overall memory consumption.
It would be really awesome if we could record audio along with the data track such that it automatically synchronises the audio at the right time during playback.
The use cases: