getSampleRate.lua 357 B

123456789101112131415
  1. return {
  2. summary = 'Get the sample rate of the Sound.',
  3. description = [[
  4. Returns the number of samples per second in the Sound. This is usually a high number like
  5. 48000.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. {
  10. name = 'frequency',
  11. type = 'number',
  12. description = 'The number of samples per second in the Sound.'
  13. }
  14. }
  15. }