Hi, I have a question 'bout c++ beep...It's very simple...Where can I find Music Scales for C++ ? I've searched google up'n'down without succes...thanks for any help :?:

Recommended Answers

The C++ beep is all you get. If you want different notes, you need to go lower (and try to access the hardware, which isn't portable and probably won't work) or go higher (and use a library that lets you produce notes from the sound card rather than the internal …

Jump to Post

I have no idea! XD

Jump to Post

All 5 Replies

The C++ beep is all you get. If you want different notes, you need to go lower (and try to access the hardware, which isn't portable and probably won't work) or go higher (and use a library that lets you produce notes from the sound card rather than the internal speaker).

I have no idea! XD

tnx 4 reply...I'll come with more answers soon =)

>I have no idea! XD
Thanks for letting us know. :icon_rolleyes:

#include<iostream>
#include<windows.h>

using namespace std;

int main()

{
Beep(523,500);
Beep(587,500);
Beep(659,500);
Beep(698,500);
Beep(784,500);
Beep(876,500);
Beep(982,500);
Beep(1050,500);
system("pause");
return 0;
}

that's actually what I was looking 4 oO... =D Problem solved with many many efforts..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.