Solved: Sample Calculation Help Needed

Discussion in 'Working with Sound' started by tommyzai, Nov 7, 2024 at 12:44 AM.

  1. tommyzai

    tommyzai Platinum Record

    Joined:
    Feb 7, 2012
    Messages:
    783
    Likes Received:
    211
    How many msec is 170 samples at 96k?

    Thanks. I can't remember how to calculate this.
     
  2.  
  3. Radio

    Radio Platinum Record

    Joined:
    Sep 20, 2024
    Messages:
    573
    Likes Received:
    289
    • Disagree Disagree x 2
    • Like Like x 1
    • List
  4. tommyzai

    tommyzai Platinum Record

    Joined:
    Feb 7, 2012
    Messages:
    783
    Likes Received:
    211
    Thanks so much!!!
     
  5. No Avenger

    No Avenger Audiosexual

    Joined:
    Jul 19, 2017
    Messages:
    9,103
    Likes Received:
    6,354
    Location:
    Europe
    :rofl: This is wrong by a factor of 1000! It's 1,77083ms. Try yourself and enter 96000 samples for 96kHz SR, should be 1000ms, right?

    Don't copy and paste everything you find in the interwebs, my friend. :guru:
     
    • Agree Agree x 1
    • Funny Funny x 1
    • List
  6. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    7,345
    Likes Received:
    3,239
    The calculator used should be labelled Hertz, because that is how it is doing that math.

    how many milliseconds is 170 samples at 96KHZ
    ChatGPT said:

    To convert samples to milliseconds, use the following formula:

    Milliseconds=SamplesSample Rate×1000\text{Milliseconds} = \frac{\text{Samples}}{\text{Sample Rate}} \times 1000Milliseconds=Sample RateSamples×1000
    For 170 samples at a 96 kHz sample rate:

    Milliseconds=17096000×1000\text{Milliseconds} = \frac{170}{96000} \times 1000Milliseconds=96000170×1000
    Calculating this:

    Milliseconds=1.7708 ms (approximately)\text{Milliseconds} = 1.7708 \, \text{ms (approximately)}Milliseconds=1.7708ms (approximately)
    So, 170 samples at 96 kHz is roughly 1.77 milliseconds.
     
    Last edited: Nov 7, 2024 at 4:35 AM
  7. Myfanwy

    Myfanwy Platinum Record

    Joined:
    Sep 16, 2020
    Messages:
    375
    Likes Received:
    176
    Wow, that's elementary school math. But needing an online calculator for this, copying and pasting a screenshot and rewriting the obviously wrong solution is just ridiculous. :rofl:
     
  8. Aaeaae

    Aaeaae Newbie

    Joined:
    Oct 28, 2024
    Messages:
    2
    Likes Received:
    0
    It's 1,77083ms.
    (1/96000)*170*1000
     
  9. Myfanwy

    Myfanwy Platinum Record

    Joined:
    Sep 16, 2020
    Messages:
    375
    Likes Received:
    176
    Or simply break it down to 170/96.
    96000 samples/sec -> 96 samples/msec
     
  10. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    7,345
    Likes Received:
    3,239
    Milliseconds=1.7708 ms. but in Europe, being typed as Milliseconds=1,7708 ms

    The "funny" thing is he is probably trying to add this as a latency offset, and Logic would just have you add it as 309 samples anyway.
     
Loading...
Similar Threads - Solved Sample Calculation Forum Date
How to Check Bit Depth of Samples in Kontakt? [solved] Kontakt Mar 28, 2024
Sample editing and timestretching [solved] Maschine Jun 23, 2023
Need Help Importing Sample Into Vital [solved] Samplers, Synthesizers Mar 20, 2023
Arturia Mellotron V sample location? [solved] Samplers, Synthesizers Sep 7, 2022
Prodigy No Good (start the dance) "snare" sample [solved] how to make "that" sound Feb 11, 2022
Loading...