| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| en:handbook:multimedia [2015/12/22 16:50] – [MPD - Music Player Daemon] genesis | en:handbook:multimedia [2015/12/24 16:16] (current) – linea |
|---|
| <code> # alsactl init </code> | <code> # alsactl init </code> |
| |
| Then, use alsamixer to set up sound levels according to your preferences (you can find it at //Applications// menu --> //Multimedia//). At last, use alsactl again to store your preferences: | Then use alsamixer to set up sound levels according to your preferences (you can find them at //Applications// menu --> //Multimedia//). Lastly, use alsactl again to store your preferences: |
| |
| <code> # alsactl store </code> | <code> # alsactl store </code> |
| $ mpc play </code> | $ mpc play </code> |
| |
| The command <nowiki> mpc --help </nowiki> gives you a full list of all the available options that allow you to edit the playlist, enable crossfade, adjust the volume and shuffle tracks, etc. | The command //mpc --help// gives you a full list of all the available options that allow you to edit the playlist, enable crossfade, adjust the volume and shuffle tracks, etc. |
| |
| ===== Mpg123 ===== | ===== mpg123 ===== |
| |
| Mpg123 is a command line audio player and file converter, this means that you can listen to music or convert files from a terminal. To install: | mpg123 is a command line audio player and file converter, this means that you can listen to music or convert files from a terminal. To install: |
| |
| <code># tazpkg get-install mpg123</code> | <code># tazpkg get-install mpg123</code> |
| |
| To display help, use the --help option. To play a mp3 file, just launch mpg123 followed by the name of the audio file: | To display help, use the //--help// option. To play a mp3 file, just launch mpg123 followed by the name of the audio file: |
| |
| <code> $ mpg123 sound.mp3 </code> | <code> $ mpg123 sound.mp3 </code> |
| |
| Mpg123 can also encode a file into another format, for example you can convert a //wav// file into a mp3 file. Example: | mpg123 can also encode a file into another format, for example you can convert a //wav// file into a mp3 file. Example: |
| |
| <code> $ mpg123 -w sound.mp3 sound.wav </code> | <code> $ mpg123 -w sound.mp3 sound.wav </code> |