Read/Write .WAV files in Windows?

This is a discussion on Read/Write .WAV files in Windows? within the C++ Programming forums, part of the General Programming Boards category; Does anyone know how I can read and write audio files, such as .WAV files, from and to a hard ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    197

    Read/Write .WAV files in Windows?

    Does anyone know how I can read and write audio files, such as .WAV files, from and to a hard drive and an array under Windows with C++?

  2. #2
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,161
    Open the input file for read in binary
    Open the output file for write in binary
    Read the input file into an array.
    Write the array to the output file.

    Or you can just use the copy command in a Command Window.
    Or drag'n'drop in Exploder.
    Definition: Politics -- Latin, from
    poly meaning many and
    tics meaning blood sucking parasites
    -- Tom Smothers

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,823

  4. #4
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 6
    Last Post: 03-23-2009, 12:30 AM
  2. Dealing with windows files
    By Hexxx in forum C++ Programming
    Replies: 7
    Last Post: 08-17-2006, 03:11 PM
  3. windows header files not linking correctly
    By skorman00 in forum Windows Programming
    Replies: 2
    Last Post: 04-13-2005, 12:14 PM
  4. Dos commands hehe
    By Carp in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 01-17-2003, 02:51 PM
  5. .wav files
    By cassidyr in forum C Programming
    Replies: 2
    Last Post: 02-08-2002, 09:16 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21