Simple sounds player

Jun 4, 2017 at 7:48pm
Hi there.

I wrote the programm that can recognize the notes from the picture. Now I would like to play the sound from it after processing the image. I thought about using funcion, where I can just put frequency and time of every note, like
beep();

But it requires <windows.h> library, which makes my other library for image processing not working (I cannot compile the code, when <windows.h> is included.

Do you have any other sugestion how to simply play the sound?
I am using Visual Studio 2015.
Last edited on Jun 4, 2017 at 7:48pm
Jun 5, 2017 at 1:05pm
Hello Zeltrax,

What header file or library are you using for the image processing?

Post your code and information about the header file for image processing and I will see what I can come up with.

Andy
Topic archived. No new replies allowed.