p5.js-sound icon indicating copy to clipboard operation
p5.js-sound copied to clipboard

https://p5js.org/reference/#/p5.AudioIn/getSources 404 error

Open paulks-software opened this issue 4 years ago • 5 comments

404 error on mozilla link https://p5js.org/reference/#/p5.AudioIn/getSources and i get , how to list all devices?

This browser does not support MediaStreamTrack.getSources() (index):86 Uncaught TypeError: Cannot read property 'getSources' of undefined at e.div.setup ((index):86) at e. (p5.min.js:4) at e. (p5.min.js:4) div.setup @ (index):86 (anonymous) @ p5.min.js:4 (anonymous) @ p5.min.js:4 load (async) e @ p5.min.js:5 (anonymous) @ (index):102

Most appropriate sub-area of p5.js?

  • [x ] Accessibility (Web Accessibility)
  • [ ] Build tools and processes
  • [ ] Color
  • [ ] Core/Environment/Rendering
  • [ ] Data
  • [ ] DOM
  • [ ] Events
  • [ ] Friendly error system
  • [ ] Image
  • [x ] IO (Input/Output)
  • [ ] Localization
  • [ ] Math
  • [ ] Unit Testing
  • [ ] Typography
  • [ ] Utilities
  • [ ] WebGL
  • [x] Other (specify if possible)

Details about the bug:

  • p5.js version:
  • Web browser and version:
  • Operating System:
  • Steps to reproduce this:

paulks-software avatar Oct 25 '20 11:10 paulks-software

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

welcome[bot] avatar Oct 25 '20 11:10 welcome[bot]

I am pretty sure, haven't tested it yet, but P5.JS will not support ANY preload call, be it for audio, vidio, images, etc. In my estimation, pretty useless without that.

On Sun, Oct 25, 2020 at 6:03 AM Paul Ksi [email protected] wrote:

404 error https://p5js.org/reference/#/p5.AudioIn/getSources and i get , how to list all devices?

This browser does not support MediaStreamTrack.getSources() (index):86 Uncaught TypeError: Cannot read property 'getSources' of undefined at e.div.setup ((index):86) at e. (p5.min.js:4) at e. (p5.min.js:4) div.setup @ (index):86 (anonymous) @ p5.min.js:4 (anonymous) @ p5.min.js:4 load (async) e @ p5.min.js:5 (anonymous) @ (index):102 Most appropriate sub-area of p5.js?

  • [x ] Accessibility (Web Accessibility)
  • Build tools and processes
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Friendly error system
  • Image
  • [x ] IO (Input/Output)
  • Localization
  • Math
  • Unit Testing
  • Typography
  • Utilities
  • WebGL
  • Other (specify if possible)

Details about the bug:

  • p5.js version:
  • Web browser and version:
  • Operating System:
  • Steps to reproduce this:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/processing/p5.js/issues/4875, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKX6JXSPCNCW7O34FYFMTTSMQAX3ANCNFSM4S6IBYKA .

jathomaz avatar Oct 25 '20 13:10 jathomaz

Seems to be some typos on the documentation, I'll redirect this issue to the p5.js sound repo.

limzykenneth avatar Oct 25 '20 16:10 limzykenneth

Close it, sorry, found the issue

paulks-software avatar Oct 25 '20 20:10 paulks-software

But you can update the website ofc

paulks-software avatar Oct 25 '20 20:10 paulks-software