×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles

    Catwav: Difference between revisions

    Content added Content deleted
    imported>mutante
    mNo edit summary
     
    imported>mutante
    mNo edit summary
     
    Line 20:
    </pre>
     
     
    * http://www.boutell.com/scripts/catwav.html
     
    [[Category:Linux]]
    [[Category:Unix]]
    [[Category:Scripts]]
    [[Category:AudioMusic]]

    Latest revision as of 13:05, 22 May 2005

    Catwav is a Unix command-line tool for concatenating two .wav files together to a third.

    It just works like the well known cat command for concatenating regular files.

    Syntax:

    catwav file1.wav file2.wav outputfile.wav
    

    License Terms

    Public domain. Do as you see fit with this script.

    #!/bin/sh
    sox $1 -r 44100 -c 2 -s -w /tmp/$$-1.raw
    sox $2 -r 44100 -c 2 -s -w /tmp/$$-2.raw
    cat /tmp/$$-1.raw /tmp/$$-2.raw > /tmp/$$.raw
    sox -r 44100 -c 2 -s -w /tmp/$$.raw $3
    rm /tmp/$$*.raw
    


    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • BruderSpektrum • 17 hours ago
  • BruderSpektrum • 20 hours ago
  • BruderSpektrum • 21 hours ago
  • BruderSpektrum • 21 hours ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.