ALSAPLAYER(1)
โจ ALSAPLAYER(1) ๐
Okay bestie, welcome to ALSAPLAYER(1), the General Commands Manual entry for alsaplayer ๐ง Let's get into it! Main character energy only ๐
๐ธ NAME ๐ธ
alsaplayer โ plays all kinds of sound files ๐ถ
๐ SYNOPSIS ๐
alsaplayer [options] [ filename ...]
๐ฆ DESCRIPTION ๐ฆ
Okay so this is a quick overview of the alsaplayer command. It was written for Debian GNU/Linux because the original program doesn't come with its own manual page ๐ฅบ
alsaplayer is a total all-rounder music player. It can play back a huge pile of file formats, no cap ๐ฅ
If you pass files on the command line, those are the ones that get played. If you don't, alsaplayer picks up the playlist from its last run (if it has one) ๐
๐ต FILENAME ๐ต
Plays the file(s) you name. Each one can be a file or a URL โจ
CD.cddaโ a special filename for playing a CD ๐ฟ It uses/dev/cdromby default. Otherwise, AlsaPlayer uses the device set in your config file (usually~/.alsaplayer/config).
๐ OPTIONS ๐
These programs follow the usual GNU command line style, so long options start with two dashes (--). Here's the summary, bestie ๐
-c, --config <file>โ Uses the given config file for this session.-h, --helpโ Prints the help message.-i, --interface <interface>โ Uses the specified interface instead of the default one.-I, --script <file>โ Specifies the script to pass to the interface plugin.-l, --startvolume <vol>โ Starts with this volume [default=1.0].-p, --path <path>โ Sets the path alsaplayer looks in for add-ons.-q, --quietโ Quiet operation, no output ๐คซ-s, --session-name nameโ Names this session "name".-v, --versionโ Prints the version of this program.--verboseโ Makes the output extra chatty.--nosaveโ Doesn't save the playlist content when you exit.
๐ฎ Player control: ๐ฎ
-n, --session #โ Selects session # [default=0].-e, --enqueue file(s)โ Enqueues file(s) in a running alsaplayer.-E, --replace file(s)โ Clears the playlist, then queues file(s) in a running alsaplayer.--statusโ Gets some info about the session.--volume #โ Sets the software volume [0.0-1.0].--startโ Starts playing.--stopโ Stops playing.--pauseโ Pauses or unpauses playing.--prevโ Jumps to the previous track.--nextโ Jumps to the next track.--seek <second>โ Jumps to the specified second in the current track.--relative <second>โ Jumps<second>seconds from the current position.--speed <value>โ Sets the playback speed with -10 <=<value><= 10.1.0is normal speed, and-1.0is normal speed backwards. Be aware that alsaplayer respects your LOCALE, so the decimal point changes accordingly. For example, with a french LOCALE, a valid speed is1,5and not1.5๐--jump #โ Jumps to the specified playlist track.--loopsong <on|off>โ Switches file looping on or off [default off].--looplist <on|off>โ Switches playlist looping on or off [default off].-S, --shuffleโ Shuffles the playlist ๐--clearโ Clears the whole playlist.--quitโ Quits the session.
๐ Sound driver options: ๐
-d, --device stringโ Selects the specific device for the output plugin. For the ALSA plugin, the default is"default". For the JACK plugin, the default is"alsa_pcm:playback_1,alsa_pcm:playback_2".-f, --fragsize #โ Sets the fragment size in bytes [default=4096].-F, --frequency #โ Sets the output frequency [default=44100].-g, --fragcount #โ Sets the fragment count [default=8].-r, --realtimeโ Enables realtime scheduling. To use this as a normal user, alsaplayer must be SUID root โ ๏ธ-o, --output [alsa|esound|jack|nas|null|oss|sgi|sparc]โ Uses the specified output driver.
๐งช Experimental options: ๐งช
-x,--crossfadeโ Crossfades playlist entries.
๐๏ธ JACK OUTPUT PLUGIN ๐๏ธ
For JACK, -F <sample_rate> is mandatory for the best results. The sample rate value must be the same one used by jackd.
If you forget the-Fparameter, the sound can be very bad. The only remedy at that point is to restart bothjackdand AlsaPlayer. ๐
๐ง DAEMON INTERFACE ๐ง
With the daemon interface, you have to add the -s option. It's mandatory, no skipping! You'll need two steps to get sound. First, launch the daemon:
alsaplayer -i daemon -s <name>
Then add a song:
alsaplayer -e <some.song>
โจ๏ธ GTK+ INTERFACE โจ๏ธ
The gtk+ interface comes with some basic keyboard controls ๐
vโ Stopxโ Playcโ Pausebโ Next Songzโ Previous Songgโ Seek Forwardaโ Seek Backwardfโ Forward Playsโ Reverse Playtโ Speed Up one musical semitone. (Handy for changing the key the song is played back in ๐น)qโ Speed Down one musical semitone.hโ Speed Up one comma. (Handy for tuning the song to you instead of the guitar when you're playing along and listening at the same time ๐ธ)iโ Speed Down one comma.rโ Volume Upwโ Volume Downlโ Loop
โ๏ธ PREFERENCES โ๏ธ
AlsaPlayer has a preferences file at ~/.alsaplayer/config. If you want to change settings by hand, you have to exit the running program and edit this file. The default value is listed in each description when it's relevant ๐ซถ
๐ท General settings ๐ท
main.default_interface=gtk2โ Specifies the default interface.main.default_output=alsaโ Specifies the default sound server.main.multiopen=trueโ Specifies whether you can run multiple AlsaPlayer instances.main.period_count=8โ Number of periods in the sound buffer.main.period_size=4096โ Frames per period in the sound buffer.main.play_on_start=falseโ Starts playing at launch time.
๐ Output settings ๐
jack.output1=alsa_pcm:playback_1โ Output device 1 when using the JACK sound server.jack.output2=alsa_pcm:playback_2โ Output device 2 when using the JACK sound server.
๐ฟ Input settings ๐ฟ
cdda.cddb_servername=freedb.freedb.orgโ The server the cdda input module uses to retrieve cddb information.cdda.cddb_serverport=80โ The port the cdda input module uses to retrieve cddb information.cdda.device=/dev/cdromโ The device the cdda input module uses to retrieve the CD.cdda.do_cddb_lookup=trueโ Whether AlsaPlayer retrieves cddb information or not.http.buffer_size=1048576โ Size of the input buffer when<filename>is a URL.mad.parse_id3=trueโ Whether or not to parse the Id3 tags.
๐ช GTK+ interface settings ๐ช
gtk2_interface.background_colour=#000000โ Default background color of the interface. The playlist windows use the background color from your gtk+ theme.gtk2_interface.default_play_path=~/โ Default path used by the Add file function.gtk2_interface.default_playlist_add_path=/โ Default path used by the Add file function in the Playlist window.gtk2_interface.default_playlist_load_path=/โ Default path used by the Load playlist function.gtk2_interface.default_playlist_save_path=/โ Default path used by the Save playlist function.gtk2_interface.font_colour=#ffffffโ Default font color of the interface. The playlist windows use the font color from your gtk+ theme.gtk2_interface_font=โ Default font of the interface. The playlist windows use the font from your gtk+ theme. The main window also uses that font if none is specified.gtk2_interface.height=118โ Default height of the interface.gtk2_interface.loop=0โ Starts in loop mode.gtk2_interface.play_on_add=falseโ Jumps to playing a new song when it's added.gtk2_interface.play_on_title=falseโ Shows the song title in the title bar.gtk2_interface.playlist_active=falseโ Launches the playlist window at startup or not.gtk2_interface.playlist_height=0โ Default height of the playlist window. This value combined with the default value ofgtk2_interface.heightcorresponds to no visible playlist.gtk2_interface.sopeswindow_active=falseโ Launches the scopes selector window at startup or not.gtk2_interface.smooth_transition=falseโ Whether functions such as pause use a smooth speed transition.gtk2_interface.width=529โ Width of the interface.
๐ XOSD interface settings ๐
xosd_interface.color=#55ff55โ Colour used by the XOSD interface.xosd_interface.outline_color=blackโ Colour used by the XOSD interface outline. Colors can be given in hexadecimal notation prefixed by#, or by their name as listed in thergb.txtfile from your X11 distribution.xosd_interface.font=-adobe-helvetica-medium-r-normal-*-24-*-*-*-*-*-*-*xosd_interface.shadow=1โ Shadow offset.xosd_interface.outline_offset=1โ How wide the outline is.xosd_interface.h_offset=20โ Horizontal offset of the display from the left of the screen.xosd_interface.timeout=5โ Sets how long the display stays up.xosd_interface.v_offset=20โ Vertical offset of the display from the top of the screen.
๐ Scopes settings ๐
blurscope.active=falseโ Launches the blurscope plugin at startup or not.fftscope.active=falseโ Launches the fftscope plugin at startup or not.levelmeter.active=falseโ Launches the levelmeter scope plugin at startup or not.logbarfft.active=falseโ Launches the logbar scope plugin at startup or not.monoscope.active=falseโ Launches the monoscope scope plugin at startup or not.opengl_spectrum.active=falseโ Launches the spectrumgl scope plugin at startup or not.opengl_spectrum.height=480โ Height of the spectrumgl scope plugin.opengl_spectrum.width=640โ Width of the spectrumgl scope plugin.spacescope.active=falseโ Launches the spacescope plugin at startup or not.synaescope.active=falseโ Launches the synaescope plugin at startup or not.
๐ SEE ALSO ๐
๐ AUTHOR ๐
This manual page was written by Ivo Timmermans <ivo@debian.org>, for the Debian GNU/Linux system (but anyone can use it). The FILENAME, GTK, DAEMON INTERFACE and PREFERENCES sections were added by Dominique Michel <dominique_libre@sourceforge.net> from the Alsaplayer team ๐ซถ
That's the tea, bestie! ๐ This page was last updated on 29 March 2008, and ALSAPLAYER(1) is signing off with love ๐โจ
๐ฆ where this page comes from
- debian trixie: alsaplayer-common 0.99.82-2+b1 ยท GPL-3.0-or-later
- ubuntu questing: alsaplayer-common 0.99.82-2build1
- ubuntu resolute: alsaplayer-common 0.99.82-4 ยท GPL-3.0-or-later
- ubuntu stonking: alsaplayer-common 0.99.82-5 ยท GPL-3.0-or-later
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms