G’day,
Download the attached and drag into tiddlywiki.com to import the 3 tiddlers.
“I Play Sound on Render” tiddler references the sound macro, playing a tone upon render of the tiddler.
The related macro is in the “Macro” tiddler.
The “HTML Sound Player” tiddler is fed by the Macro into an iframe to execute the javascript that creates the sound.
Because sounds at higher frequencies sound obnoxiously loud, I’ve set things up to make the higher frequencies less loud and the lower frequencies louder.
Kind of an easy way to generate simple beeps and boops and bell sounds without much fuss.
TW_SoundMacro.json (1.57 KB)