Simply play audio? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Simply play audio?

Is there a simple/efficient way to play a frequency at a volume using c++? I need a way to play sound through the speakers so I don't think Beep() will do the job, but I want to have access to the audio in the memory so I don't thing PlaySound() will work either. I do not want to use any libraries either. I just want to play a frequency, I can load the input file myself. Is there some way I can do this by just using the libraries that come standard on windows XP OS?

Comments

  • darasandarasan Posts: 2Member
    Hi,

    I think this example should help:

    http://www.codeproject.com/KB/audio-video/lamer2000.aspx

    I haven't tested it, but it looks like a frequency generator, using only the WaveOut API.

    Regards,

    Daire
  • wangcuijingwangcuijing Posts: 2Member
    Perhaps, this mod converter mac will help you to listen audios. It convert into various audio formats on mac os x.
    http://www.modconvertermac.org/
    http://www.modvideoconvertermac.com/
  • CKZRCKZR Posts: 4Member
    You may really need a video or audio converter to help you. However there are so many video or audio converters in the related markets, you can firstly download a free version and then see if it is fit for you.

    Good luck, i hope you will solve your problem.
  • CKZRCKZR Posts: 4Member
    There are so many ways that you can simple play audios, one is you should choose video converter, remember you should choose a safe and powerful video converter, most video converter can help you convert audio. The other way you can choose is you can choose a audio converter, there are also audio converters in the related market, you can choose one that is suitable for you, but you should also notice that some of them may not safe.

    Good luck.
Sign In or Register to comment.