⚠ This website is the beta version of the PCIbex documentation and is still under development. ⚠
Link Search Menu Expand Document

audio.disable

syntax

.disable()

description

Disables the audio player interface controls.

optional parameters

  • .disable(OPACITY)

    Prints a grey rectangular layer of specified opacity onto the audio player interface.


example


@// Option 1:
@newAudio("sentence", "test.mp3")
@    .print()
@    .play()
@    .wait()
$    .disable()
@
@// Option 2:
@newAudio("sentence", "test.mp3")
@    .print()
$    .disable()
@    .play()
@    .wait()

↳ Option 1: lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

↳ Option 2: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

https://www.pcibex.net/wiki/audio-settings-disable/