How to implement audio effects like 3D surround sound and reverb in javafx -
i have developed music player in javafx. there way implement 3d audio effect similar wow effect in windows media player. have searched there no method of mediaplayer implement such thing.
my javafx level: intermediate
afaik, effect can applied on javafx mediaplayer equalizer, javafx.scene.media.audioequalizer
class. can mediaplayer
's audioequalizer
getaudioequalizer method, , modify existing bands, add/remove bands, etc.
however, if want implement other effects (reverb, delay, distortion... whatever else), think you're out of luck: javafx media api doesn't provide methods that, , doesn't seem meant extensible in way (you can't add support other codecs either, example).
if need more javafx media api provides, solution serious media playback in java seems to use native library java wrapper. vlcj (website here, javadoc here) seems solution: offers java wrapper around vlc, powerful media player, should able of may want - worst case, provides apis directly access audio buffer , manipulate yourself. it's quite bit more involved using javafx's native media playback though...
Comments
Post a Comment