Connect with us

Audio sampling question

Discussion in 'Electronic Design' started by HiTek, Aug 30, 2007.

Scroll to continue with content
  1. HiTek

    HiTek Guest

    Can someone check my logic on this? It sounds simple but I'd appreciate
    someone confirming what I'm trying to do.

    I have CD-quality streaming audio digitized at 44.1 ksamples per second,
    16-bit samples.

    I also have an approx 10 msec duration recorded segment of the same audio,
    in the same digital format as above.

    I'm shifting the digitized streaming audio in real time into a comparator
    and looking for a data match between my sample and the streaming audio.

    Question: What is the maximum theoretical time lag before a match can be
    detected, ignoring quantization noise and processing time? Is it one-half
    the sample period or some other value?

    Thanks for your help.
     
  2. Phil Allison

    Phil Allison Guest

    "HiTek"

    ** This TROLL posted the same silly Q a couple of weeks ago.



    ....... Phil
     
  3. Bob

    Bob Guest

    6.4

    Bob
     
  4. Guest

    But 42 is not made up. It's the answer to life, the universe and
    everything... which should just about cover the question above ;-)
     
  5. Yeah, but considering how long it took to work it out, the calculation
    equipment was obviously inferior, and thus prone to errors.

    My calculations took about two seconds (yeah I know, it's slow, but I have
    the flu and not thinking clearly), and due to the promptly calculated speed,
    it *has* to be right.

    And no, I'm not making that up.




    Naw, of course I'm fibbing again.
     
  6. John Fields

    John Fields Guest

     
  7. What do you mean by "match"?
     
  8. Guy Macon

    Guy Macon Guest

    42 *was* the answer to life, the universe and everything.

    When the race of pan-dimensional, hyper-intelligent beings
    (also known as "sci.electronics.design regulars") constructed
    the second greatest computer in all of time and space [Deep
    Thought], the computer took seven and a half million years to
    calculate the Ultimate Answer to the Great Question of Life,
    the Universe, and Everything. The answer: "forty-two."

    It is a common misconception that The Ultimate Answer to
    the Great Question of Life, the Universe, and Everything
    is a constant, and that The Answer is still 42. My own
    research, conducted at the University of Southern North
    Dakota at Hoople, shows that The Answer is a variable,
    not a constant, and changes value (mechanism: quantum
    random fluctuations) every 0.31337 yoctoseconds. It will
    take another seven and a half million years to find out
    what The Answer is now, at which point The Answer will
    have changed roughly 69,176,994,400,250 times.

    As for HiTek's original question. that was answered the
    last time he asked. To calculate that answer, all he has
    to do is to take any 11-digit prime number, multiply it
    by the square root of -1, then divide by zero. Use of a
    Commodore brand calculator is highly recommended for doing
    this calculation.

    I hope this helps.
     
  9. Rich Grise

    Rich Grise Guest

    If your snippet has a time stamp, and you're attempting to match it to
    a time stamp on the stream, then you'll have to either put the whole thing
    in a huge array and do a binary search on time-stamps, or you'll just have
    to go through the whole stream until you see a match You can do this at
    any speed you want to, BTW.

    So, 1. ;-)
    You Betcha! ;-)
    Rich
     

  10. Too late, he's already 4ked.


    --
    Service to my country? Been there, Done that, and I've got my DD214 to
    prove it.
    Member of DAV #85.

    Michael A. Terrell
    Central Florida
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-