-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting raw pcm data from recorded audio #261
Comments
@dfavaro Did you manage to do this? I have the same need. :) |
@Satys Not yet |
Please check this file: It may help you export PCM packets or buffers. var recorder = RecordRTC(audioStream, {
recorderType: StereoAudioRecorder
});
recorder.startRecording();
recorder.getInternalRecorder().getLeftRightChannels(function(leftChanenls, rightChannels) {
// do your own stuff here
}); Now modify // StereoAudioRecorder.js (add anywhere)
this.getLeftRightChannels = funtion(callback) {
// return any kind of data
callback(leftChannel, rightChannel);
}; |
Thank you, i'll try as soon as possible. I'll let you know. |
@muaz-khan I tried above code and it gives error that, |
Can we do it?
The text was updated successfully, but these errors were encountered: