def __init__(self, **params):
"""Create an AudioAnalyzer
All keyword arguments are gathered and stored in the instance's
self.params. Keyword arguments relate to STFT parameters,
"""
# List of loaded songs
self.songs = []
self.motifs = []
# Reference to and spectrogram of currently active song
self.active_song = None
self.Sxx = None
self.params = params
# Reference to the neural net used for processing
self.classifier = None
评论列表
文章目录