this post was submitted on 10 Mar 2024
242 points (95.8% liked)
Asklemmy
43984 readers
853 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I think that maybe not knowing how to make the embedded midi auto-play is more authentic!
But I used to use Autostart=true in the Embed tag.
@bandwidthcrisis@lemmy.world I was trying this with the HTML5 audio tag but not having any luck. It may be client browser specific.
Ah, sorry, I was only looking at what I did in the 90s!
Looking at the page, there's a console error that says something about "invoke Tone.start()" so I wonder if it needs some javascript to do that, maybe
<script type="text/javascript">Tone.start();</script>
I think that it's including this player code?
https://www.npmjs.com/package/midi-player-js
But the docs there describe creating a new MidiPlayer object and calling play() instead of start(), so I'm probably not helping.
I don't work with javascript, so this is all pure guesswork.