.play Method
|
Function: |
Loads new beeper pattern to play. |
|
Syntax: |
beep.play(byref pattern as string, patint as pl_beep_int) |
|
Returns: |
--- |
|
See Also: |
|
Parameter |
Description |
|
pattern |
Pattern string, can include the following characters:
|
|
patint |
Defines whether the beep.play method is allowed to interrupt another pattern that is already playing: 0 — PL_BEEP_NOINT: cannot interrupt 1 — PL_BEEP_CANINT: can interrupt) |
Details
Maximum pattern length is 16 "steps." The on_beep event is generated once the pattern finishes playing (looped patterns never finish playing).