This is an old revision of the document!


Displaying MusicalEnvironment Content (In browser)

Imagine. One day, there was a guy named Tom. He created a very complicated MusicalEnvironment but did understand it completely and could not see what it did clearly. He also wanted to show his teammates his current MusicalEnvironment so that they could explain to him.

Warning: Read installation instructions and first steps tutorial first. Also assumes Konduktiva module is imported to the variable K and e variable is set to a default MusicalEnvironment.

Websockets protocol is used because it can be shared remotely over the internet as long as it is configured properly.

Will be automatically activated when Koduktiva module is loaded.

Wherever Konduktiva is installed, go there and open index.html in the browser.

To send the MusicalEnvironment information use thesendInfoToClient method in the MusicalEnvironment class.

e.sendInfoToClient()

This will send the information of e to all clients connected. The full documentation of how to use this method can be found here. (INSERT LINK after done)

  • displaying-musicalenvironment-content.1704162392.txt.gz
  • Last modified: 2024/01/01 18:26
  • by steve.wang