Commandline sound player
  • Order of the Butterfly
    Order of the Butterfly
    GK_LKA
    Posts: 481 from 2004/3/28
    From: Hungary
    I need a command-line sound (aiff/8svx/mp3/datatype or anything) player for my scripts and for some programs (like AmIRC and YAM). Do you know any?

    I've tried play16, but I couldn't play sounds via AHI with it. (Only problem with arguments?)
    [ GK / LKA Team ]
  • »05.06.04 - 17:31
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    GMKai
    Posts: 253 from 2003/4/7
    mplayer can be fed from cli (for mp3).
  • »05.06.04 - 17:58
    Profile
  • Leo
  • Order of the Butterfly
    Order of the Butterfly
    Leo
    Posts: 419 from 2003/8/18
    Use "play16 [sound name] output=ahi"

    Can't be easier ;)

    Leo.
    Nothing hurts a project more than developers not taking the time to let their community know what is going on.
  • »05.06.04 - 19:02
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    GK_LKA
    Posts: 481 from 2004/3/28
    From: Hungary
    @GMKai:

    I think MPlayer is a little too big for this job :)

    @Leo:

    This drops out a requester with the AHI modes so I can't use it this way in scripts/programs.
    [ GK / LKA Team ]
  • »05.06.04 - 19:18
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    roschmyr
    Posts: 207 from 2003/2/20
    From: Oberhausen/Ger...
    @GK_LKA

    Play16 OUTPUT=AHI MODE=$0012000C

    for Onbordsound Hifi 16bit stereo++, for other modes
    start Scout and show audiomodes
  • »05.06.04 - 20:04
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Robin
    Posts: 741 from 2003/2/24
    Give Songplayer a try ... it's the best player
    anyway and can be used in both modes GUI and CLI.
  • »05.06.04 - 20:48
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    GK_LKA
    Posts: 481 from 2004/3/28
    From: Hungary
    @roschmyr:

    Thanks a lot! I've tried a lot of variants for giving play16 the ahi mode, but this one at last works! :) It seems to be what I needed.

    @Robin:

    Thanks, but I didn't want any windows during the playback. BTW SongPlayer is my favorite too :)
    [ GK / LKA Team ]
  • »05.06.04 - 20:55
    Profile Visit Website