mpg123 control keys


Results 1 to 2 of 2

Thread: mpg123 control keys

  1. #1
    Join Date
    Jan 2003
    Location
    Denver, Colorado
    Posts
    1,488

    mpg123 control keys

    Per the mpg123 man page, you can activate "control keys" with the -C switch. But nowhere does it list what those keys are! I decided to experiment monkey-style and bang away at the keyboard while it was playing. Here is what I found:

    Q = Quit, exits the program and returns to prompt.

    S = Stop, stops play of the current song, pressing again picks up where it left off.

    P = Pause, Pauses the songs, but plays several milliseconds of it over and over, suggest use S instead, works much better. Pressing again resumes play.

    F = Finish, skips to the end of the current song and either plays the next one in the folder or returns to prompt, depending on the original command.

    B = ????, skips ahead by the amount of the buffer, if it was set, otherwise 256 bytes and then starts again at the beginning of the song. Doesn't appear to be very useful, maybe I'm doing it wrong.

    And, mpg123 can read a Winamp generated playlist file using the -@ switch followed by the path/filename.m3u

    So for all you cli addicts out there that actually run mpg123, I hope this helps! Enjoy.
    Last edited by psych-major; 08-20-2009 at 06:01 PM.
    Slackware current (Dell Latitude D610)
    CentOS 5.2 (Servers)
    Registered Linux User # 375030

  2. #2
    Join Date
    Oct 2009
    Posts
    1
    This is apparently a full list:

    -= terminal control keys =-
    [s] or [ ] interrupt/restart playback (i.e. 'pause')
    [f] next track
    [d] previous track
    [b] back to beginning of track
    [p] pause while looping current sound chunk
    [.] forward
    [,] rewind
    [:] fast forward
    [;] fast rewind
    [>] fine forward
    [<] fine rewind
    [+] volume up
    [-] volume down
    [r] RVA switch
    [v] verbose switch
    [l] list current playlist, indicating current track there
    [t] display tag info (again)
    [m] print MPEG header info (again)
    [h] this help
    [q] quit
    [c] or [C] pitch up (small step, big step)
    [x] or [X] pitch down (small step, big step)
    [w] reset pitch to zero

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •