crowsetta.formats.seq.birdsongrec.BirdsongRecSequence#

class crowsetta.formats.seq.birdsongrec.BirdsongRecSequence(wav_file: str | bytes | PathLike | Path, position: int, length: int, syl_list: list[BirdsongRecSyllable])[source]#

Bases: object

Class from birdsong-recognition that represents a sequence of syllables.

wav_file#

file name of .wav file in which sequence occurs

Type:

string

position#

starting sample number within .wav file

Type:

int

length#

duration given as number of samples

Type:

int

syls#

list of syllable objects that make up sequence

Type:

list

seq_spect#
Type:

spectrogram object

__init__(wav_file: str | bytes | PathLike | Path, position: int, length: int, syl_list: list[BirdsongRecSyllable])[source]#

Methods

__init__(wav_file, position, length, syl_list)