Skip to content
A GUI soundboard application template
Java
Branch: master
Clone or download

Latest commit

NanoDano Changed the way files are loaded so it can be deployed as a JAR file.…
… This breaks it as a 'standard application' in IntelliJ though.

Updated README to provide instructions on setting up the JAR artifact.
Latest commit e5f2f13 Dec 25, 2015

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
audio
images Initial commit of project Sep 20, 2015
src/soundboard Changed the way files are loaded so it can be deployed as a JAR file.… Dec 25, 2015
.gitignore Initial commit of project Sep 20, 2015
README.md Changed the way files are loaded so it can be deployed as a JAR file.… Dec 25, 2015

README.md

Soundboard

A GUI soundboard application template

Description

Soundboard is a JavaFX GUI application that allows the user to play sounds by clicking buttons. This package comes with one sample soundboard.audio file and one button. It is intended to be a template for creating your own soundboard.

How to Extend

To get started, open the .fxml layout file and add more buttons similar to the existing button. Define the callback functions and then implement those functions in the controller. The controller has a sample function that can be cloned to play different sounds or handle other actions.

Building and Running

With JetBrains IntelliJ IDEA, create a new project from this existing source. You must edit the File -> Project Structure and mark the src/ folder as source files before it will recognize the classes. You may also need to specify the compiler output path.

The audio and images are loaded in a way that only works with JAR files. To set up IntelliJ to create the JAR file, go to File -> Project Structure -> Artifacts. Add new Jar from Modules with dependencies. Choose the Soundboard module and specify the main class as soundboard.Main. In the Output Layout tab, create a directory called audio and one called images, and put the directory contents from the audio and images folders.

Contact

nanodano@devdungeon.com

You can’t perform that action at this time.