Thread: Reading the frequency of the speaker.

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Post Reading the frequency of the speaker.

    How can I read the frequency that the speaker is making?

  2. #2
    Super Moderator Harbinger's Avatar
    Join Date
    Nov 2004
    Posts
    74
    Remember the value you last send to the speaker.

  3. #3
    Unregistered User
    Join Date
    Sep 2005
    Location
    Antarctica
    Posts
    341
    you could probably get it by writing a filter driver to filter all of the calls made to the pc speaker.

  4. #4
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    >> you could probably get it by writing a filter driver to filter all of the calls made to the pc speaker.

    Sounds compliacted. (I have no idea how I would so that.)

  5. #5
    Super Moderator Harbinger's Avatar
    Join Date
    Nov 2004
    Posts
    74
    Here's a better idea - explain why you need to do such a thing, and why the obvious "remember the last value" isn't good enough for you?

  6. #6
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    >> "remember the last value"

    How?

    >> explain why you need to do such a thing

    Capture other programs media.

  7. #7
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    >> "remember the last value"

    How?
    With a variable. Just store the last sound you played.

    [edit]Unless you're "capturing other programs' media."[/edit]
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  8. #8
    Super Moderator Harbinger's Avatar
    Join Date
    Nov 2004
    Posts
    74
    > Capture other programs media.
    You mean a cheap way of ripping off say DRM content by capturing it 'post' decoding?

  9. #9
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    >> > Capture other programs media.
    >> You mean a cheap way of ripping off say DRM content by capturing it 'post' decoding?

    >> With a variable. Just store the last sound you played.

    Okay, really what I want is to get the frequency of a part of my HSOUND var, how would I do that?

  10. #10
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    6. Messages relating to cracking, (erroneously called "hacking" by many), copyright violations, or other illegal activities will be deleted. This includes all messages reguarding to keyloggers.
    Closed

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-05-2009, 03:14 AM
  2. Replies: 7
    Last Post: 02-02-2009, 07:27 AM
  3. Replies: 2
    Last Post: 01-28-2008, 03:07 AM
  4. reading float from file
    By arjunajay in forum C++ Programming
    Replies: 10
    Last Post: 07-30-2005, 11:01 PM
  5. question about reading in strings from a file :>
    By bball887 in forum C Programming
    Replies: 8
    Last Post: 04-13-2004, 06:24 PM