| | |
Generating sine wave
![]() |
I'm assuming you don't want to use the cosine function either
You could create a table of results and read the values off that instead of using the sine function. Alternatively you could use exponentials and imaginary numbers ...
You could create a table of results and read the values off that instead of using the sine function. Alternatively you could use exponentials and imaginary numbers ... Take a look at the code snippet at:
http://www.daniweb.com/code/snippet66.html
http://www.daniweb.com/code/snippet66.html
May 'the Google' be with you!
What's with all the "how to do x without using the obvious x" questions?
http://www.daniweb.com/techtalkforums/thread80025.html
http://www.daniweb.com/techtalkforums/thread80025.html
![]() |
Similar Threads
- Writing PCM as raw data in C/C++ in Windows (C++)
- Can anyone help me using <graphics.h> (C++)
- analog and digital (IT Professionals' Lounge)
- Got the C++, what now? (C++)
- DSP anyone? (C++)
Other Threads in the C Forum
- Previous Thread: Putpixel()
- Next Thread: A Challenging Debugging Problem
| Thread Tools | Search this Thread |
adobe api array arrays binarysearch calculate char cm convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic feet fflush file floatingpointvalidation fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o inches incrementoperators intmain() iso kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix microsoft motherboard mqqueue mysql oddnumber odf open opendocumentformat opensource openwebfoundation owf pattern pdf performance pointer posix power probleminc program programming pyramidusingturboccodes read recursion recv recvblocked repetition research scanf scheduling segmentationfault send shape socketprograming socketprogramming stack standard strchr string suggestions systemcall test unix urboc user variable voidmain() wab win32api windows.h






