groakat / AudioTagger

5 stars 2 forks source link

Reverts to spectrogram size settings based on last file read #64

Open macaodha opened 8 years ago

macaodha commented 8 years ago

There is no reason why one couldn't have different values of specNStepMod and specNWinMod. Currently if these are set to a different value they will revert to the size based on the last file that is read in.

See below for idea for quick hack:

################### WAV FILE LOAD  ######################
def resetView(self):
    # Put something here that resets the values specNStepMod and specNWinMod to their defaults.
    self.clearSceneRects()
    self.loadSceneRects()
    self.updateSpecLabel()