Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Operating with sample rate  (Read 2622 times)

0 Members and 1 Guest are viewing this topic.

smith199910

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Operating with sample rate
« on: January 05, 2017, 06:04:12 pm »
I am taking half second samples of audio.
I would like to collect a large amount of audio data in that time
What timing is setSampleRate() in?
What sample rate would you suggest?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Operating with sample rate
« Reply #1 on: January 05, 2017, 07:10:54 pm »
Typical sampling rate values are 44100 (used for CD) 48000 or 96000.
44.1k will work nicely.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/