Broken code links on Netlify-hosted melspectrogram-rt and pitch-melodia-rt demos
jmarcosfer opened this issue · 0 comments
jmarcosfer commented
What is the issue about?
- Bug
- Feature request
- Usage question
- Documentation
- Contributing / Development
What part(s) of Essentia.js is involved?
- essentia.js-core (vanilla algorithms)
- essentia.js-model (machine learning algorithms)
- essentia.js-plot (plotting utility module)
- essentia.js-extractor (typical algorithm combinations utility)
- demos (essentia.js/examples)
Description
-
Broken code links on Netlify-hosted versions (SharedArrayBuffer enabled) of melspectrogram-rt and pitch-melodia-rt demos, e.g. https://essentiajs-melspectrogram.netlify.app/
-
Also original demos that point to Netlify-hosted versions use
window.confirm()
dialog which does not show when the page is not the active tab of the front window (e.g. when the user opens demo in new tab from examples index). This is bad user experience, and means many people may not see the working demo.
Steps to reproduce / Code snippets / Screenshots
- go to https://essentiajs-melspectrogram.netlify.app/ and click on the "Code" link.
- Scroll-click or right-click -> open link in new tab, on "Melspectrogram (Real-time)" from https://mtg.github.io/essentia.js/examples/
System info
Problem 1) N/A since it's a URL problem
Problem 2) seen on Chrome 95.0.4638.54, on Ubuntu 21.10