改变 Java 应用程序的音量。

huangapple 未分类评论49阅读模式
英文:

Changing volume of java application

问题

我正在使用MP3SPI 1.9.5(http://www.javazoom.net/mp3spi/mp3spi.html)制作一个MP3播放器,我想要制作一个jSlider来改变应用程序的音量,但是我不知道如何做,有什么建议吗?

英文:

Im making a mp3 player with MP3SPI 1.9.5 (http://www.javazoom.net/mp3spi/mp3spi.html) i want to make a jSlider to change de volume of the application, but i dont have any idea how to do that, any suggestions?

答案1

得分: 0

这篇文章Processing Audio With Controls可以帮助你入门。

我在使用MASTER_GAIN方面取得了最大的成功。但最终我决定走“直接操作音频”的路线。

英文:

The article Processing Audio With Controls should get you started.

I've had most success using the MASTER_GAIN. But in the end I decided to go the "Manipulating Audio Directly" route.

huangapple
  • 本文由 发表于 2020年5月5日 09:21:57
  • 转载请务必保留本文链接:https://java.coder-hub.com/61604248.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定