PDA

View Full Version : How to use the new sound triggers in discord using the free VLC media player.



bayne7400
June 14th, 2023, 20:05
This uses a free extension provided on The Forge (by Tarkonian) and a few free software downloads. It works for Any ruleset.

I updated the video but make sure direct X audio is set to the virtual audio cable inside the VLC settings.

If you are using 5E you can purchase the sound packs on the store, make a copy, set the sound file to your sound file under VLC sound settings, and export that module to use in any 5E campaign. Should save you tons of time since Doug already made all the triggers. I talk about how to do this in the video.

I highly recommend you watch Doug's video on this. I did not want to have people sit through the same information.



https://www.youtube.com/watch?v=B7He9AazqMc


https://forge.fantasygrounds.com/shop/items/1227/view

https://www.kenku.fm/

https://download.videolan.org/pub/videolan/vlc/2.0.0/win32/

https://vb-audio.com/Cable/index.htm


Very detailed bot creation video. Use time stamps to skip rest.

https://www.youtube.com/watch?v=ATdnf-KqbKg

Special shoutout to: Tarks, Gwydion, and MeandUnique.

drempel
June 20th, 2023, 19:20
Maybe I missed it, but for me, VLC 2.0 is only playing one sound at a time. Like I can't start a music track via VLC and then a one shot without it stopping the background music. Is this something that's possible with straight up VLC, does it have a mixer? Or is it only really useful for one shot SFX and if you want other ambient sounds, you'll need to do something else (I assume that's what Kenku is doing in your setup)...which then makes me wonder why there is a "stop all" button instead of just "stop"

bayne7400
June 20th, 2023, 21:27
Use kenku to play your background sound. VLC will play over it. VLC can handle one track at a time.

Also make sure you check VLC audio and the direct X audio is set to the virtual audio cable.i left that out of the video.

Vass_Dts
June 22nd, 2023, 03:34
So............ I has a question.... Kenku has the ability to play many tracks at the same time because it also has soundboard functionality. In addition, Kenku can also go into Remote mode, and you can command it via HTTP requests. Wouldn't it be possible to have an extension that controls Kenku using the HTTP requests?

bayne7400
June 22nd, 2023, 13:31
I did not realize kenku could play more than one track at a time. As far as the remote mode I saw that. I need to see how remote mode is setup but I am sure we could definitely control it with an extension. I'll need to look at the mixer to see if the can work via web requests.the framework is already in the code to set this up.

Vass_Dts
June 22nd, 2023, 14:49
I did not realize kenku could play more than one track at a time. As far as the remote mode I saw that. I need to see how remote mode is setup but I am sure we could definitely control it with an extension. I'll need to look at the mixer to see if the can work via web requests.the framework is already in the code to set this up.

https://www.kenku.fm/docs/using-kenku-remote
It works with HTTP requests. It also has an Elgato streamdeck API which does not concern us.

57894

In the screenshot above, you have one main track playing. Then I've put two test sounds in the Soundboards playlist. These can play concurrently, each with the individual volume and loop on/off.

bayne7400
June 22nd, 2023, 15:40
OK that is pretty awesome. Each soundboard is given its own identifier. So when you set it up in Fantasy Grounds that basically will need to become part of sound ID. Im going to build something and see if I can get it up and running today

Vass_Dts
June 22nd, 2023, 15:52
OK that is pretty awesome. Each soundboard is given its own identifier. So when you set it up in Fantasy Grounds that basically will need to become part of sound ID. Im going to build something and see if I can get it up and running today

Awesome. Hope you figure it out. Already using some of your stuff. :D

bayne7400
June 22nd, 2023, 16:53
An issue I am seeing is that they are PUT requests not GET so not totally sure how I can convert the curl into a URL. This is not something I have a ton of knowledge in but maybe I can ask around :)

SilentRuin
June 22nd, 2023, 20:33
I so hate when things are assumed to be know that are super easy to the knower but take hours to figure out for the unkowner... I literally could not figure out how to get my discord bot to go into my channel... then accidently relooked at Kenku (outside of settings which was last direction I had so was still on that display) and found the server the bot connected to Kenku was displayed - along with channels I could select - then poof bot got added into the channel. WHAT a PAIN to figure out. To prevent others from suffering this fate I show this image...

57897

bayne7400
June 22nd, 2023, 21:14
I guess if your inputs were blocking it you would not have known! Thanks for sharing.

Griogre
June 22nd, 2023, 23:43
This is a video about connecting Syrinscape to Discord which I found very helpful because it takes you through how to setup the discord bot. There are timestamps so you can just look at the start but the last part has how to Connect the desktop Syrinscape App to Kenku FM through the Virtual Cable and you could easily sub in the VLC player instead of the desktop app.

https://www.youtube.com/watch?v=ATdnf-KqbKg

This is off the Syrinscape Forum here: https://forum.syrinscape.com/t/ultimate-kenku-with-discord-bot-to-use-syrinscape-with-local-sound-for-online-play/16723

Edit: typos :(

bayne7400
June 22nd, 2023, 23:53
Thanks I'm sure that may help. I'll add to initial post for a more detaied bot creation video.

KnightMark
June 23rd, 2023, 02:10
I was wondering if I'd find something in here about playing ambient and oneshot sfx through Kenku at the same time. Definitely seconding how nice having that functionality through FG would be; it was one thing I found cool about the Syrinscape integration. Though I definitely have a few more things to do, like checking on Direct X.

SilentRuin
June 23rd, 2023, 05:03
Am I missing something about Kenku FM saving current settings? Seems every time I come up in Kenku I have to remember to set that active input. Was hoping there is a way to just save it so whenever I come up in it its ready to go. But not seeing how.

Also saw Kenku FM had a remote for Http requests. Just wonded if VLC is actually even required if the Kenku FM can be managed directly like VLC does (middleman as the only thing the discord bot is talking with is kenku).

SilentRuin
June 23rd, 2023, 05:24
Also, not sure if anyone else is seeing this - but with pure VLC/Kenku and no syrinscape loaded anywhere on my machine - the FGU 5E triggers work sometimes and then don't and then do. It's very strange. I used to do some http driven applications and I know that those requests can be super finicky - at least 10 years ago anyway. If anyone else sees this weird behavior let me know. Seems in a new campaign with nothing in it I can't duplicate it - but one of my old test campaigns I use for testing extensions - triggers work then don't then work again - I have not seen a pattern except it seems the first one will fail and the latter ones will work - till they don't. With just the VLC extensions in 5E only. Also if you only every choose Yes on the URL accept box it will never not work. This is timing I think.

Gwydion
June 23rd, 2023, 11:53
Am I missing something about Kenku FM saving current settings? Seems every time I come up in Kenku I have to remember to set that active input. Was hoping there is a way to just save it so whenever I come up in it its ready to go. But not seeing how.

Also saw Kenku FM had a remote for Http requests. Just wonded if VLC is actually even required if the Kenku FM can be managed directly like VLC does (middleman as the only thing the discord bot is talking with is kenku).

I don't think you can save the active input that I'm aware of. Happens to me as well when I use Kenku.

bayne7400
June 23rd, 2023, 13:34
I told Tarks about the not playing sound randomly. He does a clear playlist first and I think that causes it to hang up sometimes. I am sure he will address it.

SilentRuin
June 23rd, 2023, 14:59
I told Tarks about the not playing sound randomly. He does a clear playlist first and I think that causes it to hang up sometimes. I am sure he will address it.

For sure when I was debugging (only ever answer YES to URL stuff) I saw an extra request on every single trigger. As you say - I think this is the cause of random strangeness in sounds not always triggering.

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=57901&d=1687528696

KnightMark
June 23rd, 2023, 15:50
Also, not sure if anyone else is seeing this - but with pure VLC/Kenku and no syrinscape loaded anywhere on my machine - the FGU 5E triggers work sometimes and then don't and then do. It's very strange. I used to do some http driven applications and I know that those requests can be super finicky - at least 10 years ago anyway. If anyone else sees this weird behavior let me know. Seems in a new campaign with nothing in it I can't duplicate it - but one of my old test campaigns I use for testing extensions - triggers work then don't then work again - I have not seen a pattern except it seems the first one will fail and the latter ones will work - till they don't. With just the VLC extensions in 5E only. Also if you only every choose Yes on the URL accept box it will never not work. This is timing I think.

Not exactly the same here, but I thought I should mention. Maybe it's something I've done/have not done, but so far the only trigger I've seen work is the chat text. I tried to set for an Attack-On Hit trigger and it failed to play, but when I did the same thing as a chat trigger with the word HIT, it goes off.

bayne7400
June 23rd, 2023, 16:04
Might be how you set the trigger up. It is case sensitive for sure. I have triggers for melee attack hit miss, range attack hit miss, slain messages, new round, cast fireball and lightning to name a new so far.

Maybe show a screenshot of trigger and output of chat.

KnightMark
June 23rd, 2023, 16:32
Oh, more than likely that I just set it up incorrectly from a limited understanding of how sound sets function. Sort of a non-issue, at least while sounds can't be played concurrently, but I'll attach a mock of what I did while testing, just without any sound linked. I also don't understand how to designate a sound as a music, mood, or sfx, but that may be a topic better suited to a different thread.57903

bayne7400
June 23rd, 2023, 16:37
So you can toggle trigger to chat and then setup your pattern matching. I believe that type:trigger only work in 5e.

I play OSE and 2E and I don't use syrinscape so I can't be certain. I use chat triggers for all of my sounds

SilentRuin
June 23rd, 2023, 16:38
Oh, more than likely that I just set it up incorrectly from a limited understanding of how sound sets function. Sort of a non-issue, at least while sounds can't be played concurrently, but I'll attach a mock of what I did while testing, just without any sound linked. I also don't understand how to designate a sound as a music, mood, or sfx, but that may be a topic better suited to a different thread.57903

I definitely get random triggers not work - then they work then they don't - so don't count on it being the trigger definition. Something odd is for sure going on with VLC extension (I assume scrinscape does not see the double requests going out on every trigger).

KnightMark
June 23rd, 2023, 16:52
I apologize; I am usually better about providing full and complete information. That was from a campaign using the 5e ruleset. A few other feature extensions added, but nothing else other than VLC support for sound.
A side note: sounds seem to be looping even without the loop button being depressed? Because when the sfx sound did trigger, it just looped over and over until stopped. Though that seems a separate issue. Again, 5e ruleset, just updated before testing, a few other feature extensions loaded.

bayne7400
June 23rd, 2023, 16:59
There is a loop button in the VLC controls next to volume. Perhaps it got pressed or current setting is set to loop. Can you try to hit that once? When I get home I'll show you an image of a chat trigger in FG.

KnightMark
June 23rd, 2023, 17:07
The whole thing is strange. What would happen is I'd have the music playing, the chat trigger would go off, and it would start looping the sfx. Unless I am misunderstanding what set to loop looks like versus not set to loop, this appeared to be the case even when not set to loop. I understand that part of this is VLC not playing more than one sound. Could be that the sfx are copying the settings from the music, which I probably would want to loop.

bayne7400
June 23rd, 2023, 17:09
Yeah because the loop is set. Just like it does not reset volume everytime you play a sound it does not reset the loop setting. It stays at last setting. I use kenku to loop the background and play the sfx on VLC only.

Egheal
June 24th, 2023, 06:19
Guys, have you tried the search bar of the "FGU Sound - VLC Support extension"?
It is working in the File and in the Syrinscape sections but not in VLC.
I tried to reach Tarkonian about this, with no success.
Can somebody try this search bar just to see if the problem is just on my side?
thanks.

SilentRuin
June 24th, 2023, 06:30
Guys, have you tried the search bar of the "FGU Sound - VLC Support extension"?
It is working in the File and in the Syrinscape sections but not in VLC.
I tried to reach Tarkonian about this, with no success.
Can somebody try this search bar just to see if the problem is just on my side?
thanks.

Has not worked for me with VLC.

SilentRuin
June 24th, 2023, 20:37
With the help of https://www.101soundboards.com/search/ for sounds and https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/2078932993/Using+Sound+Links#Advanced-Word-Matching-with-Regex for defining sound sets and https://www.fantasygrounds.com/forums/showthread.php?78105-How-to-use-the-new-sound-triggers-in-discord-using-the-free-VLC-media-player for defining VLC/Kenku FM/Discord bot... I am officially ready for Monday's game with sounds and using Kenku to also play background music...

VLC still has some issues like search not working and have to hit sounds twice occasionally in host (not seen it miss a sound from player) - but still... free... 🙂




https://www.fantasygrounds.com/forums/attachment.php?attachmentid=57923&d=1687635352

bayne7400
June 24th, 2023, 21:14
Nice work!

SilentRuin
June 25th, 2023, 02:00
I guess I need to know if this VLC extensions is actively supported. I was wrong when I said players could trigger the sounds consistently - its just inconsistent across the board - host or client. Sometimes they trigger sometimes they do not. Same triggers - same sounds - nothing I can tell is different between working and not working. Seems very timing something ish.

Question is as the code in the Vault I can't go see what the issue is and get it ready for my game if its an easy fix - so is this actively being maintained? I ask as I have no idea how old this is or how active the dev for it is.

For sure if I force a YES only on all URL questions it will work as it forces two answers (one blank shown earlier in this thread followed by the actual sound file). And if YES TO ALL is in effect sometimes if I force the host to play a sound it will make the next one play (after I click enough to get the sound to play first). If that helps.

SilentRuin
June 25th, 2023, 04:55
Finally noticed these errors occuring in console log - hopefully they help debug this - will pass to SW also...

Egheal
June 25th, 2023, 07:47
Has not worked for me with VLC.

Thanks SilentRuin. Unfortunately this extension is mostly unusable if we can't do search in it. I hope the creator can see this thread.

bayne7400
June 25th, 2023, 15:46
Silentruin I spoke to Tarks it it looks like our issue could be related to the port on our PC used.for.VLC and firewall or another program using that port. If I get time I'm going to mess with it today.

As far as search goes that's getting hooked up. I'd remind everyone this is free and he is doing this out of the goodness of his heart.

Egheal
June 25th, 2023, 16:06
Thanks Bayne and lot of thanks to Tarks for this great app.

Edit: 06/25 The search problem has been solved by Tarks! :)

