|Last updated||2 months ago|
|Created||2 months ago|
|Project source||Project URL|
This is a simple module that adds a small HTML audio player (https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/Audio) meant specifically for playing an audio stream.
The module has a play button, a stop button, a volume slider, and a settings button that reveals a text field where you can change the URL of the audio stream.
If the GM of the game updates the stream URL, then it is also updated for all users.
To install, use this manifest URL: `https://raw.githubusercontent.com/Tmktahu/foundry/master/music-streamer/music-streamer/module.json`
Personally, I find Foundry's audio tooling clunky when trying to play specific tracks at specific times at specific volumes. It's great for ambient play-and-forget music, but not so much for planned tracks I play during cutscenes or events. So I prefer to use my own music player on my computer and coded this to let me do that.
The basic idea is you connect your local audio player to a music streaming server and then access that music stream via an audio stream URL. There are a good number of tools and setups to accomplish this. My prefered setup uses Winamp and SHOUTcast which looks like:
Winamp Player w/ SHOUTcast Source DSP v2.3.5 plugin ==> SHOUTcast DNAS v2.5 Server run locally ==> Foundry audio player
The module here is merely an audio player. Most of your setup will be getting the audio streaming server up and running. It'll involve some configuration of the streaming server, some port forwarding, and some configuration of your music player. Then once everything is up and running you can stick the music stream URL (in my case it's my global IP address on port 8000) into the Foundry audio player.
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: music-streamer or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.