Quick and dirty client-server application to make it possible for clients to get a server to play certain sound clips it has on disk.
Can currently be set up to control Silverjuke, such that every time a sound clip is played on the server, it will lower the volume of Silverjuke until the end of the sound.
Feel free to fork and extend the application with more awesome features. This was mostly coded in a few hours, so it could do with some improvements!
Following is a short introduction on how to get started with AwesomeButton.
-
A network which both the server and client(s) can connect to (i.e. LAN or wireless)
-
Java installed on the server
-
Currently only Android devices are supported as clients.
-
Create a folder called
sounds
in the same folder as theAwesomeButtonServer.jar
is located. -
Put all the sound clips (
.wav
only) you want to be able to play in thesounds
folder. -
Create a file called
sounds.txt
in thesounds
folder. In this file each line represents a sound clip.
- Each line has to be formatted as:
<code-for-sound>//<name-of-sound-file>
:
I.e. runaway//RUN AWAY!
, where the file is called RUN AWAY!.wav
while the code for the
sound will become runaway
. Keep the code for the sound clip simple (no whitespaces/symbols/uppercase), and the name of the sound file without the .wav
ending.
A full setup including sounds and the server executable can be found in this example
-
Start the AwesomeButtonServer on the designated music computer by executing the AwesomeButtonServer.jar file
-
Note the IP the server which can be seen in the first line of the log window upon start-up.
-
If Silverjuke is to be used at the same time, click the
Find Silverjuke
button and locateSilverjuke.exe
on your computer with the file finder.
Get the AwesomeButton app by downloading the AwesomeButtonMobile.apk file onto your device and installing it. Note that you may need to give extra permissions to the application before you are allowed to install it.
Then to use it:
-
Be sure to connected to the same wireless/local network as the server.
-
Open the client app, and hit
Settings > Set Server IP
. Here enter the IP the server was given. -
Now get the sound list on the client by hitting
Settings > Get sounds
-
???
-
PROFIT