Audio player

This is a discussion on Audio player within the Windows Programming forums, part of the Platform Specific Boards category; hi people I'm trying to create a Audio player . but I have no idea to how to do it.all ...

  1. #1
    Just a Human Anuradh_a's Avatar
    Join Date
    Jan 2008
    Posts
    50

    Audio player

    hi people
    I'm trying to create a Audio player . but I have no idea to how to do it.all I know is that
    there function called MCIWndPlay() and some other function like MCIWndSetVolume(),MCIWndStop()..... .Is it possiable to create a player only with MCI commands ? or any other way??
    thanks

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,344
    Isn't one way enough?

    Maybe you could do something with DirectSound, or for something completely different, how about beep() ?

    What about 'tunefully' thrashing the hard disk to make the head movements beat out the sound?
    http://www.metacafe.com/watch/240975/f1_engine_song
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Mar 2005
    Location
    Juneda
    Posts
    287
    Also take a look at fmod

    "...how about beep() ?"

    Here's a frequency table(Hz), I find it usefull

    Octave 0 1 2 3 4 5 6 7
    Note
    C 16 33 65 131 262 523 1046 2093
    C# 17 35 69 139 277 554 1109 2217
    D 18 37 73 147 294 587 1175 2349
    D# 19 39 78 155 311 622 1244 2489
    E 21 41 82 165 330 659 1328 2637
    F 22 44 87 175 349 698 1397 2794
    F# 23 46 92 185 370 740 1480 2960
    G 24 49 98 196 392 784 1568 3136
    G# 26 52 104 208 415 831 1661 3322
    A 27 55 110 220 440 880 1760 3520
    A# 29 58 116 233 466 932 1865 3729
    B 31 62 123 245 494 988 1975 3951

    Sorry, it appears a bit unaligned but you can reorder on your notepad.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 11-03-2008, 08:48 PM
  2. My first python project =)
    By Desolation in forum Tech Board
    Replies: 14
    Last Post: 06-26-2007, 10:52 PM
  3. A question about constructors...
    By Wolve in forum C++ Programming
    Replies: 9
    Last Post: 05-04-2005, 04:24 PM
  4. playing audio cassettes on my cd player
    By Terrance in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 07-09-2003, 09:22 AM
  5. is it hard to make a audio player
    By sobbles in forum C++ Programming
    Replies: 5
    Last Post: 10-12-2002, 10:10 AM

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