Will WebView Be Deprecated?

Hello,

I was just wondering: will WebView be deprecated in a future version of SC? I have the impression that this may have been mentioned, although I cannot quite recall whether it was formally discussed.

Hi Prko,

I personally would like to see webview deprecated and eventually removed (in favor of a simple html viewer) - so if you heard it from someone, that might’ve been me. I find it quite funny/inelegant that we ship a fully fledged web browser, with javascript, webgl, wasm engines etc along with SC. And the internal communication between the WebEngine and SC is quite cumbersome.

Before that can happen though, we need to find a path forward for the documentation to use a different technology. There are ongoing discussions on that front, thought no clear path forward just yet, I don’t think.

Also, once language extensions become possible, if we get rid of the webengine, it could be possibly turned into a 3rd-party plugin, if someone really needs such functionality.

Disclaimer: these are my personal opinions, not necessarily reflecting the dev community’s views :slight_smile:

Marcin

2 Likes

@MarcinP
Thank you!

The reason I raised this is twofold:

  1. My Quark, Notator, generates MusicXML files directly from sclang code, and the WebView class is essential for displaying MusicXML within SC. I am currently considering how best to finalise the Notator quark.

  2. I am also preparing a guide (covering basic theory, SC, Audacity, and Reaper), which I write as SCD documentation and then convert to PDF via Chrome. I am uncertain whether this could be transferred correctly into the new documentation system.

For my purposes, it would be preferable if the existing functionality could be preserved, even if only in the form of a quark.

––

Max provides jweb, and even jweb~. I believe it would be valuable if SC could likewise offer functionality to make use of audio from the web, in the manner of jweb~.