How I Can play the .wav files like as windows in Turbo C++?

This is a discussion on How I Can play the .wav files like as windows in Turbo C++? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; How I Can play the .wav files like as windows in Turbo C++ with sound card not PC Speaker?...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    7

    Question How I Can play the .wav files like as windows in Turbo C++?

    How I Can play the .wav files like as windows in Turbo C++ with sound card not PC Speaker?

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    1. Go to www.wotsit.org and get the wav file format.

    2. Go to www.creative.com and download the info about programming the Sound Blaster 16 in DOS.

    3. Learn about how to program the DMA controller and about the programmable interrupt controller or the PIC.

    4. Learn about writing interrupt handlers in C using setvect() and getvect().

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Or use the Allegro lib, and use the MP3 plugin while you're at it.
    http://www.talula.demon.co.uk/allegro/
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    The WAV-file contains linear audio, this can be directly played by the soundcard, so no MPEG-decoding is needed.

    In the Win32 API there are functions for controlling the soundcard.

  5. #5
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    That wotsit thing is way useful! I've been trying to find something like that for ages. What I'm trying to do is create a program that reads a bitmap file and recognize text from it.

  6. #6
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Reading text in BMP files?

  7. #7
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    That's a pretty hefty task there Sean. OCR seems to be as complicated [and arbitrary, amof] as voice recognition. But I suppose you aren't going to make it that through then. I'd be interested to see some of your results!
    hasafraggin shizigishin oppashigger...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Virtual keys
    By Arkanos in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2005, 09:00 AM
  2. partition for windows and linux files
    By MisterSako in forum Tech Board
    Replies: 5
    Last Post: 09-21-2004, 05:38 PM
  3. How I can use the windows font files with (.ttf) extension?
    By hadizadeh in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 12-18-2001, 05:01 AM
  4. How I can dispaly the windows bitmap files in 800*600 256 color mode?
    By hadizadeh in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 12-15-2001, 04:31 AM
  5. C++ TURBO BORLANDS 4.5 for windows
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 12-05-2001, 08:38 PM

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