Tone.js icon indicating copy to clipboard operation
Tone.js copied to clipboard

There is no resume function for Tone.Recorder

Open samymsa opened this issue 3 years ago • 2 comments

The title says it all.

The MediaRecorder API actually does provide a MediaRecorder.resume() function. But, unforunately, Tone.js doesn't.

This means that whenever I pause my Recorder using Tone.Recorder.pause(), I won't ever be able to resume it. If I try to, I'll get the following error : Failed to execute 'start' on 'MediaRecorder': The MediaRecorder's state is 'paused'

samymsa avatar Feb 03 '22 00:02 samymsa

After calling pause, i believe you can restart the recording using start().

tambien avatar Feb 04 '22 02:02 tambien

That's what I thought, but doing this raises an error

Le ven. 4 févr. 2022 à 03:29, Yotam Mann @.***> a écrit :

After calling pause, i believe you can restart the recording using start() .

— Reply to this email directly, view it on GitHub https://github.com/Tonejs/Tone.js/issues/1026#issuecomment-1029582613, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARKM4E7LTUVZRHWXFX5TOSTUZM2YXANCNFSM5NNSCW4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

samymsa avatar Feb 04 '22 07:02 samymsa