简体   繁体   English

java应用的改变量

[英]Changing volume of java application

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?我正在使用 MP3SPI 1.9.5 制作一个 mp3 播放器( http://www.javazoom.net/mp3spi/mp3spi.html )我想制作一个 jSlider 来更改应用程序的音量,但我不知道该怎么做那,有什么建议吗?

The article Processing Audio With Controls should get you started. 使用控件处理音频一文应该可以帮助您入门。

I've had most success using the MASTER_GAIN.我使用 MASTER_GAIN 取得了最大的成功。 But in the end I decided to go the "Manipulating Audio Directly" route.但最后我决定 go “直接操作音频”路线。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM