Hi Ethan
Here are my lab notes about the sound issues. This has been happening since we started using the external embedding, it is not new. We are chasing down the problem now that more people are using the webcomponent.js script and finding the issue in several settings.
Sound issues in AusEaaSI
The problem:
Sound plays with appropriate timing in AusEaaSI Environments when played through the AusEaaSI UI. When the configured environment is played on a webpage, the sound takes up to 30 seconds to start being played.
Technical description:
The AusEaaSI UI console is used to configure environments by adding a disk image to a configured base
operating system environment. This was tested in December 2023 using Build 6C2B58F336, UI-Build D4E88C1BE2.
These saved environments can then be published so they are available for use on the web, using two linked web pages. These pages were provided by Simon Loffler and described on the forum at https://forum.eaasi.cloud/t/acmi-html-emulator-example/523.
One page, index.html, contains a link to webcomponent.js, a module available from https://emulation-as-a-service.gitlab.io/eaas-client/webcomponent.js. Index.html has the links to the Environment-ID strings and pointing back to the base.html page. This is a centered HTML page that loads an ACMI EaaSi game emulator from its environment-id.
The below instructions are edited from GitHub - ACMILabs/eaasi-game-emulator: A centred HTML page that loads an ACMI EaaSI game emulator. , removing references to ACMI’s internal XOS and Vernon cataloging. This page includes information to auto-populate the CD-ROM to the environment, which is not relevant in this testing example. What the pages do are:
- Find the environment-id of the game or media art
- Load the emulator centered in the browser in the linked page base.html
- If you visit that page without any ID set, you will see the Commodore 64 emulator
- To change the loading logo, set eaasEnvironment.innerHTML to your own HTML in index.html (this doesn’t exist on the index page I have downloaded, but the one at eaasi-game-emulator/index.html at main · ACMILabs/eaasi-game-emulator · GitHub does have it)
- To see an example HTML page of links to different environments load base.html
- this page can have any name, and is editable to have any set of named Environment-IDs linked from it which will open in index.html
Testing:
Test 1: Comparing performance of ACMI Archiving Australian Media Arts works to performance in AusEaaSI UI. These tests were done while sitting on ACMI’s footprint, logged into the acmi-wifi public wifi.
I used this web page to get to the emulation windows: Archiving Australian Media Arts | ACMI: Your museum of screen culture
Try = either reload the web page (Simon’s or ACMI) using “return”, or “restart emulation” button when in emulator.
13 December 2023
1:40PM – 2:40PM
Cute Machine
acmi-wifi
First try: sound starts appropriately
Second try: emulation does not load
Third try: 15 second delay
Fourth try: 35 second delay
Fifth try: 110 second delay
Cute Machine
acmi-wifi
in AusEaaSI UI
https://playitagain.aarnet.edu.au/resources/environment?resourceId=02df5341-f4ef-4938-9ad6-9c64d08f2f7f
first try: sound starts appropriately
second try: sound starts appropriately
third try: sound starts appropriately
fourth try: sound starts appropriately
fifth try: sound starts appropriately
Haiku Dada
Crashed 3 times before starting
10 second delay
crashed 3 more times
went to AusEaaSI to check environment there
3 times started but failed after displaying the desktop as above. Perhaps it doesn’t like the way AutoStart is enabled?
Orchestra of Rust
first time: emulation never started
second try: sound delay of about 5 seconds
third try: sound starts appropriately
Fourth try: 85 second sound delay
Fifth try: 120 second sound delay
Orchestra of Rust
In AusEaaSI UI
https://playitagain.aarnet.edu.au/access-interface/c81e11d7-5557-44be-97eb-303abe2fe0bb
First try: sound starts BEFORE brown intro image
Second try: sound starts BEFORE brown intro image
Third try: sound starts appropriately
Fourth try: pointerlock fails, game does not start
Fifth try: sound starts appropriately
Strange Cities
acmi-wifi
First try: emulator fails to load
Second try: sound starts appropriately
Third try: sound doesn’t load after 3 minutes. Also, cursor not active in window.
Fourth try: cursor OK and sound loads after 10 seconds
Fifth try: cursor OK sound loads after 20 seconds
Sixth try: cursor OK and sound loads after 30 seconds
Strange Cities
https://playitagain.aarnet.edu.au/resources/environment?resourceId=12df7863-2010-40ee-8717-549c3496db9e
acmi-wifi
AusEaaSI UI
First try: sound starts appropriately
Second try: sound starts appropriately
Third try: sound starts appropriately
Fourth try: sound starts appropriately
Fifth try: sound starts appropriately