uwacan.recordings.AudioFileRoller#
- class AudioFileRoller(obj, duration=None, step=None, overlap=0)[source]#
Bases:
TimeDataRollerRolling windows of time data.
- Parameters:
- objAudioFileRecording
The audio file wrapper to roll over.
- durationfloat
The duration of each frame, in seconds.
- stepfloat
The step between consecutive frames, in seconds.
- overlapfloat
The overlap between consecutive frames, as a fraction of the duration.
Methods
numpy_frames([io_blocksize])Generate numpy frames with data.
Generate rolling frames of the contained data, as
TimeData.Inherited methods
Attributes
coordsThe coords of the output frames.
dimsThe dimensions of the output frames.
num_framesThe number of frames in this rolling output.
shapeThe shape of the output frames.