Twine Version: 2.9.0 (in-browser)
Story Format: Harlowe 3.3.9
I’m trying to get the Harlowe Audio Library to work in my game but I’m having issues. I’ve followed the setup instructions and added the provided .js and .css files into the Javascript and Stylesheet respectively, and added a passage named hal.tracks with the following code (though I’ve removed the actual URL):
smallLaugh: url
In the passage where I want the sound to play, I have:
(track: 'smallLaugh', 'play')
However, when I try to play the passage I get three errors saying “Error in A.newTrack() → see the console for more information” and “Error in A.track() → see the console for more information” and “Error in the (track:) macro: o is undefined”
I’ve tried using A.newTrack and A.track in Javascript instead but this hasn’t fixed the issue. Any help would be greatly appreciated, thanks!