How hard would it be to make this

This is a discussion on How hard would it be to make this within the C Programming forums, part of the General Programming Boards category; How hard would it be to make a program in Which it hits the #1 key everytime a noise is ...

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    2

    Lightbulb How hard would it be to make this

    How hard would it be to make a program in Which it hits the #1 key everytime a noise is made example, winamp playing a song or windows media player playing a song, in which it will still hit the#1 key even when speakers are muted. and having a 20 second pause in between the keystroke.

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    Very, very hard, unless you have an understanding of hooks and how to monitor the sound device blah blah blah.

  3. #3
    Registered User MacNilly's Avatar
    Join Date
    Oct 2005
    Posts
    320
    I agree, very difficult.

    Actually the program logic itself is simple. It's the details that bite you in the arse. And I suspect this would be platform specific, unless you use a 3rd party library to interface with sound card. Also you would need a thread (I think) to monitor...

    But this is way beyond my level...

  4. #4
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Download an open-source audio recorder (Audacity) and find out how they do that.
    Last edited by maxorator; 08-12-2007 at 12:41 AM.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. trying to make a KenGen ( for a game tool )
    By lonewolfy in forum C# Programming
    Replies: 4
    Last Post: 03-28-2007, 08:23 AM
  2. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  3. make all rule
    By duffy in forum C Programming
    Replies: 9
    Last Post: 09-11-2003, 01:05 PM
  4. Question about atheists
    By gcn_zelda in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 08-11-2003, 11:50 AM
  5. 'functions' in make?
    By mart_man00 in forum C Programming
    Replies: 1
    Last Post: 06-21-2003, 02:16 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21