Encapsulates ENLIGHTEN's limited audio capabilities.
More...
|
| str | PATH = "enlighten/assets/example_data/sounds" |
| |
Encapsulates ENLIGHTEN's limited audio capabilities.
- Note
- At this time, we only support sound on Windows
- Todo
- Allow user sound overrides in EnlightenSpectra/sounds (basename = event)
◆ __init__()
| enlighten.ui.Sounds.Sounds.__init__ |
( |
| self, |
|
|
| ctl ) |
◆ clear()
| enlighten.ui.Sounds.Sounds.clear |
( |
| self | ) |
|
◆ enable_callback()
| enlighten.ui.Sounds.Sounds.enable_callback |
( |
| self | ) |
|
◆ get()
| enlighten.ui.Sounds.Sounds.get |
( |
| self, |
|
|
| name ) |
◆ is_enabled()
| enlighten.ui.Sounds.Sounds.is_enabled |
( |
| self | ) |
|
◆ play()
| enlighten.ui.Sounds.Sounds.play |
( |
| self, |
|
|
| name, |
|
|
| repeat = True ) |
◆ reset_repeat()
| enlighten.ui.Sounds.Sounds.reset_repeat |
( |
| self | ) |
|
◆ stop()
| enlighten.ui.Sounds.Sounds.stop |
( |
| self | ) |
|
◆ cb_enable
| enlighten.ui.Sounds.Sounds.cb_enable = cfu.checkBox_sound_enable |
◆ ctl
| enlighten.ui.Sounds.Sounds.ctl = ctl |
◆ enable_callback
| enlighten.ui.Sounds.Sounds.enable_callback = Sound(pathname, parent=self) |
◆ enabled
| enlighten.ui.Sounds.Sounds.enabled = False |
◆ last_sound_name
| enlighten.ui.Sounds.Sounds.last_sound_name = None |
◆ min_interval_sec
| int enlighten.ui.Sounds.Sounds.min_interval_sec = 3 |
◆ PATH
| enlighten.ui.Sounds.Sounds.PATH = "enlighten/assets/example_data/sounds" |
|
static |
◆ sounds
| dict enlighten.ui.Sounds.Sounds.sounds |
The documentation for this class was generated from the following file: