1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 07:25:53 +00:00
QB64-PE/internal/help/_SNDRATE.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

21 lines
576 B
Plaintext

The '''_SNDRATE''' function returns the sample rate frequency per second of the current computer's sound card.
{{PageSyntax}}
::''SampleRate'' = _SNDRATE
* The sample rate frequency per second value returned can be any [[INTEGER]] value. Often it is set at 22050.
* When used with [[_SNDRAW]] it can determine the time that a raw sound has been made. Example: t = t + 1 / _SNDRATE
* '''The sound card sample rate is determined by the sound card and it CANNOT be changed!'''
''See [[_SNDRAW]] example.''
''See also:''
* [[_SNDRAW]]
* [[_SNDRAWLEN]]
{{PageNavigation}}