Thread: Drawing a waveform

  1. #1
    Registered User
    Join Date
    Jan 2010
    Location
    on some of the worst place on earth
    Posts
    105

    Drawing a waveform

    Is it possible to draw a waveform using C or C++? The type of waveform I have attached it....If its possible I can understand it will be pretty tough so also is there an alternative to it??
    Attached Images Attached Images Drawing a waveform-graph-jpg 

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    You will need to use a 3rd party graphics library... or change over to GUI coding on your operating system...

  3. #3
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,834
    Ever since modern C compilers got rid of simple position, drawline, etc., things got ugly in a hurry. Personally I dread having to install / link / DLL, whatever headaches... and possibly convert everything to "oops" speak as well just to make things like simple lines on the screen. The way I get around all that nightmare is to generate a GIF file from an internal mapped pixel display array. But rasterizing your own lines and circles is not for everybody. Just my 2 cents of rant since things are becoming more complicated and less in the programmer's control.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drawing waveform using turbo c not prefect!!
    By Superm7 in forum C Programming
    Replies: 27
    Last Post: 05-09-2011, 12:13 AM
  2. C++ sound and waveform functions
    By markphaser in forum C++ Programming
    Replies: 14
    Last Post: 02-17-2006, 05:48 PM
  3. Drawing Bug
    By Shamino in forum Game Programming
    Replies: 2
    Last Post: 12-18-2005, 11:46 PM
  4. Display waveform in window
    By lwong in forum Windows Programming
    Replies: 2
    Last Post: 12-04-2003, 12:07 AM
  5. drawing using SDL
    By lambs4 in forum Game Programming
    Replies: 5
    Last Post: 03-06-2003, 10:34 AM