FastJ
FastJ copied to clipboard
[Feature Request] Audio
Is your feature request related to a problem? Please describe.
FastJ 1.5.0 is near, and an audio engine would be a great addition to the arsenal of tools.
What should the solution be like?
The Audio engine should, for 1.5.0, support the following features:
- [x] Load/Unload audio into memory
- [x] Play audio
- [x] Loop audio
- [x] Hook into audio events (start, stop, open, close)
- [x] Change audio volume
- [x] Change audio pan
- [ ] Linearly interpolate between volume/pan/other configurable values
As an aside, the branch should also contain:
- Examples for how to use the audio engine
- [x] Simple audio example explaining how to play sound using
AudioManager#playSound
as well as file paths - [ ] More complex example of working with audio, covering all topics mentioned above -- see #20
- [x] Simple audio example explaining how to play sound using
- [x] Unit testing -- see #3
Progress will be tracked in the audio
branch.