In the current state of the project, the exchange of the information between the model and the view is too clunky.
The view contains functionality dedicated to updating the visuals and gui stuff.
The model contains the audio data itself, and the computation of the fourier/wavelet transform functions. Obviously these are operations that have different numbers and types of arguments and return data.
Therefore, the way the view displays the depends on the operation being performed in the model. Need a clean way of letting the view know how many axes to plot and swap between an fft or a cwt.
Right now, the fft configuration only needs to know how big the fft result is. I think in order to accommodate the cwt we shape pass the transform's result's shape (contains information of the size of each axes)
In the current state of the project, the exchange of the information between the model and the view is too clunky.
The view contains functionality dedicated to updating the visuals and gui stuff.
The model contains the audio data itself, and the computation of the fourier/wavelet transform functions. Obviously these are operations that have different numbers and types of arguments and return data.
Therefore, the way the view displays the depends on the operation being performed in the model. Need a clean way of letting the view know how many axes to plot and swap between an fft or a cwt.