473,387 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

square wave / sine wave generator

I'm looking for a simple program or method to generate sine waves or
square waves at a desired frequency.

Thanks for your help

Ray

Jun 21 '07 #1
5 6185
On Jun 21, 1:43 pm, RayD <rgdyke...@aol.comwrote:
I'm looking for a simple program or method to generate sine waves or
square waves at a desired frequency.

Thanks for your help

Ray
Isn't this a Home Work?

Jun 21 '07 #2
RayD wrote:
I'm looking for a simple program or method to generate sine waves or
square waves at a desired frequency.
Have you tried Google? What's your C++ question?
Jun 21 '07 #3
RayD wrote:
I'm looking for a simple program or method to generate sine waves or
square waves at a desired frequency.
C++ does not generate waves except when the new Standard is released.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jun 21 '07 #4
"Bharath" writes:
On Jun 21, 1:43 pm, RayD <rgdyke...@aol.comwrote:
>I'm looking for a simple program or method to generate sine waves or
square waves at a desired frequency.
Isn't this a Home Work?
It doesn't sound like homework to me. Why would he settle for a *program*
if it were homework?

In any event I can't divine what the question is. It could mean the
production of tabular data, lines on a monitor or a sound from a speaker,
plus some more things I haven't thought of.
Jun 21 '07 #5

"RayD" <rg*******@aol.comschreef in bericht
news:11**********************@p77g2000hsh.googlegr oups.com...
I'm looking for a simple program or method to generate sine waves or
square waves at a desired frequency.

Thanks for your help

Ray
What exactly should the program do? Write values to a text-file, display a
wave on the screen, send a wave to some communciation port?

Regards,
Nathan
Jun 21 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Xanax | last post by:
Hi all, I need to produce a sine wave and use the WaveOut APi to sound it on my sound card. I also need to compute Fast Fourier Transform to modify the Sine wave. Any ideas on where to start or...
3
by: Sloan | last post by:
I want to use MFC to plot Sin Wave . How can I do ?
11
by: Phil Newman | last post by:
I'm trying to implement a basic sinewave signal using arrays, but I'm having difficulty (I'm a complete beginner!) This is what I have so far: using namespace std; double signal(double...
143
by: suri | last post by:
Hello I downloaded glibc and tried looking for the code that implements the sine function i couldnt find the file. i went to the math directory and found math.h.. i guess that needs to be...
8
by: mcenley | last post by:
can any one please help me in creatind a sine wave in C++ please i also need to play it as a .wav file any random sound within sudible frequency will do
5
by: MathNewbie | last post by:
Hi, I'm trying to do get my head around some, probably basic, math calculations. I checked some .net math libs, but the only thing I learn from studying those is humility ;-). Anyway, i have...
5
by: MandaRonnie | last post by:
I have an assignment im working on for my computer science class (c programming). My program compiles right, but doesn't run like its suppose to. Could someone help me? Here is the assignment: ...
4
by: Iain Mackay | last post by:
Python Folks I'm a newbie to Python and am looking for a library / function that can help me fit a 1D data vector to a sine wave. I know the frequency of the wave, so its really only phase and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.