SilentRuin
June 25th, 2023, 16:33
Silentruin I spoke to Tarks it it looks like our issue could be related to the port on our PC used.for.VLC and firewall or another program using that port. If I get time I'm going to mess with it today.

As far as search goes that's getting hooked up. I'd remind everyone this is free and he is doing this out of the goodness of his heart.

Understood - just needed clarity on if this was something being worked on (some extensions fall by the wayside and are no longer maintained). Was actually looking at Kenku and FGU interal play sound and sound id coding stuff as a backup if this remains an issue. Seems if you start remote on kenku you should be able to query its soundboard id's then play them. Obviously this would differ from VLC and Syrinscape as there would be no "File Import" option - it would just pull out whatever soundboard you identified to use in Kenku. Guess "file import" would really be a soundboard id and sound id in it. HTTP syntax seems fairly straightforward - but honestly - if this VLC stuff works I'm good with using it for sure before I tried to do anything myself.

And for sure appreciate his working on it. And warn him - users are the bane of all extensions devs! ;)

bayne7400
June 25th, 2023, 16:45
The problem with Kenku is it requires a PUT request to play sounds or control the web interface. There is a separate thread for Kenku with Moon Wizards response as to why Unity cant do it. VLC works by just opening the URL and the rest is embedded into the code.

