Skip to content

Sound recording will not work in 2017 with p5.js? #1739

@mmsmodell

Description

@mmsmodell

Dear Developers,

I have been using this very nice feature of P5.js which allowed me to record sound in browsers. However, it seems some key functions will be removed in 2017.

Chrome displays the following message on the Consol, even using P5 JS Example for Recording sounds -

'MediaStreamTrack.getSources is deprecated and will be removed in M56, around January 2017. See https://www.chromestatus.com/features/4765305641369600 for more details.'

Will there be a workaround to handle this problem? If so, what and how will I have to modify in the code to work again?

Ps. It would also be great that the recording source (Primary Mic, LineIn, Optical In, Webcam Mic, Headset mic), etc, all other such sources would be easily listable-selectable for the Client and there would be a very simple example on how to let the User select the source, maybe included in the 'Recording and Saving / Playing Sound' example on P5 Js's main Examples page.

Awaiting Your kind reply, and appreciate all Your work!
-Gergely Nagy / Hungary

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions