首页 > 代码库 > Music player on Linux system for classical music: Audacious

Music player on Linux system for classical music: Audacious

<style></style>

The default music player on Debian 7.0 is Rhythmbox. At the first look, its appearance seems not so bad. Although it has the problem of displaying Chinese characters, this can be solved by changing the Exec line in /usr/share/applications/rhythmbox.desktop:

Exec=env GST_ID3_TAG_ENCODING=GBK rhythmbox %U

Still, this player cannot play the lossless ape format normally although it is claimed it can. This is due to some bug in the gstreamer codec. Then, Audacious comes to my rescue, which is a descendant of XMMS. Its codec for playing ape file is monkey audio codec. With the default configuration in Audacious, its sound quality is worse than VLC. Therefore, we need to enable some plugins and the equalizer of Audacious to finely adjust its sound effect.

The enabled plugins are:

  • Crystalizer: effect intensity is set to 2.1.

  • Echo: delay is 176 ms, feedback is 28%, volume is 24%.

  • Extra stereo: effect intensity is 2.1.

The equalizer can load some presets based on Winamp. However, the presets can be loaded only when Audacious is using Winamp classic interface instead of GTK interface. The equalizer presets are stored in the file ~/.config/audacious/eq.preset with its contents as follows:

[Presets]Preset0=DefaultPreset1=ClassicalPreset2=ClubPreset3=DancePreset4=FlatPreset5=Full BassPreset6=Full Bass and TreblePreset7=Full TreblePreset8=Laptop speakers or headphonesPreset9=Large hallPreset10=LivePreset11=PartyPreset12=PopPreset13=ReggaePreset14=RockPreset15=SkaPreset16=SoftPreset17=Soft RockPreset18=Techno[Default]Preamp=0Band0=0Band1=0Band2=0Band3=0Band4=0Band5=0Band6=0Band7=0Band8=0Band9=0[Classical]Preamp=0.375Band0=0.375Band1=0.375Band2=0.375Band3=0.375Band4=0.375Band5=0.375Band6=-4.5Band7=-4.5Band8=-4.5Band9=-6[Club]Preamp=0.375Band0=0.375Band1=0.375Band2=2.25Band3=3.75Band4=3.75Band5=3.75Band6=2.25Band7=0.375Band8=0.375Band9=0.375[Dance]Preamp=0.375Band0=6Band1=4.5Band2=1.5Band3=0Band4=0Band5=-3.75Band6=-4.5Band7=-4.5Band8=0Band9=0[Flat]Preamp=0.375Band0=0.375Band1=0.375Band2=0.375Band3=0.375Band4=0.375Band5=0.375Band6=0.375Band7=0.375Band8=0.375Band9=0.375[Full Bass]Preamp=0.375Band0=6Band1=6Band2=6Band3=3.75Band4=1.125Band5=-2.625Band6=-5.25Band7=-6.375Band8=-6.75Band9=-6.75[Full Bass and Treble]Preamp=0.375Band0=4.5Band1=3.75Band2=0.375Band3=-4.5Band4=-3Band5=1.125Band6=5.25Band7=6.75Band8=7.5Band9=7.5[Full Treble]Preamp=0.375Band0=-6Band1=-6Band2=-6Band3=-2.625Band4=1.875Band5=6.75Band6=9.75Band7=9.75Band8=9.75Band9=10.5[Laptop speakers or headphones]Preamp=0.375Band0=3Band1=6.75Band2=3.375Band3=-2.25Band4=-1.5Band5=1.125Band6=3Band7=6Band8=7.875Band9=9[Large hall]Preamp=0.375Band0=6.375Band1=6.375Band2=3.75Band3=3.75Band4=0.375Band5=-3Band6=-3Band7=-3Band8=0.375Band9=0.375[Live]Preamp=0.375Band0=-3Band1=0.375Band2=2.625Band3=3.375Band4=3.75Band5=3.75Band6=2.625Band7=1.875Band8=1.875Band9=1.5[Party]Preamp=0.375Band0=4.5Band1=4.5Band2=0.375Band3=0.375Band4=0.375Band5=0.375Band6=0.375Band7=0.375Band8=4.5Band9=4.5[Pop]Preamp=0.375Band0=-1.125Band1=3Band2=4.5Band3=4.875Band4=3.375Band5=-0.75Band6=-1.5Band7=-1.5Band8=-1.125Band9=-1.125[Reggae]Preamp=0.375Band0=0.375Band1=0.375Band2=-0.375Band3=-3.75Band4=0.375Band5=4.125Band6=4.125Band7=0.375Band8=0.375Band9=0.375[Rock]Preamp=0.375Band0=4.875Band1=3Band2=-3.375Band3=-4.875Band4=-2.25Band5=2.625Band6=5.625Band7=6.75Band8=6.75Band9=6.75[Ska]Preamp=0.375Band0=-1.5Band1=-3Band2=-2.625Band3=-0.375Band4=2.625Band5=3.75Band6=5.625Band7=6Band8=6.75Band9=6[Soft]Preamp=0.375Band0=3Band1=1.125Band2=-0.75Band3=-1.5Band4=-0.75Band5=2.625Band6=5.25Band7=6Band8=6.75Band9=7.5[Soft Rock]Preamp=0.375Band0=2.625Band1=2.625Band2=1.5Band3=-0.375Band4=-2.625Band5=-3.375Band6=-2.25Band7=-0.375Band8=1.875Band9=5.625[Techno]Preamp=0.375Band0=4.875Band1=3.75Band2=0.375Band3=-3.375Band4=-3Band5=0.375Band6=4.875Band7=6Band8=6Band9=5.625

After loading the Classical equalizer preset, I can enjoy my Mozart now!