SilentRuin
June 25th, 2023, 17:09
The problem with Kenku is it requires a PUT request to play sounds or control the web interface. There is a separate thread for Kenku with Moon Wizards response as to why Unity cant do it. VLC works by just opening the URL and the rest is embedded into the code.

Did not know that, figured if FGU (based on unity) supported HTTP - it fully supported it. Not sure if I included this as part of my error log but if this helps these occurred first...

[6/25/2023 11:05:01 AM] [WARNING] uri: DUPLICATE - https://localhost:8080/requests/status.xml?command=pl_empty
[6/25/2023 11:05:01 AM] [WARNING] uri: DUPLICATE - https://localhost:8080/requests/status.xml?command=in_play&input=file:///C:/Users/whperry/AppData/Roaming/SmiteWorks/Fantasy%20Grounds/sounds/look-whos-back.mp3

Moon Wizard
June 25th, 2023, 17:25
The DUPLICATE message shows up if two URLs are called back to back in the same script call; or if the URL request gets hung up.

Also, it looks like the client was queueing URLs as if they had a callback for Interface.openURL calls, even if it didn't have a callback; so I'll get that addressed in next client build. That doesn't change what is happening, just that the DUPLICATE messages will show up if response isn't immediate when sending the same sound multiple times within same script or before VLC can respond.

Regards,
JPG

Vass_Dts
June 25th, 2023, 22:51
The problem with Kenku is it requires a PUT request to play sounds or control the web interface. There is a separate thread for Kenku with Moon Wizards response as to why Unity cant do it. VLC works by just opening the URL and the rest is embedded into the code.

Ah, that's a shame. Oh well.

SilentRuin
June 26th, 2023, 04:41
The latest update has fixed the search and a superficial test seems to show the sounds are no longer randomly dissapearing. I will find out during tomorrows game if it all holds up, but for now it appears to all be working.

Very nice.

Only caveat (speaking as an extension dev on Forge myself) the delivery was done oddly as it forced the VLC extension to be chosen again in all campaigns that previously had it selected. That's not a normal delivery update from Forge FYI. Usually only happens if something got moved from vault to extension directory but I see no sign of it in extensions so not sure what caused that.

SilentRuin
July 6th, 2023, 02:57
And still they are doing their Forge updates incorrectly - as you have to recheck the VLC extension anytime they load a new version. Guess they don't care. Get used to having to recheck it every time you load after they change it.

Trenloe
July 6th, 2023, 09:33
What @SilentRuin is eluding to is this - FG uses the name of the extension as the reference for which extensions have been enabled in a campaign. The "name" of an extension is the filename of the .ext file.

So, looking at a version of this extension in the Forge vault file on my computer, the extensions name in this case is "Sounds - VLC (Import Text Patch) - LIVE". If a future release changes this name within the Forge package then the GM will need to re-enable the extension as FG sees it as a different extension.

I know this can make it a little harder to track versions in the background, but the recommendation is to use a meaningful name for the extension (e.g. "Sounds - VLC") and keep to that going forwards, not changing it with future releases.

https://www.fantasygrounds.com/forums/attachment.php?attachmentid=58113

LokVahdin
July 9th, 2023, 20:47
I highly recommend you watch Doug's video on this. I did not want to have people sit through the same information.

And where is "Doug's video" located?

Trenloe
July 9th, 2023, 21:09
And where is "Doug's video" located?
Find it here: https://www.fantasygrounds.com/forums/showthread.php?78080-Fantasy-Grounds-v4-4-0&p=689245&viewfull=1#post689245

