To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

http://justlinux.com/   Mon, 23-Nov-2009 19:15:22 GMT
         internet.com

Go Back   JustLinux Forums > Community Help: Check the Help Files, then come here to ask! > How I Did It!

How I Did It! Got a How-To/Tutorial/Guide you wrote? Post it here.

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 02-02-2005, 01:05 PM
psych-major's Avatar
psych-major psych-major is offline
Unregistered/Unbuffered
 
Join Date: Jan 2003
Location: Denver, Colorado
Posts: 1,482
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.
__________________
Slackware current (Dell Latitude D610)
CentOS 5.2 (Servers)
Registered Linux User # 375030

Last edited by psych-major; 08-20-2009 at 06:01 PM.
Reply With Quote
  #2  
Old 10-21-2009, 11:22 AM
jchoyt jchoyt is offline
Registered User
 
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
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 03:15 PM.

Help File Library
Games
Shells
Filesystems
Security
Distribution Specific
More



internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers




internet.commerce
Be a Commerce Partner












Linux is a trademark of Linus Torvalds.

Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy

Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.