A soundboard built into a RichTextbox so it can be used to both read the script of a theatre play and play music and/or sound effects from buttons integrated to the script itself!
- Create a .script file
- Import it
- Do what you want!
- Because the program loads sound files when the mouse is hovered over a button so that sound is not delayed on press, it will cause a crash if the file is not found at where it should have been. This is technically not my fault but yours, but I thought some of you may create an issue called "hover over button to crash" to me. So, before opening an issue, check if file exists, check if the path in the script is correct and the file integrity.
- I highly recommend keeping sound files in the same directory as the executable.
It is just plain text file, where buttons are inserted into the text using the following format:
[[file=Path/To/Sound/File.wav|text=What you want the button to say.]]
Where, the following file:
test text 1 [[file=Laugh.wav|text=Laugh button test]] test text 2
will be converted into this:
Yes.
Yes.
It's not worth the effort. Anyone should be able to create the file in a text editor. I doubt anyone will ever use this program anyways. Except for me, where I used this for a silly theater play in high school half a decade ago. I still live its trauma to this day, despite not even being on the stage.