SilentRuin
July 27th, 2023, 17:20
Anyone else getting a limited VLC list of sounds? Looks like I have no paging controls and it only shows the first page. I can search and see that it contains the things its not displaying but unless I specifically search on a known name I can't see it to put it into a setup.

Egheal
July 27th, 2023, 20:05
Same for me, only one page. Tarkonian does not have the problem. Happy to not being alone here. Even on a fresh campaign with no other extension I only have the first page.

SilentRuin
July 27th, 2023, 20:11
Same for me, only one page. Tarkonian does not have the problem. Happy to not being alone here. Even on a fresh campaign with no other extension I only have the first page.

I suspect you need to clear the sounds and re import them with file paths. Likely he’s not doing that as that is when I noticed it happen - after I control A selected all my sound directory and right mouse copy path and pasted into file path form.

Egheal
July 27th, 2023, 20:18
I have done that multiple times. I'm confused, do you still have this problem or not?

SilentRuin
July 27th, 2023, 20:20
I have done that multiple times. I'm confused, do you still have this problem or not?

You confusing me. I said I have the problem. I theorized why someone might not see it as I used to not see it and the extension has not updated.

Egheal
July 27th, 2023, 20:30
It has been updated though (to correct another problem, the impossibility to write in the file page).
It seems that, since then, we have this new bug.

SilentRuin
August 1st, 2023, 16:08
Curious - during my 6 player weekly game I noticed that some Kenku error screen had been up in the background I'd not noticed. Is that a known thing? Never noticed it before.

Tarkonian
August 3rd, 2023, 19:18
I responded to your inbox Egheal, but wanted to update this forum too.

I was finally able to recreate this error and see what was happening.
The paging was using a little bit of the new UI formatting and a little bit of the old UI formatting.
That would explain why it works for some but not others.
Now that the big update to get everyone over to the new way was pushed, this has been updated to match. I've pushed an update for this and it SHOULDN'T reset itself this time when it updates.

Egheal
August 3rd, 2023, 20:08
Thanks for your help Tark!

With a new CoC7e campaign, no extension (except yours) I have those warnings in log :

[8/3/2023 9:00:56 PM] Match successfully created on lobby.
[8/3/2023 9:01:08 PM] MEASURE: RULESETS LOAD - 11.233241 - CallOfCthulhu7E
[8/3/2023 9:01:08 PM] MEASURE: EXTENSIONS LOAD - 0.0045046 - 1
[8/3/2023 9:01:12 PM] MEASURE: MODULE LIST BUILD - 4.4116848 - 305
[8/3/2023 9:01:12 PM] MEASURE: REFRESH IMAGE ASSETS - 0.1283568
[8/3/2023 9:01:12 PM] MEASURE: REFRESH PORTRAIT ASSETS - 0.0175632
[8/3/2023 9:01:12 PM] MEASURE: REFRESH TOKEN ASSETS - 0.3686689
[8/3/2023 9:01:12 PM] MEASURE: ASSET LIST BUILD - 0.5145889
[8/3/2023 9:01:14 PM] MEASURE: LOAD - PART 1 - 17.3496154
[8/3/2023 9:01:16 PM] RULESET: Call of Cthulhu (7th Edition) ruleset (v2023-07-04)
Copyright 2021 Smiteworks USA, LLC
[8/3/2023 9:01:16 PM] RULESET: Call of Cthulhu
Copyright 2021 Chaosium Inc.; all rights reserved.
Call of Cthulhu (r) is the registered trademark of Chaosium Inc.
[8/3/2023 9:01:16 PM] RULESET: Ruleset Conversion by DIE Hard Gaming
(LINK)
[8/3/2023 9:01:16 PM] RULESET: Core RPG ruleset (2023-06-27) for Fantasy Grounds
Copyright 2023 Smiteworks USA, LLC
[8/3/2023 9:01:16 PM] EXTENSION: Extension (Feature: Sounds - VLC) loaded.
[8/3/2023 9:01:16 PM] MEASURE: LOAD - PART 2 - 2.794774
[8/3/2023 9:01:47 PM] [WARNING] template: Could not find template (filter_label_content_top_right) in class (sound_settings_filter_vlc)
[8/3/2023 9:01:47 PM] [WARNING] template: Could not find template (filter_stringc_content_top_right) in class (sound_settings_filter_vlc)
[8/3/2023 9:01:47 PM] [ERROR] Script execution error: [string ".. Text Patch) - LIVE:..ings_filter_vlc.lua"]:11: attempt to index global 'filter_name' (a nil value)
[8/3/2023 9:01:47 PM] [WARNING] template: Could not find template (label_list_content_centered_right) in class (sound_settings_content_vlc)
[8/3/2023 9:01:47 PM] [ERROR] Script execution error: [string ".. Text Patch) - LIVE:..ings_filter_vlc.lua"]:11: attempt to index global 'filter_name' (a nil value)
[8/3/2023 9:02:50 PM] [ERROR] Script execution error: [string ".. Text Patch) - LIVE:..ings_filter_vlc.lua"]:11: attempt to index global 'filter_name' (a nil value)

File import does not work :dead:;)

Tarkonian
August 4th, 2023, 18:36
The fix I have only works on TEST for now. Until then, the TEST server will have the updated fixes, and the LIVE server will have the last working version until the UI changes are pushed to live (should be near the end of the month).

Egheal
August 4th, 2023, 22:10
Perfect, thanks!

Arnagus
August 11th, 2023, 10:09
Very stupid question: is there any way to update the sounds in each trigger (from the official Syrinscape modules) outside of Fantasy Grounds? E.g. by copying the triggers "at large" and exporting them, so a script can do the replacement?
Currently, I only see the option to open EACH trigger in Fantasy Grounds manually, add the new sound, and remove the Syrinscape sound.
Very cumbersome.

Trenloe
August 11th, 2023, 12:29
Very stupid question: is there any way to update the sounds in each trigger (from the official Syrinscape modules) outside of Fantasy Grounds? E.g. by copying the triggers "at large" and exporting them, so a script can do the replacement?
Currently, I only see the option to open EACH trigger in Fantasy Grounds manually, add the new sound, and remove the Syrinscape sound.
Very cumbersome.
There's a "CSV Import" option in the Sound Settings window. If you've already done a "Web Import" there's be a "sounds_syrinscape.csv" file in your <FG app data> directory - this is a good example of the format needed for the CSV import.

Arnagus
August 11th, 2023, 17:10
There's a "CSV Import" option in the Sound Settings window. If you've already done a "Web Import" there's be a "sounds_syrinscape.csv" file in your <FG app data> directory - this is a good example of the format needed for the CSV import.

Other way round, and not for the sounds but for the triggers. I want to replace the sounds in the triggers (instead of touching each single trigger within Fantasy Grounds).

Tarkonian
August 31st, 2023, 14:55
I'm going to upload a new LIVE patch and I'm going to change the extension file name ONE LAST TIME. This is to make the errors easier to identify as Sounds - VLC, instead of the trailing text I have on it now. Sorry, I know you all hate it, but I promise I won't do it again unless I absolutely have to.

Egheal
September 3rd, 2023, 08:39
All is working fine, thanks Tarkonian.

Halahad
October 6th, 2023, 05:30
Can't download extension from https://forge.fantasygrounds.com/shop/items/1227/view
59003

WishX
October 12th, 2023, 17:14
Can't download extension from https://forge.fantasygrounds.com/shop/items/1227/view
59003

This should now be available for download.

Weepdrag
November 14th, 2023, 23:05
Hey all,
I finally got everything to work with one exception.
Whenever I trigger a sound, etc. VLC player insists on playing all of the previous sounds as well. Is there a way to kill the playlist so that it doesn't happen. As it sets, I'm needing to go into VLC and delete the playlist between sounds. Is anyone else experiencing this issue? I'm sure it's a VLC thing but, maybe someone has figured it out.

Any ideas,

Thanks in advance

bayne7400
November 14th, 2023, 23:06
Are using VLC 2.0?

Weepdrag
November 15th, 2023, 00:18
Yep, I completely removed my old VLC player and re-downloaded the 2.0 clean.
Thanks

I found the problem:

VLC player installed with the "shuffle" button on. NO buttons should be on for this to work. I undid the button and Viola! it works as intended.

SilentRuin
December 12th, 2023, 01:55
VLC sounds today don't seem to be working for me. They did last week.

SilentRuin
December 12th, 2023, 16:45
An update from my log shows the connection was refused:

[12/12/2023 10:40:20 AM] [WARNING] URL: http://localhost:8080/requests/status.xml?command=in_play&input=file:///C:/Users/myname/AppData/Roaming/SmiteWorks/Fantasy%20Grounds/sounds/my.mp3

[12/12/2023 10:40:13 AM] [WARNING] URL: System.Net.WebException: Error: ConnectFailure (No connection could be made because the target machine actively refused it.
) ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it.


I have changed nothing - I see fantasy grounds has normal firewall access to all ports inbound and outbound - not sure what is going on.

SilentRuin
December 12th, 2023, 17:11
What a royal pain... for the computer literate - sometimes your dns cache can be scrambled by something (who knows why or how)...

Go into your windows "cmd" window and keyin:

ipconfig /flushdns

This resolved my issue.

SilentRuin
January 9th, 2024, 03:31
VLC stopped working for players tonight with bot showing deafened with no way to enable it. I'll have to investigate but had lots of sound troubles and had to turn it all off.

SilentRuin
January 13th, 2024, 04:47
Still not sure what is going on (deafend is normal as bot can't hear). Everything works on host side but will only work across discord bot (to players) if I have virtual cable set on my windows sound settings output. If I set to my headphones the players can't hear anything from the VLC end - only the kenku end. I uninstalled/reinstalled the VLC 2.0 and virtual cable - and all appears to be functioning but somehow the VLC sounds going through virtual cable into Kenku and then into discord bot are not showing up. The discord bot channel only seems to catch things when I set my windows sound settings output to virtual cable.

This used to work regardless of where I have my windows sound settings going.

Gwydion
January 13th, 2024, 14:10
Still not sure what is going on (deafend is normal as bot can't hear). Everything works on host side but will only work across discord bot (to players) if I have virtual cable set on my windows sound settings output. If I set to my headphones the players can't hear anything from the VLC end - only the kenku end. I uninstalled/reinstalled the VLC 2.0 and virtual cable - and all appears to be functioning but somehow the VLC sounds going through virtual cable into Kenku and then into discord bot are not showing up. The discord bot channel only seems to catch things when I set my windows sound settings output to virtual cable.

This used to work regardless of where I have my windows sound settings going.

I don't juse kenku a ton but I'm pretty familiar with it. If you want to DM me on discord I'm happy to see if I can help troubleshoot with you.

SilentRuin
January 13th, 2024, 21:18
Gwydion made a workaround for me that worked great. Though it involves not using the video on page 1's VLC settings (using Direct X output instead) - but I'll let him explain if he wishes.

SilentRuin
January 22nd, 2024, 19:38
Another tip I've found in pre game session testing is in addition to using VLC settings Direct X output - I also set Kenku to multiple outputs and select My Computer as one of them. This allows my speakers or headphones to still hear the sounds coming through Kenku. Still a bit confused, as my speaker was not picking up sound effects but my headphones were. Not sure if it was discord default not piping stuff properly to all the active sound systems or that something else was going on. But this insured I always get sound whether on my headphones or speakers. All this used to work fine so not sure what changed so this may just be a hack solution for something wrong on my end - but it works. Which is all I care about.

jackal713
February 6th, 2024, 16:41
Hi Bayne7400. Awesome post!
I'm having trouble with one part. "If you are using 5E you can purchase the sound packs on the store, make a copy, set the sound file to your sound file under VLC sound settings, and export that module to use in any 5E campaign."

This is exactly what I would like to do, but being new to Fantasy Grounds, I still have not learned how to do this. I've searched but no luck. Could you point me in the direction of some recommended documentation on doing this?

Thanks and sorry if I'm bringing up a dead post.

bayne7400
February 6th, 2024, 16:44
To copy a sound trigger you open the menu from the sidebar and drag the link off then back onto this list of sound triggers. This will let you unlock the record and make changes if you desire. Is this what you are asking?

jackal713
February 6th, 2024, 16:53
YES! That's exactly what I was trying to do. Given how easy it was no wonder there were no instructions. I just tried it and it worked without issue.
THANK YOU!

webdove
February 11th, 2024, 19:37
Hi,

I am puzzled on this topic by one thing.

I have VLC 3.0.20 setup with a web interface.

When I use chrome to open http://localhost:8080 I get this response:
Password for Web interface has not been set.
Please use --http-password, or set a password in
Preferences > All > Main interfaces > Lua > Lua HTTP > Password.

When I open http://localhost:8080/requests I get
404 Not found (/requests)

When I invoke C:\"Program Files"\VLC\vlc.exe --http-password="" I still get:
Password for Web interface has not been set.
Please use --http-password, or set a password in
Preferences > All > Main interfaces > Lua > Lua HTTP > Password.

What should I do to allow VLC to accept connections from FGU without a password?

Thanks
Web Dove

SilentRuin
February 11th, 2024, 19:43
Are you planning to write your own VLC interface?

Good luck!

This one only uses VLC 2.0 as per the directions/posts you read and video you watched.

Tarkonian
February 11th, 2024, 20:19
Hi,

I am puzzled on this topic by one thing.

I have VLC 3.0.20 setup with a web interface.

When I use chrome to open http://localhost:8080 I get this response:
Password for Web interface has not been set.
Please use --http-password, or set a password in
Preferences > All > Main interfaces > Lua > Lua HTTP > Password.

When I open http://localhost:8080/requests I get
404 Not found (/requests)

When I invoke C:\"Program Files"\VLC\vlc.exe --http-password="" I still get:
Password for Web interface has not been set.
Please use --http-password, or set a password in
Preferences > All > Main interfaces > Lua > Lua HTTP > Password.

What should I do to allow VLC to accept connections from FGU without a password?

Thanks
Web Dove

The issue is that you are using VLC 3.0.20

The VLC extension for FG only works with the old VLC 2.0.0 versions (I know, not ideal).
There are limitations in to what we can send so we I made this community extension with the older version that didn't require the password.
Either VLC needs to re-adopt the old way where no passwords is still acceptable, or a future update to our codebase is needed to allow more sensitive information like a password.
The link to the VLC Archives is on the FGU SOUND - VLC SUPPORT (https://forge.fantasygrounds.com/shop/items/1227/view) extension page.

Please keep in mind this was not an officially backed Fantasy Grounds extension. I made this in my spare time with their approval and its updated when I have time to.
If you want to try and update this extension then please feel free to do so. I did release the code so you should be able to see the source code in the extensions section.
I also made this as a template for other modders to look at if they want to build their own integrations for their favorite media player (Hoping for Winamp *crosses fingers*).

webdove
February 11th, 2024, 21:05
I looked at the Atlassian description of the LUA OpenURL operator and it does not appear to have a user/password security option so I don't know how you would make a password work. If anyone can tell me how to include a password as a part of the OpenURL operation I would be happy to experiment with it.

webdove
February 11th, 2024, 22:56
I seemed to have a successful setup. I fed my mike and VLC into VB-Cable input and fed vb-Cable output into discord. "Let's check" in Discord is showing both sources properly.
I have the two Pathfinder 2 Soundlink packs loaded.

I have one remaining question. Since I have stopped my supersyrin subscription to save money in the long term what advice can you offer on where to find useful sounds to put in my fantasy grounds unity data\sounds folder?

bayne7400
February 11th, 2024, 23:03
If you go into FG discord there is an audio resources channel. Scroll to 6/3/23 and Gwydion posts a ton of resources. I wish I could link it to you but IM not sure how or if that is even possible.

On top of that You can also find some individual sounds form DTRPG.

SilentRuin
February 12th, 2024, 05:48
With the help of https://www.101soundboards.com/search/ for sounds and https://fantasygroundsunity.atlassia...ing-with-Regex for defining sound sets

orien45
April 7th, 2024, 23:40
I am sorry if this has been answered elsewhere, but I could not find it. Are the Syrinscape packs all ruleset dependent? I play 3.5 so if everything is 5th I am out of luck

LordEntrails
April 8th, 2024, 15:34
I am sorry if this has been answered elsewhere, but I could not find it. Are the Syrinscape packs all ruleset dependent? I play 3.5 so if everything is 5th I am out of luck
Yes the sound link packs are ruleset dependent, because they use specific phrases that can be unique to each ruleset. That said, 3.5 might be close enough to 5E that most sounds would work without you adjusting the trigger, BUT you would need the Universal Module Extension to open the module in a 3.5 campaign.

Note that if you purchase through the FG Store, you have 30 days to try it out and if it's doesn't work well enough, then you can return it for a full refund by emailing support.

You also might check the 3.5 forums and the Forge to see if anyone has created a module for that ruleset.

show4bro4
July 1st, 2024, 15:13
Another great websites I use to find sounds are:
- Voicy http://www.voicy.network
- Myinstants (only allowed to post 1 link lol)

SilentRuin
May 21st, 2025, 22:22
I've only ever had two problems with VLC/Kenku/Discord bot so far.

The first I've mentioned before - sometimes its just not working when I start up...

ipconfig /flushdns

in a windows command prompt always seems to fix this (some network or DNS change).

The other is it starts to garble sounds over time (takes about an hour of game play).

I noticed that when I'm running kenku it has "process efficiency" turned on in some of its multi processes. I googled if this could harm it and the AI told me it could especially when used in gaming environments. So next time we play I'm going to turn off "process efficiency" on any of the processes kenku creates and see if that helps. As its a few weeks before this will likely happen - if any one else suffers from this garbling over time of sounds - especially if your playing background music also in kenku for your discord bot channel - and you turn off process efficiency before hand and it no longer happens.

Let me know. Will save me an experiment.

""

SilentRuin
October 21st, 2025, 04:37
Anyone who uses Kenku as part of their sound operations with discord should be aware that 1.4.3 gives error for encryption with discord bot now - the following I got from a reddit page about this error - using the experimental version fixed the VLC extension (VLC->Kenku->Discord bot) for sounds in FG. This if pretty recent stuff..

> Just beware that this is now a short-term fix, because Discord has begun rolling out new end-to-end audio encryption on all its servers, which Kenku FM v1.4.3 doesn't fully support.
>
> The long-term fix is to upgrade to the new Kenku v1.6.2 experimental version, which is available to download here: https://kenku.fm/experimental
>
> This will become the current release version when we're satisfied that it is stable and settled.

SilentRuin
April 23rd, 2026, 20:26
TEST has broken VLC sounds extension by freezing the yes/no window with no way to answer or get rid of it. Example, first time in campaign trigger a sound and it will present the question window for the URL and be locked.