You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,10 @@ This will generate a Blob object containing the recording in WAV format. The cal
37
37
38
38
In addition, you may specify the type of Blob to be returned (defaults to 'audio/wav').
39
39
40
+
rec.getBuffer([callback])
41
+
42
+
This will pass the recorded buffer (as a Float32Array) to the callback. It can be played back by creating a new source buffer and setting this as its channel data (i.e. `newSource.buffer.getChannelData(0).set(recordedBuffer)`).
43
+
40
44
rec.configure(config)
41
45
42
46
This will set the configuration for Recorder by passing in a config object.
0 commit comments