Part of aculab.speech View Source View In Hierarchy
Job to play silence.
This job isn't really useful, because it is generally better to just output nothing for silence. I wrote it while I was hunting for subtle switching noises.| Method | __init__ | Create a SilenceJob. |
| Method | done | Generic job interface method. |
| Method | get_data | PlayJobBase interface method. |
Inherited from PlayJobBase:
| Method | start | Generic job interface method. |
| Method | fill_play_buffer | Reactor callback - fills the play buffers on the board. |
| Method | stop | Generic job interface method. |
| Parameters | channel | The SpeechChannel that
will play silence.
|
| duration | The length of the silence in seconds. |