This is not the most elegant solution, but here is how you can control what Syrinscape plays with Foundry VTT. At least until there is a hopefully more integrated way.
There are two ways to do this:
- Journal Entries: useful for changing moods, or certain one time sounds.
- Macros: useful for repeating one shots such as from spells.
Both methods require you to copy the play link from either the mood or the sound from the Syrinscape online master interface.
- Click the Hamburger in the upper right.
- Click “Show Remote Control Links”
- Click on the little play button (or stop if you want to trigger a stop) on the upper left of the mood or sound you want. It should say “Copied!”
- Save that link for use in one of the methods below
Journal Entries:
This is the simplest option, simply paste the link from above into your journal entry. You can then simply click on the link and it will play the mood or sound.
I generally put something like Syrinscape: Soundset-Mood and turn that into a link, but you do you.
Note, this will open a new tab which probably will take focus. I found that annoying and found a chrome plugin to force new tabs to the background.
Macros
I mainly use this to trigger sounds from spells or weapons. There are a few ways you can accomplish this, but let’s create the Macro first.
- Create a Macro
- Name it something like “Spell:SpellName”
- Change type to “Script”
- Enter this code:
fetch('-LINK-', { mode: 'no-cors'})
- Replace -LINK- with the link copied above (leave the surrounding ’ ’ )
- Test by clicking “Execute Macro”
Triggering the Macro
The simplest way is to just drag the the Macro to the hot bar and either the DM or player can click the button which will trigger the sound.
If you want to automate it on certain spells or magic attacks, there are two ways.
- Create a spell Macro by dragging the spell to the hotbar, then edit it to include the code from above. I find this way a bit messy, and you can only have a limited amount of items in your hotbar.
- Install the midi-qol module, and in it’s workflow settings enable “Add macro to call on use”. That will place a field at the bottom of every spell or attack Details tab labeled “On Use Macro”. Type your macro name there, and it will call it each time the player or DM uses that ability.
~DrWiFi