Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8437081

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:20:20+00:00 2026-06-10T07:20:20+00:00

Would someone kindly recommend a command line utility that can play any section of

  • 0

Would someone kindly recommend a command line utility that can play any section of an audio file specified in milliseconds e.g.

player -start-time=0.1234 end-time=5.6789 audio.wav

None of the audio players that I’ve come across seem to have this functionality. vlc supports start and end times but in seconds only, while Audacity does not appear to have much in the way of command line options.

  • 0 0 Answers
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T07:20:21+00:00Added an answer on June 10, 2026 at 7:20 am

    sox

    You can use sox play with the trim effect:

    play audio.wav trim START =END
    

    Which in your case would become:

    play audio.wav trim 0.1234 =5.6789
    

    Note that the end can also be specified as a length:

    play audio.wav trim 0.1234 2
    

    Which starts playing at 0.1234 and plays 2 seconds of the file.

    Also note that the offsets can be specified as number of samples by appending an s to the number.

    mplayer

    mplayer also supports this:

    mplayer -ss START -endpos END audio.wav
    

    ffplay from ffmpeg

    ffplay uses similar input parameters but doesn’t support absolute end times, so some minor arithmetic is needed:

    ffplay -ss START -t $(( END - START )) audio.wav
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Would someone kindly assist me with the following? I have two DataGridView objects that
Would someone kindly explain why the following bit of code works, I've tested it
I am new to Python and would like to know if someone would kindly
Would someone explain why I can't seem to use a WHERE clause on my
Would someone kindly tell me why the complier flags an error when I attempt
Perl newbie here. Can someone kindly show me how to use perl to extract
Would someone kindly suggest why the code in the OnKey() method is not executing.
would someone please write this code: this.Loaded += (s, e) => this.loaded = true;
Would someone be able to break down the Ruby specifics of what each of
Would someone be able to help here? I would like to fill a div

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.