Help making audio macro to work in sugarcube


i am new to Twine and I am trying to learn how to add sound. I have created an Storyinit with this code <<cacheaudio “mainsong” “music/DesertIntro.mp3”>> I have then added << audio mainsong play >> in the passage where I want audio to play. I then published the twine to the same folder that contains my music folder with the mp3 inside. When I run the twine and get to that passage I get this message "No macro or passage called “audio” I don’t understand what I am doing wrong that the audio macro is not being recognized apparently. Any help appreciated.

I am working with desktop version on Mac and using all my browsers to test (safari, firefox and chrome) and getting same error.

1 Like