If your B_Audio field always looks like described above (having a [sound:*.*]
followed by <br>
followed by [sound:*.*]
) then you could probably use js to achieve your goal. Something in the lines of the following would work:
<script>
// use multiline string
var audio_field = `
{{B_Audio}};
`
// count how many <br> there are. Also see: https://stackoverflow.com/a/4009768
var count = (audio_field.match(/<br>/g) || []).length;
// if there is more than one count, then there must be a synonym
if (count > 1) {
console.log("play ding");
var audio = new Audio('_ding.mp3')
audio.play();
}
</script>