Thread: PCM Audio

  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    67

    Question PCM Audio

    Hello

    How can I make a PCM (pulse code modulation) audio file using C++?
    Using just a bitstream.

    Can every media player on an Intel and Mac infrastructures play a PCM file type?
    Is it the most portable?

    Thanks in advance!

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    PCM is a modulation scheme, not a file type. You need to be more specific. If you're looking for a file format that will work everywhere, WAV is the obvious choice.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Audio Programming
    By dwalters in forum Tech Board
    Replies: 0
    Last Post: 02-07-2008, 04:20 PM
  2. audio programming (from scratch)
    By simpleid in forum C Programming
    Replies: 6
    Last Post: 07-26-2006, 09:32 AM
  3. Compression/Decompression Wave File and MP3
    By cindy_16051988 in forum Projects and Job Recruitment
    Replies: 51
    Last Post: 04-29-2006, 06:25 AM
  4. Port Audio
    By samGwilliam in forum Windows Programming
    Replies: 9
    Last Post: 12-07-2005, 11:43 AM
  5. Audio programming... ( Perhaps Off-topic ?? )
    By KeM in forum C Programming
    Replies: 4
    Last Post: 02-16-2002, 01:15 AM

Tags for this Thread