Find the answer to your Linux question:
Results 1 to 6 of 6
...if a file is in that format then if you do Code: cat file > audio_device it will play the sounds in the file ? In other words an audio ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast
    Join Date
    Jan 2005
    Posts
    575

    Is there an audio format such that...


    ...if a file is in that format then if you do
    Code:
    cat file > audio_device
    it will play the sounds in the file ? In other words an audio format
    for which you don't need any kind of special programme to play it ;
    you just send it as it is to the audio device.

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    The RAW format I suppose? Not sure though... AFAIK, it should be uncoded data.
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  3. #3
    Linux Enthusiast
    Join Date
    Jan 2005
    Posts
    575
    Quote Originally Posted by borromini
    AFAIK, it should be uncoded data.
    If by uncoded you mean without headers and such , then of course.
    But some coding has to be involved.Sound by definition is an analog
    notion.It has amplitude and frequency which can be any number.To
    turn these into a sequence of 0's and 1's you need some kind of coding.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Belgium
    Posts
    1,429
    I don't know anything about that... To technical for me . AFAIK, the RAW format is a universally usable format, and it's just the raw data (so uncompressed). Don't know if it comes with headers and stuff though. But can't you use Audacity or something similar to convert an mp3 to RAW, and then try to pipe it through your audio device? Or am I thinking too simplistic?
    ** Registered Linux User # 393717 and proud of it ** Check out www.zenwalk.org
    ** Zenwalk 2.8 - Xfce 4.4 beta 2- 2.6.17.6 kernel = Slack on steroids! **

  6. #5
    Linux Enthusiast puntmuts's Avatar
    Join Date
    Dec 2004
    Location
    Republic Banana
    Posts
    562
    I guess you'll need some kind of speed control to avoid the track will be played way too fast. I don't expect this to be possible without a program to control the speed.
    I\'m so tired .....
    #200472

  7. #6
    Linux Enthusiast
    Join Date
    Jan 2005
    Posts
    575
    Ok then.I'll experiment with RAW files.Writing a programme
    which outputs the file with controled speed is easy.Thank you both for
    your comments.

Posting Permissions

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