Skip to content
Andrew Owen edited this page May 25, 2023 · 1 revision

SOUND


SOUND frequency, duration

Produces a sound at frequency Hz for duration/18.2 seconds.

Parameters

frequency is a numeric expression in [-60 to 70].

Errors

  • Any argument has a string value: Type mismatch.
  • frequency is not in its allowed range, and duration is not zero: Illegal function call.
  • duration is zero and more than two arguments are specified: Syntax error.
  • frequency is not in [-60 to 70]: Overflow.
  • duration is not in [0 to 10]: Illegal function call.

Welcome to the SE BASIC wiki


  • Press RETURN to return to this menu.
  • Enter the name of a TOPIC to display it.
  • Enter EXIT to return to BASIC.

Choose from the following topics:

  1. Quick start guide: QUICK
  2. User's guide: USER
  3. Configuration guide: CONFIG
  4. Language guide: LANGUAGE
  5. Language reference: BASIC
  6. Technical reference: TECH
  7. Developer's guide: DEV
  8. Acknowledgemets: CREDITS
  9. Licenses: LICENSE
Clone this wiki locally