music in c

This is a discussion on music in c within the C Programming forums, part of the General Programming Boards category; is there is any chance to write a music program in C language???? if possible help me with ur suggestions...

  1. #1
    Registered User
    Join Date
    Apr 2009
    Location
    vijayawada,ap,india
    Posts
    1

    music in c

    is there is any chance to write a music program in C language????
    if possible help me with ur suggestions

  2. #2
    DESTINY BEN10's Avatar
    Join Date
    Jul 2008
    Location
    in front of my computer
    Posts
    804
    you can write it using sound() function.sound turns the pc speaker on at the specified frequency as its argument.

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    399
    Of course it's possible. If you're talking about a music player, there're already libraries out there for most of the popular formats. Either way, your solution is going to depend on the platform you're targeting. I advise you to have a look at libraries like OpenAL and SDL, and then come back if you have any questions.

  4. #4
    Math wizard
    Join Date
    Dec 2006
    Location
    USA
    Posts
    582
    If you can dream it, you can do it. That's pretty much how programming is. Your skills and knowledge are the only real limitations with today's computers (in the 1980's, you'd often have hardware limitations as well). I'm into game design which involves music and audio being played back in a more advanced way than a simple audio player but even that is entirely possible.
    High elevation is the best elevation. The higher, the better the view!
    My computer: XP Pro SP3, 3.4 GHz i7-2600K CPU (OC'd to 4 GHz), 4 GB DDR3 RAM, X-Fi Platinum sound, GeForce 460, 1920x1440 resolution, 1250 GB HDD space, Visual C++ 2008 Express

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Someone saves us from music
    By Mario F. in forum A Brief History of Cprogramming.com
    Replies: 78
    Last Post: 07-02-2008, 09:59 AM
  2. Music Programming - Serial Matrix Display (Help needed)
    By CrazyHorse in forum C Programming
    Replies: 1
    Last Post: 11-13-2007, 04:28 PM
  3. Music Programming - Serial Matrix Display
    By CrazyHorse in forum C Programming
    Replies: 1
    Last Post: 11-12-2007, 04:16 PM
  4. Is AOL music crazy?
    By joeprogrammer in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 03-24-2006, 07:24 PM
  5. crashing when switch music type
    By lambs4 in forum Game Programming
    Replies: 7
    Last Post: 05-03-2004, 01:50 PM

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