473,383 Members | 1,832 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,383 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 6184
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.