A Conversation for How Long is a Tick?

The real duration of a tick

Post 1

dysprosia

QBASIC Sound command help:
SOUND frequency, duration
-frequency The frequency of the sound in hertz; a value in the range 37 through 32,767.
-duration The number of system clock ticks the sound lasts; a value in the range 0 through 65,535. There are 18.2 clock ticks per second.
Its irksome that Visual Basic doesn't give you this really useful command. Oh well; there you are: 18.2 clock ticks = 1 second, so 1 tick lasts 1/(18.2) seconds. smiley - smiley


Key: Complain about this post

The real duration of a tick

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more