I am creating an audio file in the server with exported blob data from Recorder.js
steps I have done:
1. recorded audio in chrome using recorder.js and recorderWorker.js
2.blob data is converted to base64 data.
3.I created .wav file in the controller with data .
Here data is added to file successfully , but audio play time is 2 seconds only.
byte dummyAudioData= Convert.FromBase64String(audioData);
var fname = "D:\\suri\\UseEveryTime.wav";
FileStream stream = new FileStream(fname, FileMode.Append, FileAccess.Write);
System.IO.BinaryWriter br = new System.IO.BinaryWriter(stream);
Please help me .
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)