Thread: Graphics and sound programming with C

  1. #1
    Registered User
    Join Date
    Dec 2016
    Posts
    5

    Graphics and sound programming with C

    Good day everyone! I can program DSP TigerShark processors for audio and video processing, but I was wondering how to do it in normal C for operating systems. I know it is a matter of functions, but I am missing things like which functions, in which libraries are they.


    Also I can make lets say a program for processing a web address and store everything after the ".com" in a data structure, but I have no idea how to connect this (DOS) program with the web browser.


    Pretty much in a processor, you put the input hardware on one side and the output hardware on the other side and you process, but for OS, I do not know how to connect the real object with a graphical user interface and with the program.


    My idea for now is simple: make a program that accesses the sound flow or windows and amplifies it. I will make it first in DOS application format and then with a GUI. Any help is appreciated.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    36,559
    Well the first thing to do is forget everything you know about .com files and DOS.

    In modern Win32 parlance, what you seem to be talking about are console programs.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Dec 2016
    Posts
    5
    Quote Originally Posted by Salem View Post
    Well the first thing to do is forget everything you know about .com files and DOS.

    In modern Win32 parlance, what you seem to be talking about are console programs.
    What I am talking about is: I know how to do the core of the program, but I am missing the sides like how to connect it to a GUI and which functions and libraries to use with lets say "code blocks" for version 1, which is a DOS version.

  4. #4
    Registered User
    Join Date
    May 2009
    Posts
    3,423
    Link to pdcurses PDCurses - Public Domain Curses
    It might be something that applies to your question.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 08-16-2013, 09:07 PM
  2. Replies: 2
    Last Post: 08-15-2013, 08:51 PM
  3. adding sound in graphics.h
    By hakanali in forum C Programming
    Replies: 8
    Last Post: 04-25-2011, 05:00 PM
  4. sound and graphics in C - recommandation needed
    By gavra in forum C Programming
    Replies: 50
    Last Post: 06-05-2008, 07:41 AM
  5. graphics and sound
    By gcn_zelda in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2003, 07:23 PM

Tags for this Thread