keijiro / jp.keijiro.libsoundio

libsoundio C# thin wrapper class library for Unity
MIT License
118 stars 11 forks source link

Is it possible to record input stream to a wav file? #2

Closed pajama closed 4 years ago

pajama commented 4 years ago

I'm wondering if it's possible to record the input stream to a file. I would greatly appreciate any guidance on how to implement that.

Thanks so much for putting this together! This plugin is the only way I've been able to get audio input from the azure Kinect microphones into Unity.

pajama commented 4 years ago

I was able to cobble together some code to save a .wav file by concatenating InputStream.LastFrameWindow inside a coroutine loop.

Hokore-Dev commented 1 year ago

@pajama I'm utilizing LastFrameWindow and I'm having difficulty acquiring the correct .wav, is it possible to request a sample code by any chance?