Play back a single channel from a.
More...
|
| __init__ (self, fn1, channel=0, video=False, verbose=True) |
| Initialize a Playback class for playing back audio.
|
|
| T (self) |
| Returns the lenght of the measurement in seconds.
|
|
| start (self) |
| Start the playback.
|
|
| audio_callback (self, outdata, frames, time, status) |
|
| video_thread_fcn (self) |
|
Play back a single channel from a.
Definition at line 15 of file lasp_playback.py.
◆ __init__()
lasp.lasp_playback.Playback.__init__ |
( |
|
self, |
|
|
|
fn1, |
|
|
|
channel = 0 , |
|
|
|
video = False , |
|
|
|
verbose = True |
|
) |
| |
Initialize a Playback class for playing back audio.
Args: fn1: Filename of the measurement file channel: channel index to play back video: if True and video is available in the measurement file, video will also be shown verbose: print out status messages to stdout
Definition at line 20 of file lasp_playback.py.
◆ audio_callback()
lasp.lasp_playback.Playback.audio_callback |
( |
|
self, |
|
|
|
outdata, |
|
|
|
frames, |
|
|
|
time, |
|
|
|
status |
|
) |
| |
◆ start()
lasp.lasp_playback.Playback.start |
( |
|
self | ) |
|
◆ T()
lasp.lasp_playback.Playback.T |
( |
|
self | ) |
|
Returns the lenght of the measurement in seconds.
Definition at line 69 of file lasp_playback.py.
◆ video_thread_fcn()
lasp.lasp_playback.Playback.video_thread_fcn |
( |
|
self | ) |
|
◆ _ad
lasp.lasp_playback.Playback._ad |
|
protected |
◆ _aframectr
lasp.lasp_playback.Playback._aframectr |
|
protected |
◆ _fn
lasp.lasp_playback.Playback._fn |
|
protected |
◆ _running
lasp.lasp_playback.Playback._running |
|
protected |
◆ _running_cond
lasp.lasp_playback.Playback._running_cond |
|
protected |
◆ _vd
lasp.lasp_playback.Playback._vd |
|
protected |
◆ _video
lasp.lasp_playback.Playback._video |
|
protected |
◆ _video_frame_positions
lasp.lasp_playback.Playback._video_frame_positions |
|
protected |
◆ _video_queue
lasp.lasp_playback.Playback._video_queue |
|
protected |
◆ blocksize
lasp.lasp_playback.Playback.blocksize |
◆ channel
lasp.lasp_playback.Playback.channel |
◆ nblocks
lasp.lasp_playback.Playback.nblocks |
◆ nchannels
lasp.lasp_playback.Playback.nchannels |
◆ samplerate
lasp.lasp_playback.Playback.samplerate |
The documentation for this class was generated from the following file: